{
  "id": "e778bde9-4efe-4c7e-8102-5ea17b39685d",
  "revision": 0,
  "last_node_id": 81,
  "last_link_id": 249,
  "nodes": [
    {
      "id": 11,
      "type": "InstantIDModelLoader",
      "pos": [
        167.48030107677084,
        80.51067060325771
      ],
      "size": [
        281.265625,
        247.875
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INSTANTID",
          "type": "INSTANTID",
          "slot_index": 0,
          "links": [
            197
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_instantid",
        "ver": "1.0.0",
        "Node name for S&R": "InstantIDModelLoader"
      },
      "widgets_values": [
        "ip-adapter.bin"
      ]
    },
    {
      "id": 38,
      "type": "InstantIDFaceAnalysis",
      "pos": [
        195.91134570079498,
        349.5452223889809
      ],
      "size": [
        272.5,
        292.34375
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "FACEANALYSIS",
          "type": "FACEANALYSIS",
          "slot_index": 0,
          "links": [
            198
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_instantid",
        "ver": "1.0.0",
        "Node name for S&R": "InstantIDFaceAnalysis"
      },
      "widgets_values": [
        "CUDA"
      ]
    },
    {
      "id": 16,
      "type": "ControlNetLoader",
      "pos": [
        501.38681207839227,
        83.85028517350204
      ],
      "size": [
        300.0625,
        292.34375
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CONTROL_NET",
          "type": "CONTROL_NET",
          "slot_index": 0,
          "links": [
            199
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "ControlNetLoader"
      },
      "widgets_values": [
        "instantid_control.safetensors"
      ]
    },
    {
      "id": 39,
      "type": "CLIPTextEncode",
      "pos": [
        259.4107892713773,
        927.1156635792854
      ],
      "size": [
        350.375,
        370.3125
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 122
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            203
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "soccer character, hyper realistic, highly detailed"
      ]
    },
    {
      "id": 40,
      "type": "CLIPTextEncode",
      "pos": [
        267.7347203738873,
        1243.5115345846452
      ],
      "size": [
        343.59375,
        350.78125
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 123
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            204
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "deformed, glitch, noisy, unrealistic"
      ]
    },
    {
      "id": 4,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -235.6679825033658,
        1162.2490280497568
      ],
      "size": [
        377.96875,
        340.3125
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            206
          ]
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "slot_index": 1,
          "links": [
            122,
            123
          ]
        },
        {
          "name": "VAE",
          "type": "VAE",
          "slot_index": 2,
          "links": [
            8,
            241
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "jibMixRealisticXL_v180SkinSupreme.safetensors"
      ]
    },
    {
      "id": 60,
      "type": "ApplyInstantID",
      "pos": [
        527.6888939951887,
        386.9245242564784
      ],
      "size": [
        377.96875,
        552.1875
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "instantid",
          "type": "INSTANTID",
          "link": 197
        },
        {
          "name": "insightface",
          "type": "FACEANALYSIS",
          "link": 198
        },
        {
          "name": "control_net",
          "type": "CONTROL_NET",
          "link": 199
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 214
        },
        {
          "name": "model",
          "type": "MODEL",
          "link": 206
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 203
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 204
        },
        {
          "name": "image_kps",
          "shape": 7,
          "type": "IMAGE",
          "link": 236
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            227
          ]
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "slot_index": 1,
          "links": [
            229
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "slot_index": 2,
          "links": [
            228
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_instantid",
        "ver": "1.0.0",
        "Node name for S&R": "ApplyInstantID"
      },
      "widgets_values": [
        0.8,
        0,
        1
      ]
    },
    {
      "id": 15,
      "type": "PreviewImage",
      "pos": [
        1424.3550752946442,
        274.1926811075477
      ],
      "size": [
        700.84375,
        1257.875
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 19
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        980.3398654062007,
        125.19742171892355
      ],
      "size": [
        251.9375,
        282.34375
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 7
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 8
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            19,
            243
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 5,
      "type": "EmptyLatentImage",
      "pos": [
        944.8002769192929,
        1722.3052287921628
      ],
      "size": [
        377.96875,
        360.3125
      ],
      "flags": {},
      "order": 4,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        1016,
        1016,
        1
      ]
    },
    {
      "id": 13,
      "type": "LoadImage",
      "pos": [
        -627.4301704312057,
        281.2501729143362
      ],
      "size": [
        395.65625,
        784.875
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            214
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "6638087.jpg",
        "image"
      ]
    },
    {
      "id": 73,
      "type": "ControlNetLoader",
      "pos": [
        667.7423926074239,
        1362.8793427514024
      ],
      "size": [
        377.96875,
        292.34375
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CONTROL_NET",
          "type": "CONTROL_NET",
          "links": [
            232
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "ControlNetLoader"
      },
      "widgets_values": [
        "control-lora-depth-rank256.safetensors"
      ]
    },
    {
      "id": 74,
      "type": "LoadImage",
      "pos": [
        -190.55804134662264,
        359.25720586832836
      ],
      "size": [
        339.6875,
        731.53125
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            236,
            238,
            240
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [
            244
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "LoadImage",
        "image": "clipspace/clipspace-painted-masked-1765757043873.png [input]"
      },
      "widgets_values": [
        "clipspace/clipspace-painted-masked-1765757043873.png [input]",
        "image"
      ]
    },
    {
      "id": 72,
      "type": "ControlNetApplyAdvanced",
      "pos": [
        978.1889869063984,
        394.3165254151057
      ],
      "size": [
        272.09375,
        456.25
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 229
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 228
        },
        {
          "name": "control_net",
          "type": "CONTROL_NET",
          "link": 232
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 239
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            230
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "slot_index": 1,
          "links": [
            231
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "ControlNetApplyAdvanced"
      },
      "widgets_values": [
        0.65,
        0,
        0.35
      ]
    },
    {
      "id": 77,
      "type": "Zoe-DepthMapPreprocessor",
      "pos": [
        209.9061446733076,
        627.2295852857267
      ],
      "size": [
        251.9375,
        292.34375
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 238
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            239
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_controlnet_aux",
        "ver": "1.1.2",
        "Node name for S&R": "Zoe-DepthMapPreprocessor"
      },
      "widgets_values": [
        1024
      ]
    },
    {
      "id": 3,
      "type": "KSampler",
      "pos": [
        967.0504418718328,
        839.8980100364291
      ],
      "size": [
        377.96875,
        534.21875
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 227
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 230
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 231
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 249
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            7
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        5635466572,
        "fixed",
        30,
        4,
        "ddpm",
        "karras",
        1
      ]
    },
    {
      "id": 79,
      "type": "VAEEncode",
      "pos": [
        680.0449793104415,
        949.8219118294362
      ],
      "size": [
        225,
        252.34375
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 240
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 241
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            248
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "VAEEncode"
      },
      "widgets_values": []
    },
    {
      "id": 80,
      "type": "SaveImage",
      "pos": [
        2678.893626024086,
        537.9132989271518
      ],
      "size": [
        270,
        616.3125
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 243
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77"
      },
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 81,
      "type": "SetLatentNoiseMask",
      "pos": [
        624.7645841207632,
        1221.9294882228737
      ],
      "size": [
        329.15625,
        112.546875
      ],
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 248
        },
        {
          "name": "mask",
          "type": "MASK",
          "link": 244
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            249
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "SetLatentNoiseMask"
      },
      "widgets_values": []
    }
  ],
  "links": [
    [
      7,
      3,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      8,
      4,
      2,
      8,
      1,
      "VAE"
    ],
    [
      19,
      8,
      0,
      15,
      0,
      "IMAGE"
    ],
    [
      122,
      4,
      1,
      39,
      0,
      "CLIP"
    ],
    [
      123,
      4,
      1,
      40,
      0,
      "CLIP"
    ],
    [
      197,
      11,
      0,
      60,
      0,
      "INSTANTID"
    ],
    [
      198,
      38,
      0,
      60,
      1,
      "FACEANALYSIS"
    ],
    [
      199,
      16,
      0,
      60,
      2,
      "CONTROL_NET"
    ],
    [
      203,
      39,
      0,
      60,
      5,
      "CONDITIONING"
    ],
    [
      204,
      40,
      0,
      60,
      6,
      "CONDITIONING"
    ],
    [
      206,
      4,
      0,
      60,
      4,
      "MODEL"
    ],
    [
      214,
      13,
      0,
      60,
      3,
      "IMAGE"
    ],
    [
      227,
      60,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      228,
      60,
      2,
      72,
      1,
      "CONDITIONING"
    ],
    [
      229,
      60,
      1,
      72,
      0,
      "CONDITIONING"
    ],
    [
      230,
      72,
      0,
      3,
      1,
      "CONDITIONING"
    ],
    [
      231,
      72,
      1,
      3,
      2,
      "CONDITIONING"
    ],
    [
      232,
      73,
      0,
      72,
      2,
      "CONTROL_NET"
    ],
    [
      236,
      74,
      0,
      60,
      7,
      "IMAGE"
    ],
    [
      238,
      74,
      0,
      77,
      0,
      "IMAGE"
    ],
    [
      239,
      77,
      0,
      72,
      3,
      "IMAGE"
    ],
    [
      240,
      74,
      0,
      79,
      0,
      "IMAGE"
    ],
    [
      241,
      4,
      2,
      79,
      1,
      "VAE"
    ],
    [
      243,
      8,
      0,
      80,
      0,
      "IMAGE"
    ],
    [
      244,
      74,
      1,
      81,
      1,
      "MASK"
    ],
    [
      248,
      79,
      0,
      81,
      0,
      "LATENT"
    ],
    [
      249,
      81,
      0,
      3,
      3,
      "LATENT"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.38989791703812504,
      "offset": [
        824.7371704333339,
        65.98472072852849
      ]
    },
    "workflowRendererVersion": "Vue",
    "frontendVersion": "1.32.10"
  },
  "version": 0.4
}