{
  "last_node_id": 29,
  "last_link_id": 47,
  "nodes": [
    {
      "id": 7,
      "type": "DWPreprocessor",
      "pos": {
        "0": 515,
        "1": 606
      },
      "size": {
        "0": 315,
        "1": 222
      },
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 21
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            26
          ]
        },
        {
          "name": "POSE_KEYPOINT",
          "type": "POSE_KEYPOINT",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "DWPreprocessor"
      },
      "widgets_values": [
        "enable",
        "enable",
        "enable",
        512,
        "yolox_l.onnx",
        "dw-ll_ucoco_384_bs5.torchscript.pt",
        "disable"
      ]
    },
    {
      "id": 22,
      "type": "VAEEncode",
      "pos": {
        "0": 515,
        "1": 1618
      },
      "size": {
        "0": 210,
        "1": 266
      },
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 35
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 36
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            37
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAEEncode"
      },
      "widgets_values": []
    },
    {
      "id": 3,
      "type": "LoadImage",
      "pos": {
        "0": 101,
        "1": 2
      },
      "size": {
        "0": 315,
        "1": 314
      },
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            20,
            21,
            35
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "361989695_625875616007406_994011247993120796_n.jpg",
        "image"
      ]
    },
    {
      "id": 8,
      "type": "ControlNetLoader",
      "pos": {
        "0": 100,
        "1": 362
      },
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CONTROL_NET",
          "type": "CONTROL_NET",
          "links": [
            25
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ControlNetLoader"
      },
      "widgets_values": [
        "thibaud_xl_openpose.safetensors"
      ]
    },
    {
      "id": 20,
      "type": "VAELoader",
      "pos": {
        "0": 100,
        "1": 778
      },
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            32,
            36
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "sdxl_vae_fp16.safetensors"
      ]
    },
    {
      "id": 4,
      "type": "segformer_b2_clothes",
      "pos": {
        "0": 515,
        "1": 130
      },
      "size": {
        "0": 315,
        "1": 346
      },
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 20
        }
      ],
      "outputs": [
        {
          "name": "mask_image",
          "type": "IMAGE",
          "links": [
            39
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "segformer_b2_clothes"
      },
      "widgets_values": [
        false,
        true,
        false,
        true,
        true,
        true,
        true,
        true,
        true,
        false,
        false,
        true,
        true
      ]
    },
    {
      "id": 12,
      "type": "ControlNetApply",
      "pos": {
        "0": 989,
        "1": 407
      },
      "size": {
        "0": 317.4000244140625,
        "1": 98
      },
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 24
        },
        {
          "name": "control_net",
          "type": "CONTROL_NET",
          "link": 25
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 26
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            28
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "ControlNetApply"
      },
      "widgets_values": [
        0.8
      ]
    },
    {
      "id": 10,
      "type": "CLIPTextEncode",
      "pos": {
        "0": 515,
        "1": 1288
      },
      "size": {
        "0": 400,
        "1": 200
      },
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 23
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            29
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "bad"
      ]
    },
    {
      "id": 9,
      "type": "CLIPTextEncode",
      "pos": {
        "0": 515,
        "1": 958
      },
      "size": {
        "0": 400,
        "1": 200
      },
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 22
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            24
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "nude"
      ]
    },
    {
      "id": 13,
      "type": "CheckpointLoaderSimple",
      "pos": {
        "0": 100,
        "1": 550
      },
      "size": {
        "0": 315,
        "1": 98
      },
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            42
          ],
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            22,
            23
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "xl\\epicrealismXL_v7FinalDestination.safetensors"
      ]
    },
    {
      "id": 27,
      "type": "INPAINT_LoadFooocusInpaint",
      "pos": {
        "0": 661,
        "1": -197
      },
      "size": {
        "0": 315,
        "1": 82
      },
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INPAINT_PATCH",
          "type": "INPAINT_PATCH",
          "links": [
            43
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "INPAINT_LoadFooocusInpaint"
      },
      "widgets_values": [
        "fooocus_inpaint_head.pth",
        "inpaint_v26.fooocus.patch"
      ]
    },
    {
      "id": 26,
      "type": "INPAINT_ApplyFooocusInpaint",
      "pos": {
        "0": 1585,
        "1": -161
      },
      "size": {
        "0": 264.5999755859375,
        "1": 66
      },
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 42
        },
        {
          "name": "patch",
          "type": "INPAINT_PATCH",
          "link": 43
        },
        {
          "name": "latent",
          "type": "LATENT",
          "link": 45
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            44
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "INPAINT_ApplyFooocusInpaint"
      },
      "widgets_values": []
    },
    {
      "id": 23,
      "type": "SetLatentNoiseMask",
      "pos": {
        "0": 1432.4000244140625,
        "1": 130
      },
      "size": {
        "0": 264.5999755859375,
        "1": 46
      },
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 37
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 38
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            30,
            45
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SetLatentNoiseMask"
      },
      "widgets_values": []
    },
    {
      "id": 15,
      "type": "VAEDecode",
      "pos": {
        "0": 2212,
        "1": 130
      },
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 31
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 32
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            46
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 28,
      "type": "PreviewImage",
      "pos": {
        "0": 2515.3779296875,
        "1": 70.84535217285156
      },
      "size": [
        210,
        246
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 46
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "PreviewImage"
      }
    },
    {
      "id": 18,
      "type": "ImageToMask",
      "pos": {
        "0": 1080,
        "1": 58
      },
      "size": {
        "0": 315,
        "1": 270
      },
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 40
        }
      ],
      "outputs": [
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            38
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageToMask"
      },
      "widgets_values": [
        "red"
      ]
    },
    {
      "id": 24,
      "type": "ImageInvert",
      "pos": {
        "0": 817,
        "1": 31
      },
      "size": {
        "0": 210,
        "1": 26
      },
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 39
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            40,
            47
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageInvert"
      },
      "widgets_values": []
    },
    {
      "id": 29,
      "type": "PreviewImage",
      "pos": {
        "0": 849,
        "1": 121
      },
      "size": {
        "0": 210,
        "1": 26
      },
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 47
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "PreviewImage"
      }
    },
    {
      "id": 14,
      "type": "KSampler",
      "pos": {
        "0": 1797,
        "1": 130
      },
      "size": {
        "0": 315,
        "1": 262
      },
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 44
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 28
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 29
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 30
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            31
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        544444237236753,
        "randomize",
        20,
        8,
        "dpmpp_2m",
        "karras",
        1
      ]
    }
  ],
  "links": [
    [
      20,
      3,
      0,
      4,
      0,
      "IMAGE"
    ],
    [
      21,
      3,
      0,
      7,
      0,
      "IMAGE"
    ],
    [
      22,
      13,
      1,
      9,
      0,
      "CLIP"
    ],
    [
      23,
      13,
      1,
      10,
      0,
      "CLIP"
    ],
    [
      24,
      9,
      0,
      12,
      0,
      "CONDITIONING"
    ],
    [
      25,
      8,
      0,
      12,
      1,
      "CONTROL_NET"
    ],
    [
      26,
      7,
      0,
      12,
      2,
      "IMAGE"
    ],
    [
      28,
      12,
      0,
      14,
      1,
      "CONDITIONING"
    ],
    [
      29,
      10,
      0,
      14,
      2,
      "CONDITIONING"
    ],
    [
      30,
      23,
      0,
      14,
      3,
      "LATENT"
    ],
    [
      31,
      14,
      0,
      15,
      0,
      "LATENT"
    ],
    [
      32,
      20,
      0,
      15,
      1,
      "VAE"
    ],
    [
      35,
      3,
      0,
      22,
      0,
      "IMAGE"
    ],
    [
      36,
      20,
      0,
      22,
      1,
      "VAE"
    ],
    [
      37,
      22,
      0,
      23,
      0,
      "LATENT"
    ],
    [
      38,
      18,
      0,
      23,
      1,
      "MASK"
    ],
    [
      39,
      4,
      0,
      24,
      0,
      "IMAGE"
    ],
    [
      40,
      24,
      0,
      18,
      0,
      "IMAGE"
    ],
    [
      42,
      13,
      0,
      26,
      0,
      "MODEL"
    ],
    [
      43,
      27,
      0,
      26,
      1,
      "INPAINT_PATCH"
    ],
    [
      44,
      26,
      0,
      14,
      0,
      "MODEL"
    ],
    [
      45,
      23,
      0,
      26,
      2,
      "LATENT"
    ],
    [
      46,
      15,
      0,
      28,
      0,
      "IMAGE"
    ],
    [
      47,
      24,
      0,
      29,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 1.4641000000000013,
      "offset": [
        -1227.07534466263,
        -43.835866917613224
      ]
    }
  },
  "version": 0.4
}