{
  "id": "92b91b5c-3265-4e96-99be-83df7f63cd74",
  "revision": 0,
  "last_node_id": 67,
  "last_link_id": 221,
  "nodes": [
    {
      "id": 11,
      "type": "InstantIDModelLoader",
      "pos": [
        1370.3622103526625,
        -65.44735252271761
      ],
      "size": [
        585,
        149.84375
      ],
      "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": [
        1372.8097429060085,
        108.66717512828777
      ],
      "size": [
        434.75,
        112.375
      ],
      "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": [
        1838.8640235137293,
        117.16078063428077
      ],
      "size": [
        300.0625,
        112.375
      ],
      "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": 15,
      "type": "PreviewImage",
      "pos": [
        2635.862519365816,
        77.96763296696719
      ],
      "size": [
        456.4375,
        771.96875
      ],
      "flags": {},
      "order": 11,
      "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": 5,
      "type": "EmptyLatentImage",
      "pos": [
        1787.3537003261147,
        676.541740644446
      ],
      "size": [
        377.96875,
        180.34375
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            2
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        1016,
        1016,
        1
      ]
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        2199.2930076865396,
        128.37840073035045
      ],
      "size": [
        251.9375,
        102.375
      ],
      "flags": {},
      "order": 10,
      "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,
            221
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 60,
      "type": "ApplyInstantID",
      "pos": [
        1788.0313204522054,
        285.17561733000184
      ],
      "size": [
        377.96875,
        372.21875
      ],
      "flags": {},
      "order": 8,
      "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": null
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "slot_index": 0,
          "links": [
            220
          ]
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "slot_index": 1,
          "links": [
            200
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "slot_index": 2,
          "links": [
            201
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_instantid",
        "ver": "1.0.0",
        "Node name for S&R": "ApplyInstantID"
      },
      "widgets_values": [
        0.8,
        0,
        1
      ]
    },
    {
      "id": 39,
      "type": "CLIPTextEncode",
      "pos": [
        1376.3138499854397,
        312.55904137126015
      ],
      "size": [
        350.375,
        190.3125
      ],
      "flags": {},
      "order": 6,
      "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": [
        "realistic, an astronaut on the moon, highly detailed, "
      ]
    },
    {
      "id": 40,
      "type": "CLIPTextEncode",
      "pos": [
        1384.1732360236658,
        534.284151623413
      ],
      "size": [
        343.59375,
        170.78125
      ],
      "flags": {},
      "order": 7,
      "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": [
        "photograph, deformed, glitch, noisy, realistic, stock photo"
      ]
    },
    {
      "id": 4,
      "type": "CheckpointLoaderSimple",
      "pos": [
        990.4161269397495,
        535.8718626937432
      ],
      "size": [
        377.96875,
        160.34375
      ],
      "flags": {},
      "order": 4,
      "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
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "epicrealismXL_vxviiCrystalclear.safetensors"
      ]
    },
    {
      "id": 3,
      "type": "KSampler",
      "pos": [
        2196.3410506002256,
        296.56694181940935
      ],
      "size": [
        377.96875,
        354.25
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 220
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 200
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 201
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 2
        }
      ],
      "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": [
        1631591065,
        "fixed",
        60,
        6,
        "ddpm",
        "karras",
        0.8
      ]
    },
    {
      "id": 13,
      "type": "LoadImage",
      "pos": [
        1030.3245141490365,
        -7.640280056620824
      ],
      "size": [
        251.9375,
        522.96875
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            214
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Reference Image",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "ComfyUI_00500_.png",
        "image"
      ]
    },
    {
      "id": 67,
      "type": "SaveImage",
      "pos": [
        3168.534215619353,
        203.94988607656722
      ],
      "size": [
        270,
        400
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 221
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.77"
      },
      "widgets_values": [
        "ComfyUI"
      ]
    }
  ],
  "links": [
    [
      2,
      5,
      0,
      3,
      3,
      "LATENT"
    ],
    [
      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"
    ],
    [
      200,
      60,
      1,
      3,
      1,
      "CONDITIONING"
    ],
    [
      201,
      60,
      2,
      3,
      2,
      "CONDITIONING"
    ],
    [
      203,
      39,
      0,
      60,
      5,
      "CONDITIONING"
    ],
    [
      204,
      40,
      0,
      60,
      6,
      "CONDITIONING"
    ],
    [
      206,
      4,
      0,
      60,
      4,
      "MODEL"
    ],
    [
      214,
      13,
      0,
      60,
      3,
      "IMAGE"
    ],
    [
      220,
      60,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      221,
      8,
      0,
      67,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5997949143180914,
      "offset": [
        -898.5403740298848,
        140.46534362927514
      ]
    },
    "workflowRendererVersion": "Vue",
    "frontendVersion": "1.32.10"
  },
  "version": 0.4
}