{ "last_node_id": 82, "last_link_id": 169, "nodes": [ { "id": 70, "type": "VAEDecode", "pos": [ 2170, 1660 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 19, "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": 5, "type": "CLIPTextEncode", "pos": [ 710, 777 ], "size": { "0": 400, "1": 160 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 6 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 143 ], "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": 69, "type": "KSampler", "pos": [ 2120, 1350 ], "size": { "0": 315, "1": 262 }, "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 169, "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": 44, "type": "VAELoader", "pos": [ 42, 905 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 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": 2, "type": "CheckpointLoaderSimple", "pos": [ 50, 700 ], "size": { "0": 290, "1": 100 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 15 ], "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": 75, "type": "UpscaleModelLoader", "pos": [ 1760, 1330 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 2, "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": 65, "type": "ImageUpscaleWithModel", "pos": [ 1790, 1460 ], "size": { "0": 241.79998779296875, "1": 46 }, "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "upscale_model", "type": "UPSCALE_MODEL", "link": 153, "slot_index": 0 }, { "name": "image", "type": "IMAGE", "link": 164, "slot_index": 1 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 160 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageUpscaleWithModel" } }, { "id": 80, "type": "ImageScaleBy", "pos": [ 1751, 1591 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 160 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 161 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageScaleBy" }, "widgets_values": [ "bilinear", 0.5 ] }, { "id": 68, "type": "VAEEncode", "pos": [ 1800, 1752 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 161 }, { "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": 79, "type": "ConstrainImage|pysssss", "pos": [ 1979, 1064 ], "size": { "0": 315, "1": 154 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 163 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 164 ], "shape": 6, "slot_index": 0 } ], "properties": { "Node name for S&R": "ConstrainImage|pysssss" }, "widgets_values": [ 768, 768, 0, 0, "no" ] }, { "id": 71, "type": "PreviewImage", "pos": [ 2593, 1158 ], "size": { "0": 540.338623046875, "1": 753.1709594726562 }, "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 139 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 52, "type": "ReActorFaceSwap", "pos": [ 1977, 640 ], "size": { "0": 315, "1": 338 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "input_image", "type": "IMAGE", "link": 162 }, { "name": "source_image", "type": "IMAGE", "link": 155 }, { "name": "face_model", "type": "FACE_MODEL", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 125, 163 ], "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.7000000000000001, "no", "no", "0", "0", 1 ] }, { "id": 57, "type": "PreviewImage", "pos": [ 2589, 435 ], "size": { "0": 470.4400634765625, "1": 645.5353393554688 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 125 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 78, "type": "LoadImage", "pos": [ 1961, -262 ], "size": { "0": 478.2596740722656, "1": 614.9320678710938 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 155 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "title": "Load ImageĀ (Face)", "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "ComfyUI_01002_.png", "image" ] }, { "id": 77, "type": "LoadImage", "pos": [ 2574, -260 ], "size": { "0": 478.2596740722656, "1": 614.9320678710938 }, "flags": {}, "order": 4, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 162 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "title": "Load Image (Input Image)", "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "ComfyUI_01282_.png", "image" ] }, { "id": 9, "type": "IPAdapterModelLoader", "pos": [ 700, 1300 ], "size": { "0": 290, "1": 60 }, "flags": {}, "order": 5, "mode": 0, "outputs": [ { "name": "IPADAPTER", "type": "IPADAPTER", "links": [ 166 ], "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": [ 700, 1420 ], "size": { "0": 290, "1": 60 }, "flags": {}, "order": 6, "mode": 0, "outputs": [ { "name": "CLIP_VISION", "type": "CLIP_VISION", "links": [ 167 ], "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": [ 780, 1650 ], "size": { "0": 210, "1": 82 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 15 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 168 ], "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": 4, "type": "CLIPTextEncode", "pos": [ 710, 570 ], "size": { "0": 400, "1": 160 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 5 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 142 ], "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": 81, "type": "IPAdapterFaceID", "pos": [ 1101, 1411 ], "size": { "0": 315, "1": 322 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 168 }, { "name": "ipadapter", "type": "IPADAPTER", "link": 166, "slot_index": 1 }, { "name": "image", "type": "IMAGE", "link": null }, { "name": "image_negative", "type": "IMAGE", "link": null }, { "name": "attn_mask", "type": "MASK", "link": null }, { "name": "clip_vision", "type": "CLIP_VISION", "link": 167 }, { "name": "insightface", "type": "INSIGHTFACE", "link": 165, "slot_index": 6 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 169 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "IPAdapterFaceID" }, "widgets_values": [ 0.9, 1, "linear", "concat", 0, 1, "V only" ] }, { "id": 82, "type": "IPAdapterInsightFaceLoader", "pos": [ 672, 1539 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 7, "mode": 0, "outputs": [ { "name": "INSIGHTFACE", "type": "INSIGHTFACE", "links": [ 165 ], "shape": 3 } ], "properties": { "Node name for S&R": "IPAdapterInsightFaceLoader" }, "widgets_values": [ "CPU" ] } ], "links": [ [ 5, 2, 1, 4, 0, "CLIP" ], [ 6, 2, 1, 5, 0, "CLIP" ], [ 15, 2, 0, 14, 0, "MODEL" ], [ 125, 52, 0, 57, 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" ], [ 153, 75, 0, 65, 0, "UPSCALE_MODEL" ], [ 155, 78, 0, 52, 1, "IMAGE" ], [ 160, 65, 0, 80, 0, "IMAGE" ], [ 161, 80, 0, 68, 0, "IMAGE" ], [ 162, 77, 0, 52, 0, "IMAGE" ], [ 163, 52, 0, 79, 0, "IMAGE" ], [ 164, 79, 0, 65, 1, "IMAGE" ], [ 165, 82, 0, 81, 6, "INSIGHTFACE" ], [ 166, 9, 0, 81, 1, "IPADAPTER" ], [ 167, 31, 0, 81, 5, "CLIP_VISION" ], [ 168, 14, 0, 81, 0, "MODEL" ], [ 169, 81, 0, 69, 0, "MODEL" ] ], "groups": [], "config": {}, "extra": {}, "version": 0.4 }