{
  "last_node_id": 65,
  "last_link_id": 147,
  "nodes": [
    {
      "id": 7,
      "type": "CLIPTextEncode",
      "pos": [
        153.81593322753906,
        193.08474731445312
      ],
      "size": [
        397.89935302734375,
        132.290771484375
      ],
      "flags": {
        "collapsed": false
      },
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 63
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            81
          ],
          "slot_index": 0
        }
      ],
      "title": "CLIP Text Encode (Negative Prompt)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        1600,
        40
      ],
      "size": [
        190,
        46
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 7
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 60
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            102
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 23,
      "type": "CLIPTextEncode",
      "pos": [
        150.60000610351562,
        0.6999998688697815
      ],
      "size": [
        397.89935302734375,
        120.82927703857422
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 62
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            41
          ],
          "slot_index": 0
        }
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "The pair of images highlights a clothing and its styling on a model, high resolution, 4K, 8K; [IMAGE1] Detailed product shot of a clothing [IMAGE2] The same cloth is worn by a model in a lifestyle setting."
      ]
    },
    {
      "id": 52,
      "type": "ImageToMask",
      "pos": [
        -160,
        1050
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 115
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            118
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageToMask"
      },
      "widgets_values": [
        "red"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 53,
      "type": "PreviewImage",
      "pos": [
        -160,
        1180
      ],
      "size": [
        210,
        246
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 116
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 51,
      "type": "segformer_b2_clothes",
      "pos": [
        -510,
        1050
      ],
      "size": [
        315,
        346
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 146
        }
      ],
      "outputs": [
        {
          "name": "mask_image",
          "type": "IMAGE",
          "links": [
            115,
            116
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "segformer_b2_clothes"
      },
      "widgets_values": [
        false,
        false,
        false,
        true,
        false,
        false,
        false,
        false,
        false,
        false,
        false,
        false,
        false
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 56,
      "type": "LoadImage",
      "pos": [
        -870,
        1010
      ],
      "size": [
        290,
        510
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            146,
            147
          ],
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "pexels-photo-3155565.jpg",
        "image"
      ]
    },
    {
      "id": 48,
      "type": "LoraLoaderModelOnly",
      "pos": [
        866.4467163085938,
        -173.85031127929688
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 107
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            108
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoaderModelOnly"
      },
      "widgets_values": [
        "Flux\\catvton-flux-lora-alpha.safetensors",
        1
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 38,
      "type": "InpaintModelConditioning",
      "pos": [
        900,
        60
      ],
      "size": [
        311,
        138
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 80
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 81
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 82
        },
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 109
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 110
        }
      ],
      "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": {
        "Node name for S&R": "InpaintModelConditioning"
      },
      "widgets_values": [
        true
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 26,
      "type": "FluxGuidance",
      "pos": [
        603.0430908203125,
        3.384554386138916
      ],
      "size": [
        242.8545684814453,
        58
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 41
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            80
          ],
          "slot_index": 0,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "FluxGuidance"
      },
      "widgets_values": [
        30
      ]
    },
    {
      "id": 49,
      "type": "AddMaskForICLora",
      "pos": [
        526.6661376953125,
        418.3485412597656
      ],
      "size": [
        330,
        246
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "first_image",
          "type": "IMAGE",
          "link": 145
        },
        {
          "name": "first_mask",
          "type": "MASK",
          "link": null,
          "shape": 7
        },
        {
          "name": "second_image",
          "type": "IMAGE",
          "link": 147,
          "shape": 7
        },
        {
          "name": "second_mask",
          "type": "MASK",
          "link": 143,
          "shape": 7
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            109,
            133
          ],
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            110,
            134
          ],
          "slot_index": 1
        },
        {
          "name": "x_offset",
          "type": "INT",
          "links": null
        },
        {
          "name": "y_offset",
          "type": "INT",
          "links": null
        },
        {
          "name": "target_width",
          "type": "INT",
          "links": null
        },
        {
          "name": "target_height",
          "type": "INT",
          "links": null
        },
        {
          "name": "total_width",
          "type": "INT",
          "links": null
        },
        {
          "name": "total_height",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "AddMaskForICLora"
      },
      "widgets_values": [
        "auto",
        1536,
        "#FF0000"
      ]
    },
    {
      "id": 34,
      "type": "DualCLIPLoader",
      "pos": [
        -212.79994201660156,
        106.50000762939453
      ],
      "size": [
        315,
        106
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            62,
            63
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "DualCLIPLoader"
      },
      "widgets_values": [
        "clip_l.safetensors",
        "t5xxl_fp8_e4m3fn.safetensors",
        "flux"
      ]
    },
    {
      "id": 32,
      "type": "VAELoader",
      "pos": [
        597.4476928710938,
        254.066162109375
      ],
      "size": [
        248.4499969482422,
        58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            60,
            82
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "FLUXvae.safetensors"
      ]
    },
    {
      "id": 57,
      "type": "InvertMask",
      "pos": [
        70,
        1050
      ],
      "size": [
        140,
        26
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 118
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            142
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "InvertMask"
      },
      "widgets_values": [],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 3,
      "type": "KSampler",
      "pos": [
        1250,
        40
      ],
      "size": [
        315,
        262
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 108
        },
        {
          "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": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        1234,
        "fixed",
        30,
        1,
        "euler",
        "normal",
        1
      ]
    },
    {
      "id": 55,
      "type": "LoadImage",
      "pos": [
        -870,
        430
      ],
      "size": [
        290,
        498.96368408203125
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            145
          ],
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "example_garment_00035_00.jpg",
        "image"
      ]
    },
    {
      "id": 65,
      "type": "GrowMask",
      "pos": [
        236.827392578125,
        1050
      ],
      "size": [
        222.82362365722656,
        82
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "mask",
          "type": "MASK",
          "link": 142
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            143
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "GrowMask"
      },
      "widgets_values": [
        20,
        true
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 45,
      "type": "PreviewImage",
      "pos": [
        1827.5045166015625,
        40
      ],
      "size": [
        550,
        420
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 102
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 63,
      "type": "PreviewImage",
      "pos": [
        1081.99609375,
        481.18829345703125
      ],
      "size": [
        361.63531494140625,
        259.43603515625
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 141
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 62,
      "type": "JoinImageWithAlpha",
      "pos": [
        885.78173828125,
        481.5660705566406
      ],
      "size": [
        176.39999389648438,
        46
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 133
        },
        {
          "name": "alpha",
          "type": "MASK",
          "link": 134
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            141
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "JoinImageWithAlpha"
      },
      "widgets_values": []
    },
    {
      "id": 31,
      "type": "UNETLoader",
      "pos": [
        517.320556640625,
        -173.85031127929688
      ],
      "size": [
        311,
        82
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            107
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader"
      },
      "widgets_values": [
        "Flux\\flux1-fill-dev.safetensors",
        "fp8_e4m3fn"
      ],
      "color": "#232",
      "bgcolor": "#353"
    }
  ],
  "links": [
    [
      7,
      3,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      41,
      23,
      0,
      26,
      0,
      "CONDITIONING"
    ],
    [
      60,
      32,
      0,
      8,
      1,
      "VAE"
    ],
    [
      62,
      34,
      0,
      23,
      0,
      "CLIP"
    ],
    [
      63,
      34,
      0,
      7,
      0,
      "CLIP"
    ],
    [
      77,
      38,
      0,
      3,
      1,
      "CONDITIONING"
    ],
    [
      78,
      38,
      1,
      3,
      2,
      "CONDITIONING"
    ],
    [
      80,
      26,
      0,
      38,
      0,
      "CONDITIONING"
    ],
    [
      81,
      7,
      0,
      38,
      1,
      "CONDITIONING"
    ],
    [
      82,
      32,
      0,
      38,
      2,
      "VAE"
    ],
    [
      88,
      38,
      2,
      3,
      3,
      "LATENT"
    ],
    [
      102,
      8,
      0,
      45,
      0,
      "IMAGE"
    ],
    [
      107,
      31,
      0,
      48,
      0,
      "MODEL"
    ],
    [
      108,
      48,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      109,
      49,
      0,
      38,
      3,
      "IMAGE"
    ],
    [
      110,
      49,
      1,
      38,
      4,
      "MASK"
    ],
    [
      115,
      51,
      0,
      52,
      0,
      "IMAGE"
    ],
    [
      116,
      51,
      0,
      53,
      0,
      "IMAGE"
    ],
    [
      118,
      52,
      0,
      57,
      0,
      "MASK"
    ],
    [
      133,
      49,
      0,
      62,
      0,
      "IMAGE"
    ],
    [
      134,
      49,
      1,
      62,
      1,
      "MASK"
    ],
    [
      141,
      62,
      0,
      63,
      0,
      "IMAGE"
    ],
    [
      142,
      57,
      0,
      65,
      0,
      "MASK"
    ],
    [
      143,
      65,
      0,
      49,
      3,
      "MASK"
    ],
    [
      145,
      55,
      0,
      49,
      0,
      "IMAGE"
    ],
    [
      146,
      56,
      0,
      51,
      0,
      "IMAGE"
    ],
    [
      147,
      56,
      0,
      49,
      2,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 1.2284597357367277,
      "offset": [
        -695.7444488005788,
        165.3071399176139
      ]
    }
  },
  "version": 0.4
}