Files
THtianhao-ComfyUI-FaceChain/workflow/devworlflow.json
T
2024-01-05 20:52:06 +08:00

1270 lines
20 KiB
JSON

{
"last_node_id": 46,
"last_link_id": 74,
"nodes": [
{
"id": 15,
"type": "Control Net Stacker",
"pos": [
-153.31365728149393,
258.61234644012467
],
"size": {
"0": 315,
"1": 146
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 19
},
{
"name": "image",
"type": "IMAGE",
"link": 42
},
{
"name": "cnet_stack",
"type": "CONTROL_NET_STACK",
"link": null
}
],
"outputs": [
{
"name": "CNET_STACK",
"type": "CONTROL_NET_STACK",
"links": [
20
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Control Net Stacker"
},
"widgets_values": [
1,
0,
1
],
"color": "#223322",
"bgcolor": "#335533",
"shape": 1
},
{
"id": 27,
"type": "MaskToImage",
"pos": [
-610,
566
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 59
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
39
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 28,
"type": "PreviewImage",
"pos": [
-613,
635
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 39
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 26,
"type": "PreviewImage",
"pos": [
-380,
648
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 57
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 5,
"type": "OpenposePreprocessor",
"pos": [
-160,
467
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 58
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
17,
42
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "OpenposePreprocessor"
},
"widgets_values": [
"enable",
"enable",
"enable",
512
]
},
{
"id": 4,
"type": "KSampler Adv. (Efficient)",
"pos": [
882,
193
],
"size": {
"0": 325,
"1": 634
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 47
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 48
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 50
},
{
"name": "latent_image",
"type": "LATENT",
"link": 24
},
{
"name": "optional_vae",
"type": "VAE",
"link": 51
},
{
"name": "script",
"type": "SCRIPT",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": null,
"shape": 3
},
{
"name": "CONDITIONING+",
"type": "CONDITIONING",
"links": null,
"shape": 3
},
{
"name": "CONDITIONING-",
"type": "CONDITIONING",
"links": null,
"shape": 3
},
{
"name": "LATENT",
"type": "LATENT",
"links": null,
"shape": 3
},
{
"name": "VAE",
"type": "VAE",
"links": null,
"shape": 3
},
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
44
],
"shape": 3,
"slot_index": 5
}
],
"properties": {
"Node name for S&R": "KSampler Adv. (Efficient)"
},
"widgets_values": [
"enable",
408597052627979,
null,
20,
7,
"euler",
"normal",
0,
10000,
"disable",
"auto",
"true"
],
"color": "#332222",
"bgcolor": "#553333",
"shape": 1
},
{
"id": 30,
"type": "PreviewImage",
"pos": [
1287,
316
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 44
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 8,
"type": "ControlNetLoader",
"pos": [
-139,
134
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
19
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control_v11p_sd15_openpose.pth"
]
},
{
"id": 31,
"type": "LoRA Stacker",
"pos": [
37,
-166
],
"size": {
"0": 315,
"1": 178
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "lora_stack",
"type": "LORA_STACK",
"link": null
}
],
"outputs": [
{
"name": "LORA_STACK",
"type": "LORA_STACK",
"links": [
45
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoRA Stacker"
},
"widgets_values": [
"simple",
2,
"FilmVelvia3.safetensors",
0.2,
1,
1,
"dahuang_ep.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
],
"color": "#222233",
"bgcolor": "#333355",
"shape": 1
},
{
"id": 14,
"type": "PreviewImage",
"pos": [
-105,
663
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 17
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 36,
"type": "FC CropMask",
"pos": [
-512.8261237915037,
299.6577564270021
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 55
},
{
"name": "face_box",
"type": "BOX",
"link": 74
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
57,
58
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
59
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "FC CropMask"
}
},
{
"id": 1,
"type": "Efficient Loader",
"pos": [
299,
172
],
"size": {
"0": 400,
"1": 462
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "lora_stack",
"type": "LORA_STACK",
"link": 45
},
{
"name": "cnet_stack",
"type": "CONTROL_NET_STACK",
"link": 20
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
47
],
"shape": 3,
"slot_index": 0
},
{
"name": "CONDITIONING+",
"type": "CONDITIONING",
"links": [
48
],
"shape": 3,
"slot_index": 1
},
{
"name": "CONDITIONING-",
"type": "CONDITIONING",
"links": [
50
],
"shape": 3,
"slot_index": 2
},
{
"name": "LATENT",
"type": "LATENT",
"links": [
24
],
"shape": 3,
"slot_index": 3
},
{
"name": "VAE",
"type": "VAE",
"links": [
51
],
"shape": 3,
"slot_index": 4
},
{
"name": "CLIP",
"type": "CLIP",
"links": [],
"shape": 3,
"slot_index": 5
},
{
"name": "DEPENDENCIES",
"type": "DEPENDENCIES",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Efficient Loader"
},
"widgets_values": [
"majicmixRealistic_v7.safetensors",
"Baked VAE",
-1,
"None",
1,
1,
" raw photo, masterpiece, chinese, simple background, high-class pure color background, solo, medium shot, high detail face, photorealistic, best quality, wearing T-shi",
"nsfw, paintings, sketches, (worst quality:2), (low quality:2) lowers, normal quality, ((monochrome)), ((grayscale)), logo, word, character, childre",
"none",
"A1111",
512,
512,
1
],
"color": "#223322",
"bgcolor": "#335533",
"shape": 1
},
{
"id": 42,
"type": "PreviewImage",
"pos": [
-174,
988
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 69
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 44,
"type": "PreviewImage",
"pos": [
-741,
1317
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 67
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 43,
"type": "MaskToImage",
"pos": [
-432,
1310
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 70
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
67
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 32,
"type": "LoadImage",
"pos": [
-1282,
1061
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
68
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"3.png",
"image"
]
},
{
"id": 45,
"type": "FC FaceSegment",
"pos": [
-730,
1079
],
"size": {
"0": 229.20001220703125,
"1": 46
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "source_image",
"type": "IMAGE",
"link": 68
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
69
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
70
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "FC FaceSegment"
}
},
{
"id": 9,
"type": "LoadImage",
"pos": [
-1312,
331
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
55,
72
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"fc_temp.jpeg",
"image"
]
},
{
"id": 46,
"type": "FC FaceDetectCrop",
"pos": [
-968,
352
],
"size": {
"0": 315,
"1": 122
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "source_image",
"type": "IMAGE",
"link": 72
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
73
],
"shape": 3,
"slot_index": 0
},
{
"name": "BOX",
"type": "BOX",
"links": [
74
],
"shape": 3,
"slot_index": 1
},
{
"name": "KEY_POINT",
"type": "KEY_POINT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FC FaceDetectCrop"
},
"widgets_values": [
0,
1
]
},
{
"id": 18,
"type": "PreviewImage",
"pos": [
-904,
624
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 73
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
17,
5,
0,
14,
0,
"IMAGE"
],
[
19,
8,
0,
15,
0,
"CONTROL_NET"
],
[
20,
15,
0,
1,
1,
"CONTROL_NET_STACK"
],
[
24,
1,
3,
4,
3,
"LATENT"
],
[
39,
27,
0,
28,
0,
"IMAGE"
],
[
42,
5,
0,
15,
1,
"IMAGE"
],
[
44,
4,
5,
30,
0,
"IMAGE"
],
[
45,
31,
0,
1,
0,
"LORA_STACK"
],
[
47,
1,
0,
4,
0,
"MODEL"
],
[
48,
1,
1,
4,
1,
"CONDITIONING"
],
[
50,
1,
2,
4,
2,
"CONDITIONING"
],
[
51,
1,
4,
4,
4,
"VAE"
],
[
55,
9,
0,
36,
0,
"IMAGE"
],
[
57,
36,
0,
26,
0,
"IMAGE"
],
[
58,
36,
0,
5,
0,
"IMAGE"
],
[
59,
36,
1,
27,
0,
"MASK"
],
[
67,
43,
0,
44,
0,
"IMAGE"
],
[
68,
32,
0,
45,
0,
"IMAGE"
],
[
69,
45,
0,
42,
0,
"IMAGE"
],
[
70,
45,
1,
43,
0,
"MASK"
],
[
72,
9,
0,
46,
0,
"IMAGE"
],
[
73,
46,
0,
18,
0,
"IMAGE"
],
[
74,
46,
1,
36,
1,
"BOX"
]
],
"groups": [
{
"title": "Group",
"bounding": [
-164,
83,
375,
603
],
"color": "#3f789e",
"font_size": 24,
"locked": false
}
],
"config": {},
"extra": {},
"version": 0.4
}