{ "last_node_id": 40, "last_link_id": 68, "nodes": [ { "id": 10, "type": "LoadImage", "pos": [ -10, -200 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 10 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "2024-06-01_11-56-00_4266.png", "image" ] }, { "id": 12, "type": "PreviewImage", "pos": [ 49, -691 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 11 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 4, "type": "CheckpointLoaderSimple", "pos": [ -12, 201 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 18 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 3, 5 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "sd15\\realisticVisionV51_v51VAE.safetensors" ] }, { "id": 17, "type": "ConstrainImage|pysssss", "pos": [ 428, -301 ], "size": { "0": 315, "1": 154 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 24 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 25, 26, 28 ], "shape": 6, "slot_index": 0 } ], "properties": { "Node name for S&R": "ConstrainImage|pysssss" }, "widgets_values": [ 512, 1536, 0, 0, "no" ] }, { "id": 20, "type": "PreviewImage", "pos": [ 1660, -770 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 27 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 22, "type": "VAEEncode", "pos": [ 1319, -399 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 68 }, { "name": "vae", "type": "VAE", "link": 33 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 32 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncode" } }, { "id": 9, "type": "SaveImage", "pos": [ 1740, -285 ], "size": { "0": 333.9361267089844, "1": 496.3290710449219 }, "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 9 } ], "properties": { "Node name for S&R": "SaveImage" }, "widgets_values": [ "ComfyUI" ] }, { "id": 3, "type": "KSampler", "pos": [ 1320, -248 ], "size": { "0": 315, "1": 262 }, "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 19 }, { "name": "positive", "type": "CONDITIONING", "link": 14 }, { "name": "negative", "type": "CONDITIONING", "link": 15 }, { "name": "latent_image", "type": "LATENT", "link": 32 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 7 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 2222, "fixed", 25, 2, "dpmpp_2m_sde", "karras", 0.9 ] }, { "id": 8, "type": "VAEDecode", "pos": [ 1389, 62 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 7 }, { "name": "vae", "type": "VAE", "link": 22 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 9, 35 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 26, "type": "ImageUpscaleWithModel", "pos": [ 1170, 470 ], "size": { "0": 241.79998779296875, "1": 46 }, "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "upscale_model", "type": "UPSCALE_MODEL", "link": 34 }, { "name": "image", "type": "IMAGE", "link": 35 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 38 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageUpscaleWithModel" } }, { "id": 29, "type": "VAEEncode", "pos": [ 1160, 680 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 26, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 39 }, { "name": "vae", "type": "VAE", "link": 46 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 40 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncode" } }, { "id": 15, "type": "LoadAndApplyICLightUnet", "pos": [ 859, -251 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 18 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 19, 43 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "LoadAndApplyICLightUnet" }, "widgets_values": [ "iclight_sd15_fc.safetensors" ] }, { "id": 18, "type": "PreviewImage", "pos": [ 787, -556 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 26 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 14, "type": "VAEEncode", "pos": [ 493, -64 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 25 }, { "name": "vae", "type": "VAE", "link": 23 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 17 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncode" } }, { "id": 28, "type": "ImageScaleBy", "pos": [ 1130, 560 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 38 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 39, 48 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageScaleBy" }, "widgets_values": [ "nearest-exact", 0.5 ] }, { "id": 11, "type": "BRIAAI Matting", "pos": [ 2, -401 ], "size": { "0": 315, "1": 150 }, "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "video_frames", "type": "IMAGE", "link": 10 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 11, 24, 51 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "BRIAAI Matting" }, "widgets_values": [ "v1.4", true, "#7F7F7F", 4 ] }, { "id": 13, "type": "ICLightConditioning", "pos": [ 848, -142 ], "size": { "0": 342.5999755859375, "1": 138 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 12 }, { "name": "negative", "type": "CONDITIONING", "link": 13 }, { "name": "vae", "type": "VAE", "link": 21 }, { "name": "foreground", "type": "LATENT", "link": 17 }, { "name": "opt_background", "type": "LATENT", "link": null } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 14 ], "shape": 3, "slot_index": 0 }, { "name": "negative", "type": "CONDITIONING", "links": [ 15 ], "shape": 3, "slot_index": 1 }, { "name": "empty_latent", "type": "LATENT", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "ICLightConditioning" }, "widgets_values": [ 0.18215 ] }, { "id": 35, "type": "ICLightConditioning", "pos": [ 630, 820 ], "size": { "0": 342.5999755859375, "1": 138 }, "flags": {}, "order": 30, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 55 }, { "name": "negative", "type": "CONDITIONING", "link": 56 }, { "name": "vae", "type": "VAE", "link": 59 }, { "name": "foreground", "type": "LATENT", "link": 58 }, { "name": "opt_background", "type": "LATENT", "link": null } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 53 ], "shape": 3, "slot_index": 0 }, { "name": "negative", "type": "CONDITIONING", "links": [ 54 ], "shape": 3, "slot_index": 1 }, { "name": "empty_latent", "type": "LATENT", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "ICLightConditioning" }, "widgets_values": [ 0.18215 ] }, { "id": 33, "type": "ImageResize+", "pos": [ -80, 820 ], "size": { "0": 315, "1": 170 }, "flags": {}, "order": 28, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 51 }, { "name": "width", "type": "INT", "link": 49, "widget": { "name": "width" } }, { "name": "height", "type": "INT", "link": 50, "widget": { "name": "height" } } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 57 ], "shape": 3, "slot_index": 0 }, { "name": "width", "type": "INT", "links": null, "shape": 3 }, { "name": "height", "type": "INT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "ImageResize+" }, "widgets_values": [ 512, 512, "nearest", false ] }, { "id": 36, "type": "VAEEncode", "pos": [ 310, 880 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 29, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 57 }, { "name": "vae", "type": "VAE", "link": 60 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 58 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncode" } }, { "id": 16, "type": "VAELoader", "pos": [ -10, 354 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 21, 22, 23, 33, 46, 47, 59, 60 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "vae-ft-mse-840000-ema-pruned.safetensors" ] }, { "id": 24, "type": "KSampler", "pos": [ 1100, 780 ], "size": { "0": 315, "1": 262 }, "flags": {}, "order": 31, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 43 }, { "name": "positive", "type": "CONDITIONING", "link": 53 }, { "name": "negative", "type": "CONDITIONING", "link": 54 }, { "name": "latent_image", "type": "LATENT", "link": 40 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 41 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 2222, "fixed", 12, 2, "dpmpp_2m_sde", "karras", 0.5 ] }, { "id": 32, "type": "GetImageSize+", "pos": [ -60, 740 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 27, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 48 } ], "outputs": [ { "name": "width", "type": "INT", "links": [ 49 ], "shape": 3, "slot_index": 0 }, { "name": "height", "type": "INT", "links": [ 50 ], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "GetImageSize+" } }, { "id": 25, "type": "UpscaleModelLoader", "pos": [ 1130, 359 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "links": [ 34 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "UpscaleModelLoader" }, "widgets_values": [ "4x-UltraSharp.pth" ] }, { "id": 30, "type": "VAEDecode", "pos": [ 1450, 717 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 32, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 41 }, { "name": "vae", "type": "VAE", "link": 47 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 42 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 7, "type": "CLIPTextEncode", "pos": [ 403, 338 ], "size": { "0": 426.9596862792969, "1": 76 }, "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 5 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 13, 56 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "text, watermark" ] }, { "id": 31, "type": "SaveImage", "pos": [ 1733, 288 ], "size": { "0": 546.8215942382812, "1": 738.9105224609375 }, "flags": {}, "order": 33, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 42 } ], "properties": { "Node name for S&R": "SaveImage" }, "widgets_values": [ "ComfyUI" ] }, { "id": 38, "type": "MaskPreview+", "pos": [ 2163, -979 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 63 } ], "properties": { "Node name for S&R": "MaskPreview+" } }, { "id": 21, "type": "GetImageSize+", "pos": [ 459, -385 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 28 } ], "outputs": [ { "name": "width", "type": "INT", "links": [ 29, 64 ], "shape": 3, "slot_index": 0 }, { "name": "height", "type": "INT", "links": [ 30, 65 ], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "GetImageSize+" } }, { "id": 40, "type": "MaskToImage", "pos": [ 2039, -1086 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 66 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "MaskToImage" } }, { "id": 39, "type": "GrowMaskWithBlur", "pos": [ 1663, -1092 ], "size": { "0": 315, "1": 246 }, "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 62 } ], "outputs": [ { "name": "mask", "type": "MASK", "links": [ 63, 66 ], "shape": 3, "slot_index": 0 }, { "name": "mask_inverted", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "GrowMaskWithBlur" }, "widgets_values": [ 0, 0, true, false, 50, 1, 1, false ] }, { "id": 37, "type": "CreateShapeMask", "pos": [ 1296, -1098 ], "size": { "0": 315, "1": 270 }, "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "frame_width", "type": "INT", "link": 64, "widget": { "name": "frame_width" } }, { "name": "frame_height", "type": "INT", "link": 65, "widget": { "name": "frame_height" } } ], "outputs": [ { "name": "mask", "type": "MASK", "links": [ 62 ], "shape": 3, "slot_index": 0 }, { "name": "mask_inverted", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "CreateShapeMask" }, "widgets_values": [ "circle", 1, 162, 402, 0, 512, 512, 512, 512 ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 412, 173 ], "size": { "0": 420.5673828125, "1": 86.41622161865234 }, "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 3 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 12, 55 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "best quality, beautiful woman, neon light, city" ] }, { "id": 19, "type": "LightSource", "pos": [ 1300, -730 ], "size": { "0": 315, "1": 202 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "prev_image", "type": "IMAGE", "link": null }, { "name": "width", "type": "INT", "link": 29, "widget": { "name": "width" } }, { "name": "height", "type": "INT", "link": 30, "widget": { "name": "height" } } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 27, 68 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "LightSource" }, "widgets_values": [ "Top Light", 0.891, "#FFFFFF", "#000000", 512, 512, 1 ] } ], "links": [ [ 3, 4, 1, 6, 0, "CLIP" ], [ 5, 4, 1, 7, 0, "CLIP" ], [ 7, 3, 0, 8, 0, "LATENT" ], [ 9, 8, 0, 9, 0, "IMAGE" ], [ 10, 10, 0, 11, 0, "IMAGE" ], [ 11, 11, 0, 12, 0, "IMAGE" ], [ 12, 6, 0, 13, 0, "CONDITIONING" ], [ 13, 7, 0, 13, 1, "CONDITIONING" ], [ 14, 13, 0, 3, 1, "CONDITIONING" ], [ 15, 13, 1, 3, 2, "CONDITIONING" ], [ 17, 14, 0, 13, 3, "LATENT" ], [ 18, 4, 0, 15, 0, "MODEL" ], [ 19, 15, 0, 3, 0, "MODEL" ], [ 21, 16, 0, 13, 2, "VAE" ], [ 22, 16, 0, 8, 1, "VAE" ], [ 23, 16, 0, 14, 1, "VAE" ], [ 24, 11, 0, 17, 0, "IMAGE" ], [ 25, 17, 0, 14, 0, "IMAGE" ], [ 26, 17, 0, 18, 0, "IMAGE" ], [ 27, 19, 0, 20, 0, "IMAGE" ], [ 28, 17, 0, 21, 0, "IMAGE" ], [ 29, 21, 0, 19, 1, "INT" ], [ 30, 21, 1, 19, 2, "INT" ], [ 32, 22, 0, 3, 3, "LATENT" ], [ 33, 16, 0, 22, 1, "VAE" ], [ 34, 25, 0, 26, 0, "UPSCALE_MODEL" ], [ 35, 8, 0, 26, 1, "IMAGE" ], [ 38, 26, 0, 28, 0, "IMAGE" ], [ 39, 28, 0, 29, 0, "IMAGE" ], [ 40, 29, 0, 24, 3, "LATENT" ], [ 41, 24, 0, 30, 0, "LATENT" ], [ 42, 30, 0, 31, 0, "IMAGE" ], [ 43, 15, 0, 24, 0, "MODEL" ], [ 46, 16, 0, 29, 1, "VAE" ], [ 47, 16, 0, 30, 1, "VAE" ], [ 48, 28, 0, 32, 0, "IMAGE" ], [ 49, 32, 0, 33, 1, "INT" ], [ 50, 32, 1, 33, 2, "INT" ], [ 51, 11, 0, 33, 0, "IMAGE" ], [ 53, 35, 0, 24, 1, "CONDITIONING" ], [ 54, 35, 1, 24, 2, "CONDITIONING" ], [ 55, 6, 0, 35, 0, "CONDITIONING" ], [ 56, 7, 0, 35, 1, "CONDITIONING" ], [ 57, 33, 0, 36, 0, "IMAGE" ], [ 58, 36, 0, 35, 3, "LATENT" ], [ 59, 16, 0, 35, 2, "VAE" ], [ 60, 16, 0, 36, 1, "VAE" ], [ 62, 37, 0, 39, 0, "MASK" ], [ 63, 39, 0, 38, 0, "MASK" ], [ 64, 21, 0, 37, 0, "INT" ], [ 65, 21, 1, 37, 1, "INT" ], [ 66, 39, 0, 40, 0, "MASK" ], [ 68, 19, 0, 22, 0, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.6209213230591554, "offset": [ 407.79804287808656, 552.6477654465563 ] } }, "version": 0.4 }