{ "last_node_id": 37, "last_link_id": 63, "nodes": [ { "id": 5, "type": "EmptyLatentImage", "pos": [ 473, 609 ], "size": { "0": 315, "1": 106 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 2 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 512, 512, 1 ] }, { "id": 10, "type": "PreviewImage", "pos": [ 1853, -36 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 10 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 3, "type": "KSampler", "pos": [ 863, 201 ], "size": { "0": 315, "1": 474 }, "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 1 }, { "name": "positive", "type": "CONDITIONING", "link": 4 }, { "name": "negative", "type": "CONDITIONING", "link": 6 }, { "name": "latent_image", "type": "LATENT", "link": 2 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 7 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 156680208700286, "fixed", 20, 8, "euler", "normal", 1 ] }, { "id": 16, "type": "PreviewImage", "pos": [ 3448, 65 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 23 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 8, "type": "VAEDecode", "pos": [ 1216, 180 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 7 }, { "name": "vae", "type": "VAE", "link": 8 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 10, 48 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 30, "type": "Integer", "pos": [ 659, 842 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 49, 50 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "Integer" }, "widgets_values": [ 5 ] }, { "id": 33, "type": "IntConditions", "pos": [ 1118, 883 ], "size": [ 315, 106 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "a", "type": "INT", "link": 50, "widget": { "name": "a", "config": [ "INT", { "default": 0, "min": -18446744073709552000, "max": 18446744073709552000, "step": 1 } ] } } ], "outputs": [ { "name": "BOOL", "type": "BOOL", "links": [ 51 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "IntConditions" }, "widgets_values": [ 0, 0, ">" ] }, { "id": 11, "type": "ImagePadForOutpaint", "pos": [ 1863, 328 ], "size": { "0": 315, "1": 174 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 52 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 15 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": [ 14 ], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "ImagePadForOutpaint" }, "widgets_values": [ 64, 64, 64, 64, 40 ] }, { "id": 12, "type": "VAEEncodeForInpaint", "pos": [ 2304, 280 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 15 }, { "name": "vae", "type": "VAE", "link": 13 }, { "name": "mask", "type": "MASK", "link": 14 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 19, 53 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncodeForInpaint" }, "widgets_values": [ 6 ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 410, 225 ], "size": { "0": 422.84503173828125, "1": 164.31304931640625 }, "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 3 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 4, 16, 54 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "photo of a bear" ] }, { "id": 7, "type": "CLIPTextEncode", "pos": [ 413, 389 ], "size": { "0": 425.27801513671875, "1": 180.6060791015625 }, "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 5 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 6, 17, 55 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "text, watermark, blurry" ] }, { "id": 31, "type": "WhileLoopOpen", "pos": [ 1443, 498 ], "size": [ 342.5999755859375, 158 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "initial_value0", "type": "*", "link": 48 }, { "name": "initial_value1", "type": "*", "link": 49 }, { "name": "initial_value2", "type": "*", "link": null }, { "name": "initial_value3", "type": "*", "link": null }, { "name": "initial_value4", "type": "*", "link": null }, { "name": "condition", "type": "BOOL", "link": 51, "widget": { "name": "condition", "config": [ "BOOL", { "default": true } ] } } ], "outputs": [ { "name": "FLOW_CONTROL", "type": "FLOW_CONTROL", "links": [ 61 ], "shape": 3, "slot_index": 0 }, { "name": "value0", "type": "*", "links": [ 52 ], "shape": 3, "slot_index": 1 }, { "name": "value1", "type": "*", "links": [ 57 ], "shape": 3, "slot_index": 2 }, { "name": "value2", "type": "*", "links": null, "shape": 3 }, { "name": "value3", "type": "*", "links": null, "shape": 3 }, { "name": "value4", "type": "*", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "WhileLoopOpen" }, "widgets_values": [ true ] }, { "id": 15, "type": "VAEDecode", "pos": [ 3052.5133666992188, 228.96038818359375 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 21 }, { "name": "vae", "type": "VAE", "link": 22 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 23, 62 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 34, "type": "WhileLoopClose", "pos": [ 3376.4339599609375, 652.850994873047 ], "size": [ 267, 366 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "flow_control", "type": "FLOW_CONTROL", "link": 61 }, { "name": "condition", "type": "BOOL", "link": 60 }, { "name": "initial_value0", "type": "*", "link": 62 }, { "name": "initial_value1", "type": "*", "link": 58 }, { "name": "initial_value2", "type": "*", "link": null }, { "name": "initial_value3", "type": "*", "link": null }, { "name": "initial_value4", "type": "*", "link": null } ], "outputs": [ { "name": "value0", "type": "*", "links": [ 63 ], "shape": 3, "slot_index": 0 }, { "name": "value1", "type": "*", "links": null, "shape": 3 }, { "name": "value2", "type": "*", "links": null, "shape": 3 }, { "name": "value3", "type": "*", "links": null, "shape": 3 }, { "name": "value4", "type": "*", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "WhileLoopClose" } }, { "id": 4, "type": "CheckpointLoaderSimple", "pos": [ 87, -33 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": null, "shape": 3 }, { "name": "CLIP", "type": "CLIP", "links": null, "shape": 3 }, { "name": "VAE", "type": "VAE", "links": null, "shape": 3 } ], "title": "txt2img Model", "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "v1-5-pruned-emaonly.ckpt" ] }, { "id": 13, "type": "CheckpointLoaderSimple", "pos": [ 888, -136 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 56 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": null, "shape": 3 }, { "name": "VAE", "type": "VAE", "links": null, "shape": 3 } ], "title": "Inpaint Model", "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd-v1-5-inpainting.ckpt" ] }, { "id": 37, "type": "PreviewImage", "pos": [ 3865, 595 ], "size": [ 794.0340820312504, 691.4509719848634 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 63 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 14, "type": "KSampler", "pos": [ 2691, 337 ], "size": [ 315, 474 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 56 }, { "name": "positive", "type": "CONDITIONING", "link": 54 }, { "name": "negative", "type": "CONDITIONING", "link": 55 }, { "name": "latent_image", "type": "LATENT", "link": 53 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 437742206380190, "fixed", 80, 8, "euler", "normal", 1 ] }, { "id": 35, "type": "IntMathOperation", "pos": [ 2199, 1217 ], "size": [ 315, 106 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "a", "type": "INT", "link": 57, "widget": { "name": "a", "config": [ "INT", { "default": 0, "min": -18446744073709552000, "max": 18446744073709552000, "step": 1 } ] } } ], "outputs": [ { "name": "INT", "type": "INT", "links": [ 58, 59 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "IntMathOperation" }, "widgets_values": [ 0, 1, "subtract" ] }, { "id": 36, "type": "IntConditions", "pos": [ 2548, 897 ], "size": [ 315, 106 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "a", "type": "INT", "link": 59, "widget": { "name": "a", "config": [ "INT", { "default": 0, "min": -18446744073709552000, "max": 18446744073709552000, "step": 1 } ] } } ], "outputs": [ { "name": "BOOL", "type": "BOOL", "links": [ 60 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "IntConditions" }, "widgets_values": [ 0, 0, ">" ] } ], "links": [ [ 1, 4, 0, 3, 0, "MODEL" ], [ 2, 5, 0, 3, 3, "LATENT" ], [ 3, 4, 1, 6, 0, "CLIP" ], [ 4, 6, 0, 3, 1, "CONDITIONING" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 6, 7, 0, 3, 2, "CONDITIONING" ], [ 7, 3, 0, 8, 0, "LATENT" ], [ 8, 4, 2, 8, 1, "VAE" ], [ 10, 8, 0, 10, 0, "IMAGE" ], [ 13, 13, 2, 12, 1, "VAE" ], [ 14, 11, 1, 12, 2, "MASK" ], [ 15, 11, 0, 12, 0, "IMAGE" ], [ 16, 6, 0, 14, 1, "CONDITIONING" ], [ 17, 7, 0, 14, 2, "CONDITIONING" ], [ 19, 12, 0, 14, 3, "LATENT" ], [ 20, 13, 0, 14, 0, "MODEL" ], [ 21, 14, 0, 15, 0, "LATENT" ], [ 22, 13, 2, 15, 1, "VAE" ], [ 23, 15, 0, 16, 0, "IMAGE" ], [ 30, 22, 0, 21, 1, "NUMBER" ], [ 37, 20, 0, 26, 0, "NUMBER" ], [ 39, 20, 0, 25, 1, "*" ], [ 48, 8, 0, 31, 0, "*" ], [ 49, 30, 0, 31, 1, "*" ], [ 50, 30, 0, 33, 0, "INT" ], [ 51, 33, 0, 31, 5, "BOOL" ], [ 52, 31, 1, 11, 0, "IMAGE" ], [ 53, 12, 0, 14, 3, "LATENT" ], [ 54, 6, 0, 14, 1, "CONDITIONING" ], [ 55, 7, 0, 14, 2, "CONDITIONING" ], [ 56, 13, 0, 14, 0, "MODEL" ], [ 57, 31, 2, 35, 0, "INT" ], [ 58, 35, 0, 34, 3, "*" ], [ 59, 35, 0, 36, 0, "INT" ], [ 60, 36, 0, 34, 1, "BOOL" ], [ 61, 31, 0, 34, 0, "FLOW_CONTROL" ], [ 62, 15, 0, 34, 2, "*" ], [ 63, 34, 0, 37, 0, "IMAGE" ] ], "groups": [], "config": {}, "extra": {}, "version": 0.4 }