{ "last_node_id": 126, "last_link_id": 224, "nodes": [ { "id": 17, "type": "PreviewImage", "pos": [ -944, -11 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 187 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 18, "type": "MaskToImage", "pos": [ -670, -60 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 198 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 15 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "MaskToImage" } }, { "id": 11, "type": "PreviewImage", "pos": [ -943, 300 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 189 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 12, "type": "MaskToImage", "pos": [ -680, 320 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 199 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 10 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "MaskToImage" } }, { "id": 19, "type": "PreviewImage", "pos": [ -680, 20 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 27, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 15 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 13, "type": "PreviewImage", "pos": [ -680, 400 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 28, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 10 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 36, "type": "PreviewImage", "pos": [ 2030, -300 ], "size": { "0": 528.0375366210938, "1": 691.0252075195312 }, "flags": {}, "order": 55, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 40 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 39, "type": "ControlNetLoader", "pos": [ 1270, -382 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "CONTROL_NET", "type": "CONTROL_NET", "links": [ 45 ], "shape": 3 } ], "properties": { "Node name for S&R": "ControlNetLoader" }, "widgets_values": [ "control_v11p_sd15_openpose_fp16.safetensors" ] }, { "id": 40, "type": "DWPreprocessor", "pos": [ 1265, -619 ], "size": { "0": 315, "1": 198 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 46 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 47, 48 ], "shape": 3, "slot_index": 0 }, { "name": "POSE_KEYPOINT", "type": "POSE_KEYPOINT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "DWPreprocessor" }, "widgets_values": [ "enable", "enable", "enable", 512, "yolox_l.onnx", "dw-ll_ucoco_384_bs5.torchscript.pt" ] }, { "id": 29, "type": "CLIPTextEncode", "pos": [ 843, -120 ], "size": { "0": 375.5158386230469, "1": 95.98768615722656 }, "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 29 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 50 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(worst quality,low quality,normal quality:1.2),nsfw, nude, mature, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime," ] }, { "id": 41, "type": "PreviewImage", "pos": [ 1271, -958 ], "size": { "0": 283.0140075683594, "1": 275.0412902832031 }, "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 48 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 45, "type": "KSampler", "pos": [ 1674, 457 ], "size": { "0": 315, "1": 262 }, "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 63 }, { "name": "positive", "type": "CONDITIONING", "link": 60 }, { "name": "negative", "type": "CONDITIONING", "link": 61 }, { "name": "latent_image", "type": "LATENT", "link": 62 }, { "name": "seed", "type": "INT", "link": 224, "widget": { "name": "seed" } } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 64 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 766690084813611, "randomize", 30, 8, "euler_ancestral", "normal", 1 ] }, { "id": 47, "type": "PreviewImage", "pos": [ 2039, 459 ], "size": { "0": 525.8964233398438, "1": 773.8110961914062 }, "flags": {}, "order": 30, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 65 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 46, "type": "VAEDecode", "pos": [ 1719, 781 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 26, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 64 }, { "name": "vae", "type": "VAE", "link": 68 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 65, 69 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 52, "type": "PreviewImage", "pos": [ 2007, 1292 ], "size": { "0": 570.6106567382812, "1": 772.591552734375 }, "flags": {}, "order": 45, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 74 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 54, "type": "UpscaleModelLoader", "pos": [ 2638, -411 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "links": [ 75 ], "shape": 3 } ], "properties": { "Node name for S&R": "UpscaleModelLoader" }, "widgets_values": [ "4x-UltraSharp.pth" ] }, { "id": 35, "type": "VAEDecode", "pos": [ 1720, 30 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 54, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 39 }, { "name": "vae", "type": "VAE", "link": 41 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 40, 76 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 53, "type": "ImageUpscaleWithModel", "pos": [ 2666, -297 ], "size": { "0": 241.79998779296875, "1": 46 }, "flags": {}, "order": 56, "mode": 0, "inputs": [ { "name": "upscale_model", "type": "UPSCALE_MODEL", "link": 75, "slot_index": 0 }, { "name": "image", "type": "IMAGE", "link": 76 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 78 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageUpscaleWithModel" } }, { "id": 32, "type": "VAEEncode", "pos": [ 921, 66 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 37 }, { "name": "vae", "type": "VAE", "link": 35 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 43, 62 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncode" } }, { "id": 55, "type": "ImageScaleBy", "pos": [ 2643, -204 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 57, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 78 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 125 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageScaleBy" }, "widgets_values": [ "bilinear", 0.5 ] }, { "id": 33, "type": "ConstrainImage|pysssss", "pos": [ 383, 765 ], "size": { "0": 315, "1": 154 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 36 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 37, 70 ], "shape": 6, "slot_index": 0 } ], "properties": { "Node name for S&R": "ConstrainImage|pysssss" }, "widgets_values": [ 768, 768, 0, 0, "no" ] }, { "id": 82, "type": "ConstrainImage|pysssss", "pos": [ 380, 967 ], "size": { "0": 315, "1": 154 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 127 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 128 ], "shape": 6, "slot_index": 0 } ], "properties": { "Node name for S&R": "ConstrainImage|pysssss" }, "widgets_values": [ 1536, 1536, 0, 0, "no" ] }, { "id": 83, "type": "VAEEncode", "pos": [ 831, 970 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 128 }, { "name": "vae", "type": "VAE", "link": 135 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 130 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncode" } }, { "id": 80, "type": "VAEEncode", "pos": [ 2686, -73 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 58, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 125 }, { "name": "vae", "type": "VAE", "link": 136 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 131 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncode" } }, { "id": 38, "type": "ControlNetApplyAdvanced", "pos": [ 1278, -275 ], "size": { "0": 315, "1": 166 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 49 }, { "name": "negative", "type": "CONDITIONING", "link": 50 }, { "name": "control_net", "type": "CONTROL_NET", "link": 45, "slot_index": 2 }, { "name": "image", "type": "IMAGE", "link": 47 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 53, 60, 142, 172 ], "shape": 3, "slot_index": 0 }, { "name": "negative", "type": "CONDITIONING", "links": [ 54, 61, 143, 173 ], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "ControlNetApplyAdvanced" }, "widgets_values": [ 1, 0, 1 ] }, { "id": 84, "type": "VAEDecode", "pos": [ 3097, 189 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 62, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 149 }, { "name": "vae", "type": "VAE", "link": 137 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 134 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 22, "type": "PreviewImage", "pos": [ -984, 708 ], "size": { "0": 294.2669982910156, "1": 408.52984619140625 }, "flags": {}, "order": 51, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 21 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 98, "type": "MaskToImage", "pos": [ -514, 1353 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 41, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 160 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 158 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "MaskToImage" } }, { "id": 99, "type": "MaskToImage", "pos": [ -520, 1533 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 42, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 161 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 159 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "MaskToImage" } }, { "id": 101, "type": "PreviewImage", "pos": [ -506, 1399 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 48, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 158 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 104, "type": "MaskToImage", "pos": [ 211.0442944335939, 1564.2931176757813 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 50, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 167 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 166 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "MaskToImage" } }, { "id": 105, "type": "PreviewImage", "pos": [ 130, 1650 ], "size": { "0": 338.904296875, "1": 430.0232238769531 }, "flags": {}, "order": 53, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 166 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 85, "type": "SaveImage", "pos": [ 3387, -345 ], "size": { "0": 590.9879760742188, "1": 754.3121948242188 }, "flags": {}, "order": 64, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 134 } ], "properties": {}, "widgets_values": [ "ComfyUI" ] }, { "id": 88, "type": "SetLatentNoiseMask", "pos": [ 2676, 359 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 60, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 145 }, { "name": "mask", "type": "MASK", "link": 147 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 146 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "SetLatentNoiseMask" } }, { "id": 109, "type": "VAEDecode", "pos": [ 3053, 861 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 66, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 168 }, { "name": "vae", "type": "VAE", "link": 169 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 170 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 112, "type": "SetLatentNoiseMask", "pos": [ 2724, 729 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 63, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 178 }, { "name": "mask", "type": "MASK", "link": 177 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 174 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "SetLatentNoiseMask" } }, { "id": 103, "type": "MaskComposite", "pos": [ 143, 1400 ], "size": { "0": 315, "1": 126 }, "flags": {}, "order": 43, "mode": 0, "inputs": [ { "name": "destination", "type": "MASK", "link": 164 }, { "name": "source", "type": "MASK", "link": 165 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 167, 177 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "MaskComposite" }, "widgets_values": [ 0, 0, "subtract" ] }, { "id": 26, "type": "CheckpointLoaderSimple", "pos": [ 356, -250 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 32, 63, 144, 171 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 28, 29 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "picxReal_10.safetensors" ] }, { "id": 27, "type": "VAELoader", "pos": [ 353, -102 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 35, 41, 68, 135, 136, 137, 169 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "vae-ft-mse-840000-ema-pruned.safetensors" ] }, { "id": 81, "type": "LatentCompositeMasked", "pos": [ 2626, 40 ], "size": { "0": 315, "1": 146 }, "flags": {}, "order": 59, "mode": 0, "inputs": [ { "name": "destination", "type": "LATENT", "link": 131 }, { "name": "source", "type": "LATENT", "link": 130 }, { "name": "mask", "type": "MASK", "link": 138 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 145 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "LatentCompositeMasked" }, "widgets_values": [ 0, 0, false ] }, { "id": 37, "type": "SetLatentNoiseMask", "pos": [ 917, 157 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 47, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 43 }, { "name": "mask", "type": "MASK", "link": 59 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 44 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "SetLatentNoiseMask" } }, { "id": 21, "type": "MaskToImage", "pos": [ -180, 1260 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 46, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 58 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 21 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "MaskToImage" } }, { "id": 44, "type": "GrowMask", "pos": [ -220, 1130 ], "size": { "0": 274.341796875, "1": 82 }, "flags": {}, "order": 40, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 57 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 58, 59, 147 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "GrowMask" }, "widgets_values": [ 0, true ] }, { "id": 86, "type": "GrowMask", "pos": [ 2627, 232 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 38, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 184 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 138 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "GrowMask" }, "widgets_values": [ -10, true ] }, { "id": 87, "type": "KSampler", "pos": [ 3034, -145 ], "size": { "0": 315, "1": 262 }, "flags": {}, "order": 61, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 144 }, { "name": "positive", "type": "CONDITIONING", "link": 142 }, { "name": "negative", "type": "CONDITIONING", "link": 143 }, { "name": "latent_image", "type": "LATENT", "link": 146 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 149, 178 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 221984152239811, "fixed", 10, 8, "dpmpp_2m", "karras", 0.4 ] }, { "id": 28, "type": "CLIPTextEncode", "pos": [ 845, -286 ], "size": { "0": 363.5810852050781, "1": 98.68537902832031 }, "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 28 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 49 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "masterpiece, best quality,8k uhd, realistic, photorealistic, RAW,\ngirl, the scene of a beautiful mermaid swimming in the deep sea,long flowing silver hair,gorgeous fishtail skirt,the skirt is inlaid with shining pearls and gems,noble and mysterious,the skin is white,the surrounding bubbles and water waves add to the motion and depth of the picture,the peace and mystery in the deep sea,beautiful and romantic,full of imagination and artistic appeal,fantasism,fantasy style,masterpieces,pastel colors,deep sea scenes,movie lighting,high contrast,unimaginable beauty," ] }, { "id": 115, "type": "CLIPSeg", "pos": [ -60, 90 ], "size": { "0": 315, "1": 170 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 193 } ], "outputs": [ { "name": "Mask", "type": "MASK", "links": [ 196 ], "shape": 3, "slot_index": 0 }, { "name": "Heatmap Mask", "type": "IMAGE", "links": [ 189 ], "shape": 3, "slot_index": 1 }, { "name": "BW Mask", "type": "IMAGE", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CLIPSeg" }, "widgets_values": [ "hair", 7, 0.4, 4 ] }, { "id": 51, "type": "PreviewImage", "pos": [ -619, 789 ], "size": { "0": 321.4668273925781, "1": 471.8373107910156 }, "flags": {}, "order": 44, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 73 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 49, "type": "ImageCompositeMasked", "pos": [ 1675, 904 ], "size": { "0": 315, "1": 146 }, "flags": {}, "order": 39, "mode": 0, "inputs": [ { "name": "destination", "type": "IMAGE", "link": 69 }, { "name": "source", "type": "IMAGE", "link": 70 }, { "name": "mask", "type": "MASK", "link": 185 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 74 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageCompositeMasked" }, "widgets_values": [ 0, 0, false ] }, { "id": 122, "type": "GrowMask", "pos": [ -408, 394 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 212 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 213 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "GrowMask" }, "widgets_values": [ 10, true ] }, { "id": 110, "type": "SaveImage", "pos": [ 3407, 506 ], "size": { "0": 590.9879760742188, "1": 754.3121948242188 }, "flags": {}, "order": 67, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 170 } ], "properties": {}, "widgets_values": [ "ComfyUI" ] }, { "id": 30, "type": "KSampler", "pos": [ 1650, -290 ], "size": { "0": 315, "1": 262 }, "flags": {}, "order": 52, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 32 }, { "name": "positive", "type": "CONDITIONING", "link": 53 }, { "name": "negative", "type": "CONDITIONING", "link": 54 }, { "name": "latent_image", "type": "LATENT", "link": 44 }, { "name": "seed", "type": "INT", "link": 223, "widget": { "name": "seed" } } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 39 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 609183411996203, "randomize", 30, 8, "euler_ancestral", "normal", 0.8 ] }, { "id": 111, "type": "KSampler", "pos": [ 3020, 531 ], "size": { "0": 315, "1": 262 }, "flags": {}, "order": 65, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 171 }, { "name": "positive", "type": "CONDITIONING", "link": 172 }, { "name": "negative", "type": "CONDITIONING", "link": 173 }, { "name": "latent_image", "type": "LATENT", "link": 174 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 168 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 763717256236458, "fixed", 10, 8, "dpmpp_2m", "karras", 0.5 ] }, { "id": 25, "type": "InvertMask", "pos": [ -180, 1070 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 34, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 219 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 57 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "InvertMask" } }, { "id": 113, "type": "GrowMask", "pos": [ -230, 950 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 33, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 218 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 184, 185 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "GrowMask" }, "widgets_values": [ 0, true ] }, { "id": 124, "type": "GrowMask", "pos": [ -234, 688 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 31, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 216 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 217 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "GrowMask" }, "widgets_values": [ 20, true ] }, { "id": 20, "type": "MaskComposite", "pos": [ -230, 516 ], "size": { "0": 315, "1": 126 }, "flags": {}, "order": 29, "mode": 0, "inputs": [ { "name": "destination", "type": "MASK", "link": 213 }, { "name": "source", "type": "MASK", "link": 215 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 216 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "MaskComposite" }, "widgets_values": [ 0, 0, "add" ] }, { "id": 50, "type": "MaskToImage", "pos": [ -534, 722 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 37, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 222 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 73 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "MaskToImage" } }, { "id": 125, "type": "GrowMask", "pos": [ -238, 810 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 32, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 217 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 218, 219, 220, 221, 222 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "GrowMask" }, "widgets_values": [ -20, true ] }, { "id": 95, "type": "GrowMask", "pos": [ -230, 1343 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 35, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 220 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 160, 164 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "GrowMask" }, "widgets_values": [ 30, true ] }, { "id": 96, "type": "GrowMask", "pos": [ -238, 1486 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 36, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 221 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 161, 165 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "GrowMask" }, "widgets_values": [ -30, true ] }, { "id": 102, "type": "PreviewImage", "pos": [ -504, 1665 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 49, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 159 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 123, "type": "GrowMask", "pos": [ -62, 397 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 214 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 215 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "GrowMask" }, "widgets_values": [ 0, true ] }, { "id": 116, "type": "ToBinaryMask", "pos": [ -410, 290 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 194 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 198, 212 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ToBinaryMask" }, "widgets_values": [ 180 ] }, { "id": 117, "type": "ToBinaryMask", "pos": [ -59, 290 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 196 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 199, 214 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ToBinaryMask" }, "widgets_values": [ 180 ] }, { "id": 114, "type": "CLIPSeg", "pos": [ -420, 80 ], "size": { "0": 315, "1": 170 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 192 } ], "outputs": [ { "name": "Mask", "type": "MASK", "links": [ 194 ], "shape": 3, "slot_index": 0 }, { "name": "Heatmap Mask", "type": "IMAGE", "links": [ 187 ], "shape": 3, "slot_index": 1 }, { "name": "BW Mask", "type": "IMAGE", "links": [], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CLIPSeg" }, "widgets_values": [ "face,head", 7, 0.4, 4 ] }, { "id": 1, "type": "LoadImage", "pos": [ 313, 56 ], "size": { "0": 445.1999816894531, "1": 657.7000122070312 }, "flags": {}, "order": 4, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 36, 46, 127, 192, 193 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "ComfyUI_00995_ (8).png", "image" ] }, { "id": 126, "type": "CR Seed", "pos": [ 859, 260 ], "size": { "0": 315, "1": 102 }, "flags": {}, "order": 5, "mode": 0, "outputs": [ { "name": "seed", "type": "INT", "links": [ 223, 224 ], "shape": 3, "slot_index": 0 }, { "name": "show_help", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "CR Seed" }, "widgets_values": [ 22222, "fixed" ] } ], "links": [ [ 10, 12, 0, 13, 0, "IMAGE" ], [ 15, 18, 0, 19, 0, "IMAGE" ], [ 21, 21, 0, 22, 0, "IMAGE" ], [ 28, 26, 1, 28, 0, "CLIP" ], [ 29, 26, 1, 29, 0, "CLIP" ], [ 32, 26, 0, 30, 0, "MODEL" ], [ 35, 27, 0, 32, 1, "VAE" ], [ 36, 1, 0, 33, 0, "IMAGE" ], [ 37, 33, 0, 32, 0, "IMAGE" ], [ 39, 30, 0, 35, 0, "LATENT" ], [ 40, 35, 0, 36, 0, "IMAGE" ], [ 41, 27, 0, 35, 1, "VAE" ], [ 43, 32, 0, 37, 0, "LATENT" ], [ 44, 37, 0, 30, 3, "LATENT" ], [ 45, 39, 0, 38, 2, "CONTROL_NET" ], [ 46, 1, 0, 40, 0, "IMAGE" ], [ 47, 40, 0, 38, 3, "IMAGE" ], [ 48, 40, 0, 41, 0, "IMAGE" ], [ 49, 28, 0, 38, 0, "CONDITIONING" ], [ 50, 29, 0, 38, 1, "CONDITIONING" ], [ 53, 38, 0, 30, 1, "CONDITIONING" ], [ 54, 38, 1, 30, 2, "CONDITIONING" ], [ 57, 25, 0, 44, 0, "MASK" ], [ 58, 44, 0, 21, 0, "MASK" ], [ 59, 44, 0, 37, 1, "MASK" ], [ 60, 38, 0, 45, 1, "CONDITIONING" ], [ 61, 38, 1, 45, 2, "CONDITIONING" ], [ 62, 32, 0, 45, 3, "LATENT" ], [ 63, 26, 0, 45, 0, "MODEL" ], [ 64, 45, 0, 46, 0, "LATENT" ], [ 65, 46, 0, 47, 0, "IMAGE" ], [ 68, 27, 0, 46, 1, "VAE" ], [ 69, 46, 0, 49, 0, "IMAGE" ], [ 70, 33, 0, 49, 1, "IMAGE" ], [ 73, 50, 0, 51, 0, "IMAGE" ], [ 74, 49, 0, 52, 0, "IMAGE" ], [ 75, 54, 0, 53, 0, "UPSCALE_MODEL" ], [ 76, 35, 0, 53, 1, "IMAGE" ], [ 78, 53, 0, 55, 0, "IMAGE" ], [ 125, 55, 0, 80, 0, "IMAGE" ], [ 127, 1, 0, 82, 0, "IMAGE" ], [ 128, 82, 0, 83, 0, "IMAGE" ], [ 130, 83, 0, 81, 1, "LATENT" ], [ 131, 80, 0, 81, 0, "LATENT" ], [ 134, 84, 0, 85, 0, "IMAGE" ], [ 135, 27, 0, 83, 1, "VAE" ], [ 136, 27, 0, 80, 1, "VAE" ], [ 137, 27, 0, 84, 1, "VAE" ], [ 138, 86, 0, 81, 2, "MASK" ], [ 142, 38, 0, 87, 1, "CONDITIONING" ], [ 143, 38, 1, 87, 2, "CONDITIONING" ], [ 144, 26, 0, 87, 0, "MODEL" ], [ 145, 81, 0, 88, 0, "LATENT" ], [ 146, 88, 0, 87, 3, "LATENT" ], [ 147, 44, 0, 88, 1, "MASK" ], [ 149, 87, 0, 84, 0, "LATENT" ], [ 158, 98, 0, 101, 0, "IMAGE" ], [ 159, 99, 0, 102, 0, "IMAGE" ], [ 160, 95, 0, 98, 0, "MASK" ], [ 161, 96, 0, 99, 0, "MASK" ], [ 164, 95, 0, 103, 0, "MASK" ], [ 165, 96, 0, 103, 1, "MASK" ], [ 166, 104, 0, 105, 0, "IMAGE" ], [ 167, 103, 0, 104, 0, "MASK" ], [ 168, 111, 0, 109, 0, "LATENT" ], [ 169, 27, 0, 109, 1, "VAE" ], [ 170, 109, 0, 110, 0, "IMAGE" ], [ 171, 26, 0, 111, 0, "MODEL" ], [ 172, 38, 0, 111, 1, "CONDITIONING" ], [ 173, 38, 1, 111, 2, "CONDITIONING" ], [ 174, 112, 0, 111, 3, "LATENT" ], [ 177, 103, 0, 112, 1, "MASK" ], [ 178, 87, 0, 112, 0, "LATENT" ], [ 184, 113, 0, 86, 0, "MASK" ], [ 185, 113, 0, 49, 2, "MASK" ], [ 187, 114, 1, 17, 0, "IMAGE" ], [ 189, 115, 1, 11, 0, "IMAGE" ], [ 192, 1, 0, 114, 0, "IMAGE" ], [ 193, 1, 0, 115, 0, "IMAGE" ], [ 194, 114, 0, 116, 0, "MASK" ], [ 196, 115, 0, 117, 0, "MASK" ], [ 198, 116, 0, 18, 0, "MASK" ], [ 199, 117, 0, 12, 0, "MASK" ], [ 212, 116, 0, 122, 0, "MASK" ], [ 213, 122, 0, 20, 0, "MASK" ], [ 214, 117, 0, 123, 0, "MASK" ], [ 215, 123, 0, 20, 1, "MASK" ], [ 216, 20, 0, 124, 0, "MASK" ], [ 217, 124, 0, 125, 0, "MASK" ], [ 218, 125, 0, 113, 0, "MASK" ], [ 219, 125, 0, 25, 0, "MASK" ], [ 220, 125, 0, 95, 0, "MASK" ], [ 221, 125, 0, 96, 0, "MASK" ], [ 222, 125, 0, 50, 0, "MASK" ], [ 223, 126, 0, 30, 4, "INT" ], [ 224, 126, 0, 45, 4, "INT" ] ], "groups": [], "config": {}, "extra": {}, "version": 0.4 }