{ "last_node_id": 145, "last_link_id": 281, "nodes": [ { "id": 8, "type": "VAEDecode", "pos": [ 1234.122802734375, 185.224365234375 ], "size": [ 210, 46 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 7 }, { "name": "vae", "type": "VAE", "link": 60 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 169 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "VAEDecode" }, "widgets_values": [] }, { "id": 32, "type": "VAELoader", "pos": [ -9.15263557434082, 299.0903015136719 ], "size": [ 315, 58 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 60, 82 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "VAELoader" }, "widgets_values": [ "ae.safetensors" ] }, { "id": 38, "type": "InpaintModelConditioning", "pos": [ 864.1226806640625, 375.224365234375 ], "size": [ 302.4000244140625, 138 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "positive", "type": "CONDITIONING", "link": 80 }, { "name": "negative", "type": "CONDITIONING", "link": 141 }, { "name": "vae", "type": "VAE", "link": 82 }, { "name": "pixels", "type": "IMAGE", "link": 107 }, { "name": "mask", "type": "MASK", "link": 108 } ], "outputs": [ { "name": "positive", "type": "CONDITIONING", "links": [ 77 ], "slot_index": 0 }, { "name": "negative", "type": "CONDITIONING", "links": [ 78 ], "slot_index": 1 }, { "name": "latent", "type": "LATENT", "links": [ 88 ], "slot_index": 2 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "InpaintModelConditioning" }, "widgets_values": [ true ] }, { "id": 74, "type": "ConditioningZeroOut", "pos": [ 850.8474731445312, 289.0903015136719 ], "size": [ 317.4000244140625, 26 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 140 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 141 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "ConditioningZeroOut" }, "widgets_values": [] }, { "id": 49, "type": "AddMaskForICLora", "pos": [ 12.108656883239746, 399.2174377441406 ], "size": [ 329.3466796875, 246 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "first_image", "type": "IMAGE", "link": 176 }, { "name": "first_mask", "type": "MASK", "shape": 7, "link": null }, { "name": "second_image", "type": "IMAGE", "shape": 7, "link": 135 }, { "name": "second_mask", "type": "MASK", "shape": 7, "link": 207 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 107 ], "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": [ 108 ], "slot_index": 1 }, { "name": "x_offset", "type": "INT", "links": [ 167 ], "slot_index": 2 }, { "name": "y_offset", "type": "INT", "links": [ 168 ], "slot_index": 3 }, { "name": "target_width", "type": "INT", "links": [ 165 ], "slot_index": 4 }, { "name": "target_height", "type": "INT", "links": [ 166 ], "slot_index": 5 }, { "name": "total_width", "type": "INT", "links": [], "slot_index": 6 }, { "name": "total_height", "type": "INT", "links": [], "slot_index": 7 } ], "properties": { "cnr_id": "comfyui-in-context-lora-utils", "ver": "1.0.0", "Node name for S&R": "AddMaskForICLora" }, "widgets_values": [ "patch_right", 1536, "#FF0000" ] }, { "id": 82, "type": "CLIPVisionLoader", "pos": [ 453.4046325683594, 785.1195068359375 ], "size": [ 315, 58 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP_VISION", "type": "CLIP_VISION", "links": [ 152 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "CLIPVisionLoader" }, "widgets_values": [ "sigclip_vision_patch14_384_F1.safetensors" ] }, { "id": 115, "type": "INPAINT_ExpandMask", "pos": [ 450.3449401855469, 912.9229125976562 ], "size": [ 315, 82 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 275 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 207 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfyui-inpaint-nodes", "ver": "1.0.4", "Node name for S&R": "INPAINT_ExpandMask" }, "widgets_values": [ 40, 7 ] }, { "id": 137, "type": "StyleModelApply", "pos": [ 392.5920715332031, 371.960693359375 ], "size": [ 393, 122 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 250 }, { "name": "style_model", "type": "STYLE_MODEL", "link": 248 }, { "name": "clip_vision_output", "type": "CLIP_VISION_OUTPUT", "link": 247 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 251 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "StyleModelApply" }, "widgets_values": [ 1, "multiply" ] }, { "id": 26, "type": "FluxGuidance", "pos": [ 850.8474731445312, 169.09031677246094 ], "size": [ 317.4000244140625, 58 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 251 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "shape": 3, "links": [ 80, 140 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "FluxGuidance" }, "widgets_values": [ 30 ] }, { "id": 3, "type": "KSampler", "pos": [ 854.5701293945312, 557.3065185546875 ], "size": [ 315, 262 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 262 }, { "name": "positive", "type": "CONDITIONING", "link": 77 }, { "name": "negative", "type": "CONDITIONING", "link": 78 }, { "name": "latent_image", "type": "LATENT", "link": 88 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 7 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "KSampler" }, "widgets_values": [ 861723660271552, "randomize", 8, 1, "euler_ancestral", "beta", 1 ] }, { "id": 144, "type": "SaveImage", "pos": [ 1216.3568115234375, 1104.0928955078125 ], "size": [ 315, 58 ], "flags": { "collapsed": true }, "order": 25, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 272 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26" }, "widgets_values": [ "ComfyUI" ] }, { "id": 70, "type": "PreviewImage", "pos": [ 1261.460693359375, 301.94940185546875 ], "size": [ 250, 350 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 170 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 136, "type": "Note", "pos": [ 75.37669372558594, -431.47125244140625 ], "size": [ 360, 90 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [], "properties": {}, "widgets_values": [ "CatVitonLora:\nhttps://huggingface.co/xiaozaa/catvton-flux-lora-alpha/resolve/main/pytorch_lora_weights.safetensors" ], "color": "#432", "bgcolor": "#653" }, { "id": 72, "type": "DualCLIPLoaderGGUF", "pos": [ 0.47571825981140137, 140.28701782226562 ], "size": [ 315, 106 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "shape": 3, "links": [ 266 ], "slot_index": 0 } ], "properties": { "cnr_id": "ComfyUI-GGUF", "ver": "bc5223b0e37e053dbec2ea5e5f52c2fd4b8f712a", "Node name for S&R": "DualCLIPLoaderGGUF" }, "widgets_values": [ "t5-v1_1-xxl-encoder-Q8_0.gguf", "Clip-L_fine-tune_by_zer0int_for_FLUX_and_SD_-_TEXT.safetensors", "flux" ] }, { "id": 23, "type": "CLIPTextEncode", "pos": [ 370.4320373535156, 149.8068084716797 ], "size": [ 422.84503173828125, 164.31304931640625 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 266 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 250 ], "slot_index": 0 } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "woman wearing t-shirt" ], "color": "#232", "bgcolor": "#353" }, { "id": 143, "type": "LoraLoaderModelOnly", "pos": [ 397.3280334472656, 7.678489685058594 ], "size": [ 315, 82 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 271 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 270 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "Text_Improver_-FLUX-_-_FLUX_v0-4.safetensors", 0.7000000000000002 ] }, { "id": 77, "type": "LoraLoaderModelOnly", "pos": [ 1146.6734619140625, 10.783598899841309 ], "size": [ 315, 82 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 269 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 262 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "flux_Catviton.safetensors", 1 ] }, { "id": 142, "type": "LoraLoaderModelOnly", "pos": [ 782.9698486328125, 8.234543800354004 ], "size": [ 315, 82 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 270 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 269 ], "slot_index": 0 } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "LoraLoaderModelOnly" }, "widgets_values": [ "FLUX1-Turbo-Alpha8steps_LoRA_inpaint.safetensors", 1 ] }, { "id": 71, "type": "UnetLoaderGGUF", "pos": [ 2.1141133308410645, 20.399681091308594 ], "size": [ 315, 58 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "shape": 3, "links": [ 271 ], "slot_index": 0 } ], "properties": { "cnr_id": "ComfyUI-GGUF", "ver": "bc5223b0e37e053dbec2ea5e5f52c2fd4b8f712a", "Node name for S&R": "UnetLoaderGGUF" }, "widgets_values": [ "flux1-fill-dev-Q8_0.gguf" ] }, { "id": 80, "type": "StyleModelLoader", "pos": [ 458.217529296875, 823.2623901367188 ], "size": [ 315, 58 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "name": "STYLE_MODEL", "type": "STYLE_MODEL", "links": [ 248 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "StyleModelLoader" }, "widgets_values": [ "flux1-redux-dev.safetensors" ] }, { "id": 83, "type": "MaskPreview+", "pos": [ 1277.2470703125, 756.892822265625 ], "size": [ 210, 250 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 274 } ], "outputs": [], "properties": { "cnr_id": "comfyui_essentials", "ver": "33ff89fd354d8ec3ab6affb605a79a931b445d99", "Node name for S&R": "MaskPreview+" }, "widgets_values": [] }, { "id": 88, "type": "ImageCrop+", "pos": [ 837.0400390625, 890.7999877929688 ], "size": [ 310, 234 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 169 }, { "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 165 }, { "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 166 }, { "name": "x_offset", "type": "INT", "widget": { "name": "x_offset" }, "link": 167 }, { "name": "y_offset", "type": "INT", "widget": { "name": "y_offset" }, "link": 168 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 170, 272 ], "slot_index": 0 }, { "name": "x", "type": "INT", "links": null }, { "name": "y", "type": "INT", "links": null } ], "properties": { "cnr_id": "comfyui_essentials", "ver": "33ff89fd354d8ec3ab6affb605a79a931b445d99", "Node name for S&R": "ImageCrop+" }, "widgets_values": [ 256, 256, "top-left", 0, 0 ] }, { "id": 81, "type": "CLIPVisionEncode", "pos": [ 398.44659423828125, 566.8652954101562 ], "size": [ 380.4000244140625, 78 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "clip_vision", "type": "CLIP_VISION", "link": 152 }, { "name": "image", "type": "IMAGE", "link": 153 } ], "outputs": [ { "name": "CLIP_VISION_OUTPUT", "type": "CLIP_VISION_OUTPUT", "links": [ 247 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "CLIPVisionEncode" }, "widgets_values": [ "center" ] }, { "id": 145, "type": "LayerMask: SegformerB2ClothesUltra", "pos": [ -38.035743713378906, 719.9364624023438 ], "size": [ 466.1999816894531, 630 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 273 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": null }, { "name": "mask", "type": "MASK", "links": [ 274, 275 ] } ], "properties": { "cnr_id": "comfyui_layerstyle", "ver": "1.0.90", "Node name for S&R": "LayerMask: SegformerB2ClothesUltra" }, "widgets_values": [ false, false, false, false, false, false, false, false, false, false, true, false, false, false, false, false, "VITMatte", 12, 6, 0.15, 0.99, true, "cuda", 2 ] }, { "id": 59, "type": "LoadImage", "pos": [ -344.80194091796875, 460.0698547363281 ], "size": [ 240, 370 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 135, 273 ], "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": [], "slot_index": 1 } ], "title": "PeoplePhoto", "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "LoadImage" }, "widgets_values": [ "ComfyUI_00030_.png", "image" ], "color": "#232", "bgcolor": "#353" }, { "id": 50, "type": "LoadImage", "pos": [ -405.78125, -62.214874267578125 ], "size": [ 328.9070739746094, 424.998291015625 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 153, 176 ], "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null } ], "title": "ClothesImage", "properties": { "cnr_id": "comfy-core", "ver": "0.3.26", "Node name for S&R": "LoadImage" }, "widgets_values": [ "4FJASSS25TTROF1339-54S-P-META.jpg", "image" ], "color": "#322", "bgcolor": "#533" } ], "links": [ [ 7, 3, 0, 8, 0, "LATENT" ], [ 60, 32, 0, 8, 1, "VAE" ], [ 77, 38, 0, 3, 1, "CONDITIONING" ], [ 78, 38, 1, 3, 2, "CONDITIONING" ], [ 80, 26, 0, 38, 0, "CONDITIONING" ], [ 82, 32, 0, 38, 2, "VAE" ], [ 88, 38, 2, 3, 3, "LATENT" ], [ 107, 49, 0, 38, 3, "IMAGE" ], [ 108, 49, 1, 38, 4, "MASK" ], [ 135, 59, 0, 49, 2, "IMAGE" ], [ 140, 26, 0, 74, 0, "CONDITIONING" ], [ 141, 74, 0, 38, 1, "CONDITIONING" ], [ 152, 82, 0, 81, 0, "CLIP_VISION" ], [ 153, 50, 0, 81, 1, "IMAGE" ], [ 165, 49, 4, 88, 1, "INT" ], [ 166, 49, 5, 88, 2, "INT" ], [ 167, 49, 2, 88, 3, "INT" ], [ 168, 49, 3, 88, 4, "INT" ], [ 169, 8, 0, 88, 0, "IMAGE" ], [ 170, 88, 0, 70, 0, "IMAGE" ], [ 176, 50, 0, 49, 0, "IMAGE" ], [ 207, 115, 0, 49, 3, "MASK" ], [ 247, 81, 0, 137, 2, "CLIP_VISION_OUTPUT" ], [ 248, 80, 0, 137, 1, "STYLE_MODEL" ], [ 250, 23, 0, 137, 0, "CONDITIONING" ], [ 251, 137, 0, 26, 0, "CONDITIONING" ], [ 262, 77, 0, 3, 0, "MODEL" ], [ 266, 72, 0, 23, 0, "CLIP" ], [ 269, 142, 0, 77, 0, "MODEL" ], [ 270, 143, 0, 142, 0, "MODEL" ], [ 271, 71, 0, 143, 0, "MODEL" ], [ 272, 88, 0, 144, 0, "IMAGE" ], [ 273, 59, 0, 145, 0, "IMAGE" ], [ 274, 145, 1, 83, 0, "MASK" ], [ 275, 145, 1, 115, 0, "MASK" ] ], "groups": [ { "id": 3, "title": "FirstPass", "bounding": [ -19.152624130249023, -64.50975036621094, 1568.852783203125, 1247.7528076171875 ], "color": "#3f789e", "font_size": 24, "flags": {} } ], "config": {}, "extra": { "ds": { "scale": 0.5644739300537773, "offset": [ 887.7553556123621, 233.81297158427424 ] }, "ue_links": [] }, "version": 0.4 }