Files
shadowcz007-comfyui-mixlab-…/workflow/layers-test-workflow.json
T
2023-12-08 00:07:34 +08:00

1429 lines
23 KiB
JSON

{
"last_node_id": 51,
"last_link_id": 78,
"nodes": [
{
"id": 11,
"type": "MaskToImage",
"pos": [
616.5591089032268,
1302.6060791015625
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 57
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 12,
"type": "PreviewImage",
"pos": [
1141.8371240399456,
596.7792649072063
],
"size": [
210,
246
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 10
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 19,
"type": "VAEDecode",
"pos": [
2597.88213746768,
130
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": false
},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 18
},
{
"name": "vae",
"type": "VAE",
"link": 19
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
20
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 9,
"type": "MergeLayers",
"pos": [
2907.88213746768,
130
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "layers",
"type": "LAYER",
"link": 68
},
{
"name": "image",
"type": "IMAGE",
"link": 20
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
11,
35
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MergeLayers"
}
},
{
"id": 25,
"type": "VAEDecode",
"pos": [
4190.493073194242,
130
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": false
},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 27
},
{
"name": "vae",
"type": "VAE",
"link": 41
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
38
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 18,
"type": "CLIPTextEncode",
"pos": [
616.5591089032268,
506
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 17
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
14,
33
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark"
]
},
{
"id": 16,
"type": "EmptyLatentImage",
"pos": [
100,
130
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
15
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
816,
1
]
},
{
"id": 13,
"type": "PreviewImage",
"pos": [
3217.88213746768,
130
],
"size": [
457.61093572656273,
1138.5205337519535
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 11
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 8,
"type": "EmptyLayer",
"pos": [
100,
366
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "layers",
"type": "LAYER",
"links": [
5
],
"shape": 6,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLayer"
},
"widgets_values": [
512,
512
]
},
{
"id": 3,
"type": "PreviewImage",
"pos": [
1141.8371240399456,
130
],
"size": [
140,
336.7792649072063
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 56
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 14,
"type": "KSampler",
"pos": [
2182.88213746768,
130
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 12
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 73
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 14
},
{
"name": "latent_image",
"type": "LATENT",
"link": 15
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
18
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
611812035084283,
"randomize",
12,
4,
"uni_pc",
"karras",
1
]
},
{
"id": 41,
"type": "Reroute",
"pos": [
616.5591089032268,
1146.6060791015625
],
"size": [
75,
26
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 55
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
56
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 47,
"type": "PreviewImage",
"pos": [
616.5591089032268,
130
],
"size": [
210,
246
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 46,
"type": "TextImage",
"pos": [
100,
578
],
"size": {
"0": 315,
"1": 234
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
65,
66
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
67
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "TextImage"
},
"widgets_values": [
"虎躍龍騰迎新春",
"C:\\Users\\38957\\Documents\\ai-lab\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\comfyui-mixlab-nodes\\assets\\王汉宗颜楷体繁.ttf",
173,
15,
null,
true,
null
]
},
{
"id": 48,
"type": "NewLayer",
"pos": [
1141.8371240399456,
972.7792649072063
],
"size": {
"0": 315,
"1": 218
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 66
},
{
"name": "mask",
"type": "MASK",
"link": 67
},
{
"name": "layers",
"type": "LAYER",
"link": 69
}
],
"outputs": [
{
"name": "layers",
"type": "LAYER",
"links": [
68
],
"shape": 6,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "NewLayer"
},
"widgets_values": [
405,
321,
512,
512,
0,
"height"
]
},
{
"id": 10,
"type": "NewLayer",
"pos": [
616.5591089032268,
1458.6060791015625
],
"size": {
"0": 315,
"1": 218
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 58
},
{
"name": "mask",
"type": "MASK",
"link": 59
},
{
"name": "layers",
"type": "LAYER",
"link": 5
}
],
"outputs": [
{
"name": "layers",
"type": "LAYER",
"links": [
69
],
"shape": 6,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "NewLayer"
},
"widgets_values": [
0,
30,
512,
512,
0,
"height"
]
},
{
"id": 50,
"type": "GLIGENLoader",
"pos": [
100,
942
],
"size": [
416.55910890322684,
58
],
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "GLIGEN",
"type": "GLIGEN",
"links": [
70
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "GLIGENLoader"
},
"widgets_values": [
"gligen_sd14_textbox_pruned_fp16.safetensors"
]
},
{
"id": 49,
"type": "GLIGENTextBoxApply",
"pos": [
1664.6821557782268,
130
],
"size": {
"0": 418.1999816894531,
"1": 212
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "conditioning_to",
"type": "CONDITIONING",
"link": 72
},
{
"name": "clip",
"type": "CLIP",
"link": 71,
"slot_index": 1
},
{
"name": "gligen_textbox_model",
"type": "GLIGEN",
"link": 70,
"slot_index": 2
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
73
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GLIGENTextBoxApply"
},
"widgets_values": [
"",
384,
608,
64,
112
]
},
{
"id": 40,
"type": "TextImage",
"pos": [
100,
1358
],
"size": {
"0": 315,
"1": 234
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
55,
58
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
57,
59
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "TextImage"
},
"widgets_values": [
"龍馬精神迎新歲",
"C:\\Users\\38957\\Documents\\ai-lab\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\comfyui-mixlab-nodes\\assets\\王汉宗颜楷体繁.ttf",
173,
15,
null,
true,
null
]
},
{
"id": 30,
"type": "PreviewImage",
"pos": [
4500.493073194242,
130
],
"size": [
624.5976165254451,
1013.9096490699997
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 38
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 32,
"type": "ShowTextForGPT",
"pos": [
616.5591089032268,
1806.6060791015625
],
"size": [
400.28631037327193,
121.63443180212278
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 43,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
51
],
"shape": 6,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ShowTextForGPT"
},
"widgets_values": [
"ink painting of a graceful ribbon-shaped dragon, abyss, clouds and mist"
]
},
{
"id": 17,
"type": "CLIPTextEncode",
"pos": [
1141.8371240399456,
1320.7792649072062
],
"size": [
422.84503173828125,
164.31304931640625
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 16
},
{
"name": "text",
"type": "STRING",
"link": 51,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
72
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"beautiful scenery nature glass bottle landscape, , purple galaxy bottle,"
]
},
{
"id": 31,
"type": "ChatGPTOpenAI",
"pos": [
100,
1912.3751525878906
],
"size": {
"0": 400,
"1": 358
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
43
],
"shape": 3,
"slot_index": 0
},
{
"name": "messages",
"type": "STRING",
"links": null,
"shape": 3
},
{
"name": "session_history",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ChatGPTOpenAI"
},
"widgets_values": [
null,
null,
"丹青水墨画,造型优雅的蟠龙,深渊,云雾",
"翻译成英文",
"gpt-3.5-turbo",
9645,
"fixed",
0,
null
]
},
{
"id": 29,
"type": "VAEEncode",
"pos": [
3217.88213746768,
1398.5205337519535
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 35
},
{
"name": "vae",
"type": "VAE",
"link": 37,
"slot_index": 1
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
36
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 15,
"type": "CheckpointLoaderSimple",
"pos": [
100,
1130
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
12,
78
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
16,
17,
49,
71
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
19,
37,
41
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"deliberate_v2.safetensors"
]
},
{
"id": 20,
"type": "KSampler",
"pos": [
3775.4930731942427,
130
],
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 78
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 77
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 33
},
{
"name": "latent_image",
"type": "LATENT",
"link": 36
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
27
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
379001282519980,
"randomize",
15,
5.9,
"uni_pc",
"karras",
0.25
]
},
{
"id": 37,
"type": "CLIPTextEncode",
"pos": [
616.5591089032268,
816.6060791015625
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 49
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
77
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"render by ue5,blender,"
]
}
],
"links": [
[
2,
6,
0,
3,
0,
"IMAGE"
],
[
5,
8,
0,
10,
2,
"LAYER"
],
[
10,
11,
0,
12,
0,
"IMAGE"
],
[
11,
9,
0,
13,
0,
"IMAGE"
],
[
12,
15,
0,
14,
0,
"MODEL"
],
[
14,
18,
0,
14,
2,
"CONDITIONING"
],
[
15,
16,
0,
14,
3,
"LATENT"
],
[
16,
15,
1,
17,
0,
"CLIP"
],
[
17,
15,
1,
18,
0,
"CLIP"
],
[
18,
14,
0,
19,
0,
"LATENT"
],
[
19,
15,
2,
19,
1,
"VAE"
],
[
20,
19,
0,
9,
1,
"IMAGE"
],
[
27,
20,
0,
25,
0,
"LATENT"
],
[
33,
18,
0,
20,
2,
"CONDITIONING"
],
[
35,
9,
0,
29,
0,
"IMAGE"
],
[
36,
29,
0,
20,
3,
"LATENT"
],
[
37,
15,
2,
29,
1,
"VAE"
],
[
38,
25,
0,
30,
0,
"IMAGE"
],
[
41,
15,
2,
25,
1,
"VAE"
],
[
43,
31,
0,
32,
0,
"STRING"
],
[
49,
15,
1,
37,
0,
"CLIP"
],
[
51,
32,
0,
17,
1,
"STRING"
],
[
55,
40,
0,
41,
0,
"*"
],
[
56,
41,
0,
3,
0,
"IMAGE"
],
[
57,
40,
1,
11,
0,
"MASK"
],
[
58,
40,
0,
10,
0,
"IMAGE"
],
[
59,
40,
1,
10,
1,
"MASK"
],
[
65,
46,
0,
47,
0,
"IMAGE"
],
[
66,
46,
0,
48,
0,
"IMAGE"
],
[
67,
46,
1,
48,
1,
"MASK"
],
[
68,
48,
0,
9,
0,
"LAYER"
],
[
69,
10,
0,
48,
2,
"LAYER"
],
[
70,
50,
0,
49,
2,
"GLIGEN"
],
[
71,
15,
1,
49,
1,
"CLIP"
],
[
72,
17,
0,
49,
0,
"CONDITIONING"
],
[
73,
49,
0,
14,
1,
"CONDITIONING"
],
[
77,
37,
0,
20,
1,
"CONDITIONING"
],
[
78,
15,
0,
20,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}