{ "last_node_id": 57, "last_link_id": 85, "nodes": [ { "id": 48, "type": "IPAdapterAdvanced", "pos": [ 790, 190 ], "size": { "0": 315, "1": 278 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 69 }, { "name": "ipadapter", "type": "IPADAPTER", "link": 66 }, { "name": "image", "type": "IMAGE", "link": 68 }, { "name": "image_negative", "type": "IMAGE", "link": null }, { "name": "attn_mask", "type": "MASK", "link": null }, { "name": "clip_vision", "type": "CLIP_VISION", "link": 67 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 80 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "IPAdapterAdvanced" }, "widgets_values": [ 1, "linear", "concat", 0, 1, "V only" ], "color": "#322", "bgcolor": "#533" }, { "id": 50, "type": "Reroute", "pos": [ 1720, 50 ], "size": [ 75, 26 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 72 } ], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 73 ], "slot_index": 0 } ], "properties": { "showOutputText": true, "horizontal": false } }, { "id": 42, "type": "GroundingDinoSAMSegment (segment anything)", "pos": [ 510, 1380 ], "size": { "0": 352.79998779296875, "1": 122 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "sam_model", "type": "SAM_MODEL", "link": 56 }, { "name": "grounding_dino_model", "type": "GROUNDING_DINO_MODEL", "link": 57, "slot_index": 1 }, { "name": "image", "type": "IMAGE", "link": 61, "slot_index": 2 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": [ 58 ], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "GroundingDinoSAMSegment (segment anything)" }, "widgets_values": [ "jacket", 0.4 ], "color": "#322", "bgcolor": "#533" }, { "id": 43, "type": "GrowMask", "pos": [ 900, 1400 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 58 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 60, 63 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "GrowMask" }, "widgets_values": [ 5, true ], "color": "#322", "bgcolor": "#533" }, { "id": 36, "type": "VAEDecode", "pos": [ 1420, 1000 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 44 }, { "name": "vae", "type": "VAE", "link": 76 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 45 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "color": "#223", "bgcolor": "#335" }, { "id": 44, "type": "MaskToImage", "pos": [ 1250, 1400 ], "size": { "0": 210, "1": 26 }, "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 60 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 62 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "MaskToImage" }, "color": "#223", "bgcolor": "#335" }, { "id": 46, "type": "PreviewImage", "pos": [ 1690, 1390 ], "size": { "0": 415.2857971191406, "1": 342.2388610839844 }, "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 62 } ], "properties": { "Node name for S&R": "PreviewImage" }, "color": "#432", "bgcolor": "#653" }, { "id": 9, "type": "CLIPTextEncode", "pos": [ 760, 770 ], "size": { "0": 451.4547119140625, "1": 96.0401611328125 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 9 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 83 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "" ], "color": "#222", "bgcolor": "#000" }, { "id": 37, "type": "PreviewImage", "pos": [ 1680, 990 ], "size": { "0": 420.13116455078125, "1": 348.43194580078125 }, "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 45 } ], "properties": { "Node name for S&R": "PreviewImage" }, "color": "#432", "bgcolor": "#653" }, { "id": 40, "type": "SAMModelLoader (segment anything)", "pos": [ 87, 1375 ], "size": { "0": 360.4549865722656, "1": 62.33978271484375 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "SAM_MODEL", "type": "SAM_MODEL", "links": [ 56 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "SAMModelLoader (segment anything)" }, "widgets_values": [ "sam_vit_h (2.56GB)" ], "color": "#323", "bgcolor": "#535" }, { "id": 41, "type": "GroundingDinoModelLoader (segment anything)", "pos": [ 91, 1489 ], "size": { "0": 361.20001220703125, "1": 58 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "GROUNDING_DINO_MODEL", "type": "GROUNDING_DINO_MODEL", "links": [ 57 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "GroundingDinoModelLoader (segment anything)" }, "widgets_values": [ "GroundingDINO_SwinT_OGC (694MB)" ], "color": "#323", "bgcolor": "#535" }, { "id": 10, "type": "VAEDecode", "pos": [ 1830, 180 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 81 }, { "name": "vae", "type": "VAE", "link": 73 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 77, 78 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEDecode" }, "color": "#223", "bgcolor": "#335" }, { "id": 52, "type": "Save IMG Prompt", "pos": [ 1812, 310 ], "size": { "0": 252.67605590820312, "1": 370 }, "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 77 } ], "properties": { "Node name for S&R": "Save IMG Prompt" }, "widgets_values": [ "D:\\AI\\Images\\Output\\CF [time(%Y-%m-%d)]", "[time(%Y-%m-%d%I-%M%p)]", "_", 4, "false", "png", "txt", 100, "false", "false", "true", "true", "false", "true" ], "color": "#223", "bgcolor": "#335" }, { "id": 54, "type": "PreviewImage", "pos": [ 2165, 179 ], "size": { "0": 675.8101196289062, "1": 628.4009399414062 }, "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 78 } ], "properties": { "Node name for S&R": "PreviewImage" }, "color": "#432", "bgcolor": "#653" }, { "id": 1, "type": "LoadImage", "pos": [ 100, 340 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 68 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "title": "Image of Clothing", "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "WT691-LILAC-42 (1).jpg", "image" ], "color": "#323", "bgcolor": "#535" }, { "id": 49, "type": "Reroute", "pos": [ 623, 49 ], "size": [ 75, 26 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 71 } ], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 72, 74, 75 ], "slot_index": 0 } ], "properties": { "showOutputText": true, "horizontal": false } }, { "id": 33, "type": "VAEEncodeForInpaint", "pos": [ 993, 1010 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 64 }, { "name": "vae", "type": "VAE", "link": 74 }, { "name": "mask", "type": "MASK", "link": 63 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 44, 84 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncodeForInpaint" }, "widgets_values": [ 3 ], "color": "#322", "bgcolor": "#533" }, { "id": 45, "type": "LoadImage", "pos": [ 90, 1010 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 61, 64 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": [], "shape": 3, "slot_index": 1 } ], "title": "Image of Person", "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "51dTE7nJe3S._AC_UY1000_.jpg", "image" ], "color": "#323", "bgcolor": "#535" }, { "id": 8, "type": "CLIPTextEncode", "pos": [ 760, 580 ], "size": { "0": 446.42236328125, "1": 119.3589859008789 }, "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 7 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 82 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "a woman in a purple leather jacket" ], "color": "#222", "bgcolor": "#000" }, { "id": 51, "type": "Reroute", "pos": [ 1090, 50 ], "size": [ 75, 26 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 75 } ], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 76, 85 ], "slot_index": 0 } ], "properties": { "showOutputText": true, "horizontal": false } }, { "id": 6, "type": "CheckpointLoaderSimple", "pos": [ 90, 190 ], "size": { "0": 467.9320068359375, "1": 98 }, "flags": {}, "order": 4, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 69 ], "shape": 3 }, { "name": "CLIP", "type": "CLIP", "links": [ 7, 9 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [ 71 ], "shape": 3, "slot_index": 2 } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "SD1.5\\absolutereality_v181.safetensors" ], "color": "#323", "bgcolor": "#535" }, { "id": 5, "type": "CLIPVisionLoader", "pos": [ 100, 820 ], "size": { "0": 471.2644958496094, "1": 61.1494140625 }, "flags": {}, "order": 5, "mode": 0, "outputs": [ { "name": "CLIP_VISION", "type": "CLIP_VISION", "links": [ 67 ], "shape": 3 } ], "properties": { "Node name for S&R": "CLIPVisionLoader" }, "widgets_values": [ "CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors" ], "color": "#323", "bgcolor": "#535" }, { "id": 4, "type": "IPAdapterModelLoader", "pos": [ 100, 710 ], "size": { "0": 471.2644958496094, "1": 58 }, "flags": {}, "order": 6, "mode": 0, "outputs": [ { "name": "IPADAPTER", "type": "IPADAPTER", "links": [ 66 ], "shape": 3 } ], "properties": { "Node name for S&R": "IPAdapterModelLoader" }, "widgets_values": [ "models\\ip-adapter_sd15.safetensors" ], "color": "#323", "bgcolor": "#535" }, { "id": 56, "type": "KSampler (Efficient)", "pos": [ 1378, 145 ], "size": [ 323.5894014086921, 371.3040163027955 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 80 }, { "name": "positive", "type": "CONDITIONING", "link": 82 }, { "name": "negative", "type": "CONDITIONING", "link": 83 }, { "name": "latent_image", "type": "LATENT", "link": 84 }, { "name": "optional_vae", "type": "VAE", "link": 85 }, { "name": "script", "type": "SCRIPT", "link": 79, "slot_index": 5 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": null, "shape": 3 }, { "name": "CONDITIONING+", "type": "CONDITIONING", "links": null, "shape": 3 }, { "name": "CONDITIONING-", "type": "CONDITIONING", "links": null, "shape": 3 }, { "name": "LATENT", "type": "LATENT", "links": [ 81 ], "shape": 3, "slot_index": 3 }, { "name": "VAE", "type": "VAE", "links": null, "shape": 3 }, { "name": "IMAGE", "type": "IMAGE", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "KSampler (Efficient)" }, "widgets_values": [ 87407835393973, null, 30, 7, "euler", "normal", 1, "none", "false" ], "color": "#232", "bgcolor": "#353", "shape": 1 }, { "id": 57, "type": "HighRes-Fix Script", "pos": [ 1381, 568 ], "size": [ 325, 250 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "script", "type": "SCRIPT", "link": null } ], "outputs": [ { "name": "SCRIPT", "type": "SCRIPT", "links": [ 79 ], "shape": 3 } ], "properties": { "Node name for S&R": "HighRes-Fix Script" }, "widgets_values": [ "latent", "(use same)", "nearest-exact", "001_classicalSR_DF2K_s64w8_SwinIR-M_x2.pth", 1.25, true, -1, null, 15, 0.5, 1, false, "InstantID\\InstantId-diffusion_pytorch_model.safetensors", 1, "none", false ], "color": "#232", "bgcolor": "#353", "shape": 1 } ], "links": [ [ 7, 6, 1, 8, 0, "CLIP" ], [ 9, 6, 1, 9, 0, "CLIP" ], [ 44, 33, 0, 36, 0, "LATENT" ], [ 45, 36, 0, 37, 0, "IMAGE" ], [ 56, 40, 0, 42, 0, "SAM_MODEL" ], [ 57, 41, 0, 42, 1, "GROUNDING_DINO_MODEL" ], [ 58, 42, 1, 43, 0, "MASK" ], [ 60, 43, 0, 44, 0, "MASK" ], [ 61, 45, 0, 42, 2, "IMAGE" ], [ 62, 44, 0, 46, 0, "IMAGE" ], [ 63, 43, 0, 33, 2, "MASK" ], [ 64, 45, 0, 33, 0, "IMAGE" ], [ 66, 4, 0, 48, 1, "IPADAPTER" ], [ 67, 5, 0, 48, 5, "CLIP_VISION" ], [ 68, 1, 0, 48, 2, "IMAGE" ], [ 69, 6, 0, 48, 0, "MODEL" ], [ 71, 6, 2, 49, 0, "*" ], [ 72, 49, 0, 50, 0, "*" ], [ 73, 50, 0, 10, 1, "VAE" ], [ 74, 49, 0, 33, 1, "VAE" ], [ 75, 49, 0, 51, 0, "*" ], [ 76, 51, 0, 36, 1, "VAE" ], [ 77, 10, 0, 52, 0, "IMAGE" ], [ 78, 10, 0, 54, 0, "IMAGE" ], [ 79, 57, 0, 56, 5, "SCRIPT" ], [ 80, 48, 0, 56, 0, "MODEL" ], [ 81, 56, 3, 10, 0, "LATENT" ], [ 82, 8, 0, 56, 1, "CONDITIONING" ], [ 83, 9, 0, 56, 2, "CONDITIONING" ], [ 84, 33, 0, 56, 3, "LATENT" ], [ 85, 51, 0, 56, 4, "VAE" ] ], "groups": [], "config": {}, "extra": {}, "version": 0.4 }