comfy-anything / workflows /fal-pulid-vs-instantid.json
martintomov's picture
workflows
6286aa4 verified
{
"last_node_id": 57,
"last_link_id": 166,
"nodes": [
{
"id": 46,
"type": "ApplyInstantID",
"pos": [
2560,
790
],
"size": {
"0": 320,
"1": 270
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "instantid",
"type": "INSTANTID",
"link": 134,
"slot_index": 0
},
{
"name": "insightface",
"type": "FACEANALYSIS",
"link": 135
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 136,
"slot_index": 2
},
{
"name": "image",
"type": "IMAGE",
"link": 137
},
{
"name": "model",
"type": "MODEL",
"link": 139
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 163
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 165
},
{
"name": "image_kps",
"type": "IMAGE",
"link": 153
},
{
"name": "mask",
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
144
],
"shape": 3,
"slot_index": 0
},
{
"name": "positive",
"type": "CONDITIONING",
"links": [
145
],
"shape": 3,
"slot_index": 1
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
146
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "ApplyInstantID"
},
"widgets_values": [
0.8,
0,
1
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1650,
250
],
"size": {
"0": 140,
"1": 50
},
"flags": {
"collapsed": false
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
151,
153
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 33,
"type": "ApplyPulid",
"pos": [
1640,
860
],
"size": {
"0": 320,
"1": 230
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 133
},
{
"name": "pulid",
"type": "PULID",
"link": 117
},
{
"name": "eva_clip",
"type": "EVA_CLIP",
"link": 81
},
{
"name": "face_analysis",
"type": "FACEANALYSIS",
"link": 82
},
{
"name": "image",
"type": "IMAGE",
"link": 114
},
{
"name": "attn_mask",
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
132
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ApplyPulid"
},
"widgets_values": [
"fidelity",
0.8,
0,
1
]
},
{
"id": 48,
"type": "ControlNetLoader",
"pos": [
560,
1030
],
"size": {
"0": 320,
"1": 60
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
136
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"instantid-controlnet.safetensors"
]
},
{
"id": 17,
"type": "PulidInsightFaceLoader",
"pos": [
560,
1180
],
"size": {
"0": 210,
"1": 60
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "FACEANALYSIS",
"type": "FACEANALYSIS",
"links": [
82,
135
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PulidInsightFaceLoader"
},
"widgets_values": [
"CUDA"
]
},
{
"id": 19,
"type": "PulidEvaClipLoader",
"pos": [
570,
1310
],
"size": {
"0": 300,
"1": 30
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "EVA_CLIP",
"type": "EVA_CLIP",
"links": [
81
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PulidEvaClipLoader"
}
},
{
"id": 16,
"type": "PulidModelLoader",
"pos": [
570,
1420
],
"size": {
"0": 300,
"1": 60
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "PULID",
"type": "PULID",
"links": [
117
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PulidModelLoader"
},
"widgets_values": [
"ip-adapter_pulid_sdxl_fp16.safetensors"
]
},
{
"id": 47,
"type": "InstantIDModelLoader",
"pos": [
580,
1540
],
"size": {
"0": 320,
"1": 60
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "INSTANTID",
"type": "INSTANTID",
"links": [
134
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "InstantIDModelLoader"
},
"widgets_values": [
"instantid-ip-adapter.bin"
]
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
570,
850
],
"size": {
"0": 220,
"1": 100
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
133,
139
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
160,
161
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
8,
149
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"dreamshaperXL_lightningDPMSDE.safetensors"
]
},
{
"id": 12,
"type": "LoadImage",
"pos": [
552,
34
],
"size": {
"0": 400,
"1": 500
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
114,
137
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"title": "Face",
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"25bfd6d7537c69b8603139eaa47ab4233a502.jpg",
"image"
]
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
1396,
61
],
"size": {
"0": 210,
"1": 110
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
2,
147
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
768,
1024,
1
]
},
{
"id": 50,
"type": "VAEDecode",
"pos": [
2896,
125
],
"size": {
"0": 140,
"1": 50
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 148
},
{
"name": "vae",
"type": "VAE",
"link": 149
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
152
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 53,
"type": "SaveImage",
"pos": [
3140,
810
],
"size": {
"0": 300,
"1": 460
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 152
}
],
"title": "InstantID",
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 52,
"type": "SaveImage",
"pos": [
170,
792
],
"size": {
"0": 300,
"1": 460
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 151
}
],
"title": "Pulid",
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 56,
"type": "CLIPTextEncode",
"pos": [
1680,
1510
],
"size": {
"0": 700,
"1": 80
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 161
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
164,
165
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"blurry, malformed, low quality, worst quality, artefacts, noise, text, watermark, glitch, deformed, ugly,"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 55,
"type": "CLIPTextEncode",
"pos": [
1680,
1360
],
"size": {
"0": 700,
"1": 90
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 160
},
{
"name": "text",
"type": "STRING",
"link": 166,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
162,
163
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"1girl, full body portrait, cyberpunk, cinematic, hoodie, purple hair, highly detailed, 4k, high resolution"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 49,
"type": "KSampler",
"pos": [
2560,
270
],
"size": {
"0": 320,
"1": 470
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 144
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 145
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 146
},
{
"name": "latent_image",
"type": "LATENT",
"link": 147
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
148
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
53,
"randomize",
10,
2,
"dpmpp_sde",
"karras",
1
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
1650,
350
],
"size": {
"0": 340,
"1": 470
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 132
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 162
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 164
},
{
"name": "latent_image",
"type": "LATENT",
"link": 2
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
53,
"randomize",
10,
2,
"dpmpp_sde",
"karras",
1
]
},
{
"id": 57,
"type": "StringInput_fal",
"pos": [
1148,
1556
],
"size": {
"0": 320,
"1": 80
},
"flags": {},
"order": 8,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
166
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "StringInput_fal"
},
"widgets_values": [
"Prompt",
"close up of man posing for a picture in the centre of Amsterdam near water canals, photorealistic, realism"
]
}
],
"links": [
[
2,
5,
0,
3,
3,
"LATENT"
],
[
7,
3,
0,
8,
0,
"LATENT"
],
[
8,
4,
2,
8,
1,
"VAE"
],
[
81,
19,
0,
33,
2,
"EVA_CLIP"
],
[
82,
17,
0,
33,
3,
"FACEANALYSIS"
],
[
114,
12,
0,
33,
4,
"IMAGE"
],
[
117,
16,
0,
33,
1,
"PULID"
],
[
132,
33,
0,
3,
0,
"MODEL"
],
[
133,
4,
0,
33,
0,
"MODEL"
],
[
134,
47,
0,
46,
0,
"INSTANTID"
],
[
135,
17,
0,
46,
1,
"FACEANALYSIS"
],
[
136,
48,
0,
46,
2,
"CONTROL_NET"
],
[
137,
12,
0,
46,
3,
"IMAGE"
],
[
139,
4,
0,
46,
4,
"MODEL"
],
[
144,
46,
0,
49,
0,
"MODEL"
],
[
145,
46,
1,
49,
1,
"CONDITIONING"
],
[
146,
46,
2,
49,
2,
"CONDITIONING"
],
[
147,
5,
0,
49,
3,
"LATENT"
],
[
148,
49,
0,
50,
0,
"LATENT"
],
[
149,
4,
2,
50,
1,
"VAE"
],
[
151,
8,
0,
52,
0,
"IMAGE"
],
[
152,
50,
0,
53,
0,
"IMAGE"
],
[
153,
8,
0,
46,
7,
"IMAGE"
],
[
160,
4,
1,
55,
0,
"CLIP"
],
[
161,
4,
1,
56,
0,
"CLIP"
],
[
162,
55,
0,
3,
1,
"CONDITIONING"
],
[
163,
55,
0,
46,
5,
"CONDITIONING"
],
[
164,
56,
0,
3,
2,
"CONDITIONING"
],
[
165,
56,
0,
46,
6,
"CONDITIONING"
],
[
166,
57,
0,
55,
1,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.5054470284992973,
"offset": [
-87.94058855067735,
5.321517139114752
]
},
"groupNodes": {
"prompt": {
"nodes": [
{
"type": "CLIPTextEncode",
"pos": [
1250,
1880
],
"size": {
"0": 700.3372802734375,
"1": 94.48374938964844
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"1girl, full body portrait, cyberpunk, cinematic, hoodie, purple hair, highly detailed, 4k, high resolution"
],
"index": 0
},
{
"type": "CLIPTextEncode",
"pos": [
1250,
2030
],
"size": {
"0": 697.9536743164062,
"1": 76
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"blurry, malformed, low quality, worst quality, artifacts, noise, text, watermark, glitch, deformed, ugly, horror, ill"
],
"index": 1
}
],
"links": [
[
null,
1,
0,
0,
4,
"CLIP"
],
[
null,
1,
1,
0,
4,
"CLIP"
]
],
"external": [
[
0,
0,
"CONDITIONING"
],
[
1,
0,
"CONDITIONING"
]
]
}
}
},
"version": 0.4
}