{
  "id": "9b5f35d0-adf5-4036-afda-933788333abc",
  "revision": 0,
  "last_node_id": 18,
  "last_link_id": 24,
  "nodes": [
    {
      "id": 3,
      "type": "AutoDownloadBiRefNetModel",
      "pos": [
        3738.167724609375,
        -505.5592041015625
      ],
      "size": [
        285.1128845214844,
        106
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "model",
          "type": "BIREFNET",
          "links": [
            2
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_birefnet_ll",
        "ver": "1.1.4",
        "Node name for S&R": "AutoDownloadBiRefNetModel"
      },
      "widgets_values": [
        "General",
        "AUTO",
        "float32"
      ]
    },
    {
      "id": 1,
      "type": "LoadImage",
      "pos": [
        3682.68994140625,
        -277.81707763671875
      ],
      "size": [
        274.080078125,
        314
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1,
            4
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.48",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "ComfyUI_00027_.png",
        "image"
      ]
    },
    {
      "id": 7,
      "type": "CLIPVisionLoader",
      "pos": [
        4418.478515625,
        -492.4520568847656
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP_VISION",
          "type": "CLIP_VISION",
          "links": [
            7
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.48",
        "Node name for S&R": "CLIPVisionLoader"
      },
      "widgets_values": [
        "clip-vision_vit-h.safetensors"
      ]
    },
    {
      "id": 6,
      "type": "IPAdapterModelLoader",
      "pos": [
        4733.82763671875,
        -492.2696533203125
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IPADAPTER",
          "type": "IPADAPTER",
          "links": [
            6
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_ipadapter_plus",
        "ver": "2.0.0",
        "Node name for S&R": "IPAdapterModelLoader"
      },
      "widgets_values": [
        "ip-adapter_sdxl_vit-h.safetensors"
      ]
    },
    {
      "id": 5,
      "type": "IPAdapterAdvanced",
      "pos": [
        5026.2939453125,
        -354.9958190917969
      ],
      "size": [
        270,
        278
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 9
        },
        {
          "name": "ipadapter",
          "type": "IPADAPTER",
          "link": 6
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 12
        },
        {
          "name": "image_negative",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "attn_mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        },
        {
          "name": "clip_vision",
          "shape": 7,
          "type": "CLIP_VISION",
          "link": 7
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            8
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_ipadapter_plus",
        "ver": "2.0.0",
        "Node name for S&R": "IPAdapterAdvanced"
      },
      "widgets_values": [
        1,
        "linear",
        "concat",
        0,
        1,
        "V only"
      ]
    },
    {
      "id": 11,
      "type": "LoadImage",
      "pos": [
        4668.568359375,
        -884.7332763671875
      ],
      "size": [
        274.080078125,
        314
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            12
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.48",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "Outfit 3 - sleeve detail 1.jpg",
        "image"
      ]
    },
    {
      "id": 13,
      "type": "CLIPTextEncode",
      "pos": [
        5386.61328125,
        -90.745361328125
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 14
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            15
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.48",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "blurry, lowres, artefact"
      ]
    },
    {
      "id": 12,
      "type": "CLIPTextEncode",
      "pos": [
        5379.650390625,
        -362.31634521484375
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 13
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            16
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.48",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "Sleeve Embroidery green and gold. Detailed sheen. Stripes. Cuff"
      ]
    },
    {
      "id": 10,
      "type": "VAEEncode",
      "pos": [
        5113.69775390625,
        188.5277862548828
      ],
      "size": [
        140,
        46
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 11
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 10
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            17
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.48",
        "Node name for S&R": "VAEEncode"
      }
    },
    {
      "id": 8,
      "type": "KSampler",
      "pos": [
        5898.1708984375,
        -355.05596923828125
      ],
      "size": [
        270,
        262
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 8
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 16
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 15
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 17
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            18
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.48",
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        0,
        "randomize",
        20,
        8,
        "euler",
        "simple",
        0.8000000000000002
      ]
    },
    {
      "id": 9,
      "type": "CheckpointLoaderSimple",
      "pos": [
        5130.1181640625,
        -618.4359130859375
      ],
      "size": [
        270,
        98
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            9
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            13,
            14
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            10,
            19
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.48",
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "sd_xl_base_1.0.safetensors"
      ]
    },
    {
      "id": 14,
      "type": "VAEDecode",
      "pos": [
        6404.49658203125,
        -349.5375671386719
      ],
      "size": [
        140,
        46
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 18
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 19
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            20
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.48",
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 15,
      "type": "InpaintStitchImproved",
      "pos": [
        6676.4658203125,
        -350.56927490234375
      ],
      "size": [
        214.29940795898438,
        46
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "stitcher",
          "type": "STITCHER",
          "link": 21
        },
        {
          "name": "inpainted_image",
          "type": "IMAGE",
          "link": 20
        }
      ],
      "outputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "links": [
            22
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-inpaint-cropandstitch",
        "ver": "2.1.7",
        "Node name for S&R": "InpaintStitchImproved"
      }
    },
    {
      "id": 16,
      "type": "SaveImage",
      "pos": [
        7088.37548828125,
        -275.2460021972656
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 22
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.48",
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 4,
      "type": "InpaintCropImproved",
      "pos": [
        4508.24951171875,
        -297.94921875
      ],
      "size": [
        348.095703125,
        626
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 4
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": 3
        },
        {
          "name": "optional_context_mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "stitcher",
          "type": "STITCHER",
          "links": [
            21
          ]
        },
        {
          "name": "cropped_image",
          "type": "IMAGE",
          "links": [
            11,
            23
          ]
        },
        {
          "name": "cropped_mask",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-inpaint-cropandstitch",
        "ver": "2.1.7",
        "Node name for S&R": "InpaintCropImproved"
      },
      "widgets_values": [
        "bilinear",
        "bicubic",
        false,
        "ensure minimum resolution",
        1024,
        1024,
        16384,
        16384,
        true,
        0,
        false,
        32,
        0.1,
        false,
        1,
        1,
        1,
        1,
        1.2,
        true,
        512,
        512,
        "32"
      ]
    },
    {
      "id": 17,
      "type": "PreviewImage",
      "pos": [
        4994.49560546875,
        308.7713317871094
      ],
      "size": [
        140,
        26
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 23
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.48",
        "Node name for S&R": "PreviewImage"
      }
    },
    {
      "id": 18,
      "type": "MaskPreview",
      "pos": [
        4300.5634765625,
        178.3609161376953
      ],
      "size": [
        140,
        26
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 24
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.48",
        "Node name for S&R": "MaskPreview"
      }
    },
    {
      "id": 2,
      "type": "GetMaskByBiRefNet",
      "pos": [
        4063.047119140625,
        -277.6871337890625
      ],
      "size": [
        270,
        150
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "BIREFNET",
          "link": 2
        },
        {
          "name": "images",
          "type": "IMAGE",
          "link": 1
        }
      ],
      "outputs": [
        {
          "name": "mask",
          "type": "MASK",
          "links": [
            3,
            24
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_birefnet_ll",
        "ver": "1.1.4",
        "Node name for S&R": "GetMaskByBiRefNet"
      },
      "widgets_values": [
        1184,
        880,
        "bilinear",
        0
      ]
    }
  ],
  "links": [
    [
      1,
      1,
      0,
      2,
      1,
      "IMAGE"
    ],
    [
      2,
      3,
      0,
      2,
      0,
      "BIREFNET"
    ],
    [
      3,
      2,
      0,
      4,
      1,
      "MASK"
    ],
    [
      4,
      1,
      0,
      4,
      0,
      "IMAGE"
    ],
    [
      6,
      6,
      0,
      5,
      1,
      "IPADAPTER"
    ],
    [
      7,
      7,
      0,
      5,
      5,
      "CLIP_VISION"
    ],
    [
      8,
      5,
      0,
      8,
      0,
      "MODEL"
    ],
    [
      9,
      9,
      0,
      5,
      0,
      "MODEL"
    ],
    [
      10,
      9,
      2,
      10,
      1,
      "VAE"
    ],
    [
      11,
      4,
      1,
      10,
      0,
      "IMAGE"
    ],
    [
      12,
      11,
      0,
      5,
      2,
      "IMAGE"
    ],
    [
      13,
      9,
      1,
      12,
      0,
      "CLIP"
    ],
    [
      14,
      9,
      1,
      13,
      0,
      "CLIP"
    ],
    [
      15,
      13,
      0,
      8,
      2,
      "CONDITIONING"
    ],
    [
      16,
      12,
      0,
      8,
      1,
      "CONDITIONING"
    ],
    [
      17,
      10,
      0,
      8,
      3,
      "LATENT"
    ],
    [
      18,
      8,
      0,
      14,
      0,
      "LATENT"
    ],
    [
      19,
      9,
      2,
      14,
      1,
      "VAE"
    ],
    [
      20,
      14,
      0,
      15,
      1,
      "IMAGE"
    ],
    [
      21,
      4,
      0,
      15,
      0,
      "STITCHER"
    ],
    [
      22,
      15,
      0,
      16,
      0,
      "IMAGE"
    ],
    [
      23,
      4,
      1,
      17,
      0,
      "IMAGE"
    ],
    [
      24,
      2,
      0,
      18,
      0,
      "MASK"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.7400249944258176,
      "offset": [
        -4095.016614455552,
        893.9515602442631
      ]
    },
    "frontendVersion": "1.23.4"
  },
  "version": 0.4
}