{ "last_node_id": 88, "last_link_id": 184, "nodes": [ { "id": 3, "type": "EmptyLatentImage", "pos": [ 892, 994 ], "size": { "0": 210, "1": 110 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 120 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 512, 768, 1 ] }, { "id": 56, "type": "PreviewImage", "pos": [ 2589, -257 ], "size": { "0": 434.03253173828125, "1": 632.8707275390625 }, "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 116 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 57, "type": "PreviewImage", "pos": [ 2589, 435 ], "size": { "0": 470.4400634765625, "1": 645.5353393554688 }, "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 125 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 68, "type": "VAEEncode", "pos": [ 1850, 1940 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 27, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 154 }, { "name": "vae", "type": "VAE", "link": 135, "slot_index": 1 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 136 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncode" } }, { "id": 70, "type": "VAEDecode", "pos": [ 2220, 1830 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 29, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 137 }, { "name": "vae", "type": "VAE", "link": 138, "slot_index": 1 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 139 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 71, "type": "PreviewImage", "pos": [ 2593, 1158 ], "size": { "0": 540.338623046875, "1": 753.1709594726562 }, "flags": {}, "order": 30, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 139 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 69, "type": "KSampler", "pos": [ 2170, 1520 ], "size": { "0": 315, "1": 262 }, "flags": {}, "order": 28, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 178, "slot_index": 0 }, { "name": "positive", "type": "CONDITIONING", "link": 142, "slot_index": 1 }, { "name": "negative", "type": "CONDITIONING", "link": 143, "slot_index": 2 }, { "name": "latent_image", "type": "LATENT", "link": 136 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 137 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 940182260549985, "fixed", 10, 2, "dpmpp_2m", "karras", 0.4 ] }, { "id": 65, "type": "ImageUpscaleWithModel", "pos": [ 1830, 1630 ], "size": { "0": 241.79998779296875, "1": 46 }, "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "upscale_model", "type": "UPSCALE_MODEL", "link": 153, "slot_index": 0 }, { "name": "image", "type": "IMAGE", "link": 149, "slot_index": 1 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 133 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageUpscaleWithModel" } }, { "id": 67, "type": "ImageScale", "pos": [ 1790, 1730 ], "size": { "0": 315, "1": 130 }, "flags": {}, "order": 26, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 133 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 154 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageScale" }, "widgets_values": [ "lanczos", 1024, 1536, "disabled" ] }, { "id": 44, "type": "VAELoader", "pos": [ 42, 905 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 122, 135, 138 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "vae-ft-mse-840000-ema-pruned.vae.pt" ] }, { "id": 78, "type": "ControlNetLoader", "pos": [ 1600, 460 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "CONTROL_NET", "type": "CONTROL_NET", "links": [ 155 ], "shape": 3 } ], "properties": { "Node name for S&R": "ControlNetLoader" }, "widgets_values": [ "control_v11p_sd15_openpose_fp16.safetensors" ] }, { "id": 54, "type": "VAEDecode", "pos": [ 2320, 550 ], "size": { "0": 140, "1": 50 }, "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 114 }, { "name": "vae", "type": "VAE", "link": 122 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 116, 123 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 75, "type": "UpscaleModelLoader", "pos": [ 1800, 1510 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "UPSCALE_MODEL", "type": "UPSCALE_MODEL", "links": [ 153 ], "shape": 3 } ], "properties": { "Node name for S&R": "UpscaleModelLoader" }, "widgets_values": [ "4x-UltraSharp.pth" ] }, { "id": 53, "type": "KSampler", "pos": [ 2020, 520 ], "size": { "0": 240, "1": 262 }, "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 184 }, { "name": "positive", "type": "CONDITIONING", "link": 166 }, { "name": "negative", "type": "CONDITIONING", "link": 167 }, { "name": "latent_image", "type": "LATENT", "link": 120 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 114 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 2222, "fixed", 25, 6.5, "dpmpp_2m", "karras", 1 ] }, { "id": 5, "type": "CLIPTextEncode", "pos": [ 710, 777 ], "size": { "0": 400, "1": 160 }, "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 6 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 143, 165 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(worst quality,low quality,normal quality:1.2),nsfw, nude" ], "color": "#322", "bgcolor": "#533" }, { "id": 77, "type": "ControlNetApplyAdvanced", "pos": [ 1589, 599 ], "size": { "0": 315, "1": 166 }, "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 164 }, { "name": "negative", "type": "CONDITIONING", "link": 165 }, { "name": "control_net", "type": "CONTROL_NET", "link": 155, "slot_index": 2 }, { "name": "image", "type": "IMAGE", "link": 156 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 166 ], "shape": 3, "slot_index": 0 }, { "name": "negative", "type": "CONDITIONING", "links": [ 167 ], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "ControlNetApplyAdvanced" }, "widgets_values": [ 1, 0, 1 ] }, { "id": 79, "type": "DWPreprocessor", "pos": [ 1600, 200 ], "size": { "0": 315, "1": 198 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 157 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 156, 168 ], "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": 52, "type": "ReActorFaceSwap", "pos": [ 2041, 933 ], "size": { "0": 315, "1": 338 }, "flags": {}, "order": 23, "mode": 2, "inputs": [ { "name": "input_image", "type": "IMAGE", "link": 123 }, { "name": "source_image", "type": "IMAGE", "link": 124 }, { "name": "face_model", "type": "FACE_MODEL", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 125, 149 ], "shape": 3, "slot_index": 0 }, { "name": "FACE_MODEL", "type": "FACE_MODEL", "links": null, "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "ReActorFaceSwap" }, "widgets_values": [ true, "inswapper_128.onnx", "retinaface_resnet50", "GFPGANv1.4.pth", 0.5, 0.5, "no", "no", "0", "0", 1 ] }, { "id": 80, "type": "LoadImage", "pos": [ 2038, -492 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 4, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 157 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "01533016169693.jpg", "image" ] }, { "id": 81, "type": "PreviewImage", "pos": [ 1605, -228 ], "size": { "0": 316.84112548828125, "1": 348.7726135253906 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 168 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 4, "type": "CLIPTextEncode", "pos": [ 710, 570 ], "size": { "0": 400, "1": 160 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 5 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 142, 164 ], "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "masterpiece, best quality,8k uhd, ultra realistic,realistic, photorealistic, RAW," ], "color": "#232", "bgcolor": "#353" }, { "id": 86, "type": "IPAdapterInsightFaceLoader", "pos": [ 659, 307 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 5, "mode": 0, "outputs": [ { "name": "INSIGHTFACE", "type": "INSIGHTFACE", "links": [ 174 ], "shape": 3 } ], "properties": { "Node name for S&R": "IPAdapterInsightFaceLoader" }, "widgets_values": [ "CPU" ] }, { "id": 9, "type": "IPAdapterModelLoader", "pos": [ 691, 58 ], "size": { "0": 290, "1": 60 }, "flags": {}, "order": 6, "mode": 0, "outputs": [ { "name": "IPADAPTER", "type": "IPADAPTER", "links": [ 175 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "IPAdapterModelLoader" }, "widgets_values": [ "ip-adapter-faceid-plusv2_sd15.bin" ], "color": "#223", "bgcolor": "#335" }, { "id": 31, "type": "CLIPVisionLoader", "pos": [ 691, 172 ], "size": { "0": 290, "1": 60 }, "flags": {}, "order": 7, "mode": 0, "outputs": [ { "name": "CLIP_VISION", "type": "CLIP_VISION", "links": [ 176 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPVisionLoader" }, "widgets_values": [ "model.safetensors" ], "color": "#223", "bgcolor": "#335" }, { "id": 14, "type": "LoraLoaderModelOnly", "pos": [ 770, 410 ], "size": { "0": 210, "1": 82 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 15 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 177 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "ip-adapter-faceid-plusv2_sd15_lora.safetensors", 0.6 ], "color": "#223", "bgcolor": "#335" }, { "id": 85, "type": "IPAdapterFaceID", "pos": [ 1100, 156 ], "size": { "0": 315, "1": 322 }, "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 177 }, { "name": "ipadapter", "type": "IPADAPTER", "link": 175, "slot_index": 1 }, { "name": "image", "type": "IMAGE", "link": 179 }, { "name": "image_negative", "type": "IMAGE", "link": null }, { "name": "attn_mask", "type": "MASK", "link": null }, { "name": "clip_vision", "type": "CLIP_VISION", "link": 176 }, { "name": "insightface", "type": "INSIGHTFACE", "link": 174, "slot_index": 6 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 178 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "IPAdapterFaceID" }, "widgets_values": [ 0.9, 1, "linear", "concat", 0, 1, "V only" ] }, { "id": 2, "type": "CheckpointLoaderSimple", "pos": [ 50, 700 ], "size": { "0": 290, "1": 100 }, "flags": {}, "order": 8, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 15, 180 ], "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 5, 6 ], "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "picx_real_v1.safetensors" ] }, { "id": 83, "type": "IPAdapterModelLoader", "pos": [ 111, 142 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 9, "mode": 0, "outputs": [ { "name": "IPADAPTER", "type": "IPADAPTER", "links": [ 181 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "IPAdapterModelLoader" }, "widgets_values": [ "ip-adapter-plus_sd15.safetensors" ] }, { "id": 10, "type": "LoadImage", "pos": [ 2045, -112 ], "size": { "0": 390.733154296875, "1": 482.0174560546875 }, "flags": {}, "order": 10, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 124, 179, 182 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "ComfyUI_01584_.png", "image" ], "color": "#223", "bgcolor": "#335" }, { "id": 84, "type": "CLIPVisionLoader", "pos": [ -238, 261 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 11, "mode": 0, "outputs": [ { "name": "CLIP_VISION", "type": "CLIP_VISION", "links": [ 183 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPVisionLoader" }, "widgets_values": [ "model.safetensors" ] }, { "id": 88, "type": "IPAdapterAdvanced", "pos": [ 136, 265 ], "size": { "0": 315, "1": 278 }, "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 180 }, { "name": "ipadapter", "type": "IPADAPTER", "link": 181 }, { "name": "image", "type": "IMAGE", "link": 182 }, { "name": "image_negative", "type": "IMAGE", "link": null }, { "name": "attn_mask", "type": "MASK", "link": null }, { "name": "clip_vision", "type": "CLIP_VISION", "link": 183 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 184 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "IPAdapterAdvanced" }, "widgets_values": [ 1, "linear", "concat", 0, 1, "V only" ] } ], "links": [ [ 5, 2, 1, 4, 0, "CLIP" ], [ 6, 2, 1, 5, 0, "CLIP" ], [ 15, 2, 0, 14, 0, "MODEL" ], [ 114, 53, 0, 54, 0, "LATENT" ], [ 116, 54, 0, 56, 0, "IMAGE" ], [ 120, 3, 0, 53, 3, "LATENT" ], [ 122, 44, 0, 54, 1, "VAE" ], [ 123, 54, 0, 52, 0, "IMAGE" ], [ 124, 10, 0, 52, 1, "IMAGE" ], [ 125, 52, 0, 57, 0, "IMAGE" ], [ 133, 65, 0, 67, 0, "IMAGE" ], [ 135, 44, 0, 68, 1, "VAE" ], [ 136, 68, 0, 69, 3, "LATENT" ], [ 137, 69, 0, 70, 0, "LATENT" ], [ 138, 44, 0, 70, 1, "VAE" ], [ 139, 70, 0, 71, 0, "IMAGE" ], [ 142, 4, 0, 69, 1, "CONDITIONING" ], [ 143, 5, 0, 69, 2, "CONDITIONING" ], [ 149, 52, 0, 65, 1, "IMAGE" ], [ 153, 75, 0, 65, 0, "UPSCALE_MODEL" ], [ 154, 67, 0, 68, 0, "IMAGE" ], [ 155, 78, 0, 77, 2, "CONTROL_NET" ], [ 156, 79, 0, 77, 3, "IMAGE" ], [ 157, 80, 0, 79, 0, "IMAGE" ], [ 164, 4, 0, 77, 0, "CONDITIONING" ], [ 165, 5, 0, 77, 1, "CONDITIONING" ], [ 166, 77, 0, 53, 1, "CONDITIONING" ], [ 167, 77, 1, 53, 2, "CONDITIONING" ], [ 168, 79, 0, 81, 0, "IMAGE" ], [ 174, 86, 0, 85, 6, "INSIGHTFACE" ], [ 175, 9, 0, 85, 1, "IPADAPTER" ], [ 176, 31, 0, 85, 5, "CLIP_VISION" ], [ 177, 14, 0, 85, 0, "MODEL" ], [ 178, 85, 0, 69, 0, "MODEL" ], [ 179, 10, 0, 85, 2, "IMAGE" ], [ 180, 2, 0, 88, 0, "MODEL" ], [ 181, 83, 0, 88, 1, "IPADAPTER" ], [ 182, 10, 0, 88, 2, "IMAGE" ], [ 183, 84, 0, 88, 5, "CLIP_VISION" ], [ 184, 88, 0, 53, 0, "MODEL" ] ], "groups": [], "config": {}, "extra": {}, "version": 0.4 }