comfy-anything / workflows /face-to-many.json
martintomov's picture
workflows
6286aa4 verified
raw
history blame
18.1 kB
{
"last_node_id": 74,
"last_link_id": 106,
"nodes": [
{
"id": 5,
"type": "SaveImage",
"pos": [
2685,
130
],
"size": {
"0": 315,
"1": 270
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 7
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 28,
"type": "Control Net Stacker",
"pos": [
930,
130
],
"size": {
"0": 315,
"1": 146
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 34
},
{
"name": "image",
"type": "IMAGE",
"link": 88
},
{
"name": "cnet_stack",
"type": "CONTROL_NET_STACK",
"link": null
}
],
"outputs": [
{
"name": "CNET_STACK",
"type": "CONTROL_NET_STACK",
"links": [
81
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Control Net Stacker"
},
"widgets_values": [
0.8,
0,
1
],
"color": "#223322",
"bgcolor": "#335533",
"shape": 1
},
{
"id": 51,
"type": "VAEEncode",
"pos": [
1845,
526
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 104
},
{
"name": "vae",
"type": "VAE",
"link": 90
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
100
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 41,
"type": "ApplyInstantID",
"pos": [
1845,
130
],
"size": {
"0": 315,
"1": 266
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "instantid",
"type": "INSTANTID",
"link": 49
},
{
"name": "insightface",
"type": "FACEANALYSIS",
"link": 50
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 48
},
{
"name": "image",
"type": "IMAGE",
"link": 106
},
{
"name": "model",
"type": "MODEL",
"link": 60
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 56
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 55
},
{
"name": "image_kps",
"type": "IMAGE",
"link": null
},
{
"name": "mask",
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
101
],
"shape": 3,
"slot_index": 0
},
{
"name": "POSITIVE",
"type": "CONDITIONING",
"links": [
58
],
"shape": 3,
"slot_index": 1
},
{
"name": "NEGATIVE",
"type": "CONDITIONING",
"links": [
57
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "ApplyInstantID"
},
"widgets_values": [
1,
0,
1
]
},
{
"id": 4,
"type": "KSampler (Efficient)",
"pos": [
2260,
130
],
"size": {
"0": 325,
"1": 562
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 101
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 58
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 57
},
{
"name": "latent_image",
"type": "LATENT",
"link": 100
},
{
"name": "optional_vae",
"type": "VAE",
"link": 6
},
{
"name": "script",
"type": "SCRIPT",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "CONDITIONING+",
"type": "CONDITIONING",
"links": [],
"shape": 3,
"slot_index": 1
},
{
"name": "CONDITIONING-",
"type": "CONDITIONING",
"links": [],
"shape": 3,
"slot_index": 2
},
{
"name": "LATENT",
"type": "LATENT",
"links": null,
"shape": 3
},
{
"name": "VAE",
"type": "VAE",
"links": [],
"shape": 3,
"slot_index": 4
},
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
7
],
"shape": 3,
"slot_index": 5
}
],
"properties": {
"Node name for S&R": "KSampler (Efficient)"
},
"widgets_values": [
1051763972092850,
null,
20,
7,
"dpmpp_2m_sde",
"karras",
0.65,
"none",
"true"
],
"color": "#223333",
"bgcolor": "#335555",
"shape": 1
},
{
"id": 22,
"type": "LoadImage",
"pos": [
98,
-289
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
103
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"Screenshot 2024-02-26 at 16.13.24.png",
"image"
]
},
{
"id": 40,
"type": "ControlNetLoader",
"pos": [
1430,
-293
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
48
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"instantid-controlnet.safetensors"
]
},
{
"id": 35,
"type": "InstantIDModelLoader",
"pos": [
1429,
-180
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "INSTANTID",
"type": "INSTANTID",
"links": [
49
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "InstantIDModelLoader"
},
"widgets_values": [
"instantid-ip-adapter.bin"
]
},
{
"id": 36,
"type": "InstantIDFaceAnalysis",
"pos": [
1428,
-71
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "FACEANALYSIS",
"type": "FACEANALYSIS",
"links": [
50
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "InstantIDFaceAnalysis"
},
"widgets_values": [
"CPU"
]
},
{
"id": 67,
"type": "ImageResize+",
"pos": [
580,
-282
],
"size": {
"0": 315,
"1": 194
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 103
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
104,
105,
106
],
"shape": 3,
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "height",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
1024,
1024,
"nearest",
true,
"always"
]
},
{
"id": 49,
"type": "AIO_Preprocessor",
"pos": [
515,
130
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 105
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
88
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "AIO_Preprocessor"
},
"widgets_values": [
"Zoe-DepthMapPreprocessor",
1024
]
},
{
"id": 24,
"type": "ControlNetLoader",
"pos": [
504,
261
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
34
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"depth-zoe-xl-v1.0-controlnet.safetensors"
]
},
{
"id": 3,
"type": "LoRA Stacker",
"pos": [
923,
351
],
"size": {
"0": 315,
"1": 226
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "lora_stack",
"type": "LORA_STACK",
"link": null
}
],
"outputs": [
{
"name": "LORA_STACK",
"type": "LORA_STACK",
"links": [
86
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoRA Stacker"
},
"widgets_values": [
"simple",
3,
"artificialguybr/3DRedmond-3DRenderStyle-3DRenderAF.safetensors",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1,
"None",
1,
1,
1
],
"color": "#222233",
"bgcolor": "#333355",
"shape": 1
},
{
"id": 2,
"type": "Efficient Loader",
"pos": [
1345,
130
],
"size": {
"0": 400,
"1": 462
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "lora_stack",
"type": "LORA_STACK",
"link": 86
},
{
"name": "cnet_stack",
"type": "CONTROL_NET_STACK",
"link": 81
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
60
],
"shape": 3,
"slot_index": 0
},
{
"name": "CONDITIONING+",
"type": "CONDITIONING",
"links": [
56
],
"shape": 3,
"slot_index": 1
},
{
"name": "CONDITIONING-",
"type": "CONDITIONING",
"links": [
55
],
"shape": 3,
"slot_index": 2
},
{
"name": "LATENT",
"type": "LATENT",
"links": [],
"shape": 3,
"slot_index": 3
},
{
"name": "VAE",
"type": "VAE",
"links": [
6,
90
],
"shape": 3,
"slot_index": 4
},
{
"name": "CLIP",
"type": "CLIP",
"links": null,
"shape": 3
},
{
"name": "DEPENDENCIES",
"type": "DEPENDENCIES",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Efficient Loader"
},
"widgets_values": [
"albedobaseXL_v13.safetensors",
"Baked VAE",
-1,
"None",
1,
1,
"3D Render Style, 3DRenderAF, person",
"photo, photography, nsfw, nude, ugly, broken, watermark",
"none",
"comfy",
1024,
1024,
1
],
"color": "#222233",
"bgcolor": "#333355",
"shape": 1
}
],
"links": [
[
6,
2,
4,
4,
4,
"VAE"
],
[
7,
4,
5,
5,
0,
"IMAGE"
],
[
34,
24,
0,
28,
0,
"CONTROL_NET"
],
[
48,
40,
0,
41,
2,
"CONTROL_NET"
],
[
49,
35,
0,
41,
0,
"INSTANTID"
],
[
50,
36,
0,
41,
1,
"FACEANALYSIS"
],
[
55,
2,
2,
41,
6,
"CONDITIONING"
],
[
56,
2,
1,
41,
5,
"CONDITIONING"
],
[
57,
41,
2,
4,
2,
"CONDITIONING"
],
[
58,
41,
1,
4,
1,
"CONDITIONING"
],
[
60,
2,
0,
41,
4,
"MODEL"
],
[
81,
28,
0,
2,
1,
"CONTROL_NET_STACK"
],
[
86,
3,
0,
2,
0,
"LORA_STACK"
],
[
88,
49,
0,
28,
1,
"IMAGE"
],
[
90,
2,
4,
51,
1,
"VAE"
],
[
100,
51,
0,
4,
3,
"LATENT"
],
[
101,
41,
0,
4,
0,
"MODEL"
],
[
103,
22,
0,
67,
0,
"IMAGE"
],
[
104,
67,
0,
51,
0,
"IMAGE"
],
[
105,
67,
0,
49,
0,
"IMAGE"
],
[
106,
67,
0,
41,
3,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}