Files
asagi4-comfyui-prompt-control/workflows/example.json
T
2023-12-28 23:18:34 +02:00

1714 lines
28 KiB
JSON

{
"last_node_id": 51,
"last_link_id": 97,
"nodes": [
{
"id": 34,
"type": "Reroute",
"pos": [
1145,
-342
],
"size": [
75,
26
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 51
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
52
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 10,
"type": "CheckpointLoaderSimple",
"pos": [
-186,
-203
],
"size": {
"0": 319.8316650390625,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
9
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
11
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
42
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"revanimated_v122-0900-0868-0708.safetensors"
]
},
{
"id": 41,
"type": "PromptToSchedule",
"pos": [
405,
72
],
"size": {
"0": 210,
"1": 46.00000762939453
},
"flags": {
"collapsed": true
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 94,
"widget": {
"name": "text"
},
"slot_index": 0
}
],
"outputs": [
{
"name": "PROMPT_SCHEDULE",
"type": "PROMPT_SCHEDULE",
"links": [
56
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PromptToSchedule"
},
"widgets_values": [
"sketch, painting, blurry, text, watermark, figurine, [3d:0.2]"
]
},
{
"id": 47,
"type": "ScheduleToModel",
"pos": [
401,
435
],
"size": {
"0": 267,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 78
},
{
"name": "prompt_schedule",
"type": "PROMPT_SCHEDULE",
"link": 69
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
88
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ScheduleToModel"
}
},
{
"id": 46,
"type": "ScheduleToCond",
"pos": [
401,
477
],
"size": {
"0": 355.20001220703125,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 77
},
{
"name": "prompt_schedule",
"type": "PROMPT_SCHEDULE",
"link": 68
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
89
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ScheduleToCond"
}
},
{
"id": 11,
"type": "Reroute",
"pos": [
248,
-214
],
"size": [
75,
26
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 9
}
],
"outputs": [
{
"name": "",
"type": "MODEL",
"links": [
61,
78
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 39,
"type": "ScheduleToCond",
"pos": [
405,
26
],
"size": {
"0": 355.20001220703125,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 60
},
{
"name": "prompt_schedule",
"type": "PROMPT_SCHEDULE",
"link": 54
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
80
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ScheduleToCond"
}
},
{
"id": 40,
"type": "ScheduleToModel",
"pos": [
405,
-17
],
"size": {
"0": 267,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 61
},
{
"name": "prompt_schedule",
"type": "PROMPT_SCHEDULE",
"link": 55
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
79
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ScheduleToModel"
}
},
{
"id": 38,
"type": "PromptToSchedule",
"pos": [
405,
-54
],
"size": {
"0": 210,
"1": 46.00000762939453
},
"flags": {
"collapsed": true
},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 93,
"widget": {
"name": "text"
},
"slot_index": 0
}
],
"outputs": [
{
"name": "PROMPT_SCHEDULE",
"type": "PROMPT_SCHEDULE",
"links": [
54,
55
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PromptToSchedule"
},
"widgets_values": [
"stadium, outdoors BREAK\n[<lora:vector_revanimated:0.5>::0.5]\n\na [multicolored:red:0.2,0.7] pastel [[cat:dog person:0.5]:anthropomorphic tiger:HR]\n\n[AND MASK(0 0.5,0 1, 1):,:0.5] sunglasses"
]
},
{
"id": 29,
"type": "VAEDecode",
"pos": [
972,
-271
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 84
},
{
"name": "vae",
"type": "VAE",
"link": 44
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
45
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 32,
"type": "VAEDecode",
"pos": [
1180,
99
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 87
},
{
"name": "vae",
"type": "VAE",
"link": 52
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
48
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 12,
"type": "Reroute",
"pos": [
248,
-173
],
"size": [
75,
26
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 11
}
],
"outputs": [
{
"name": "",
"type": "CLIP",
"links": [
60,
76,
77,
92
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 18,
"type": "PrimitiveNode",
"pos": [
136,
528
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
64
],
"slot_index": 0,
"widget": {
"name": "tags"
}
}
],
"title": "Second pass tag",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
"HR"
]
},
{
"id": 21,
"type": "PrimitiveNode",
"pos": [
136,
404
],
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"links": [
66
],
"slot_index": 0,
"widget": {
"name": "end"
}
}
],
"title": "2nd pass remove after",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
1,
"fixed"
]
},
{
"id": 20,
"type": "PrimitiveNode",
"pos": [
136,
277
],
"size": {
"0": 210,
"1": 82
},
"flags": {
"collapsed": false
},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "FLOAT",
"type": "FLOAT",
"links": [
65
],
"slot_index": 0,
"widget": {
"name": "start"
}
}
],
"title": "2nd pass remove before",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
0,
"fixed"
]
},
{
"id": 44,
"type": "FilterSchedule",
"pos": [
401,
387
],
"size": {
"0": 393,
"1": 106
},
"flags": {
"collapsed": true
},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "prompt_schedule",
"type": "PROMPT_SCHEDULE",
"link": 70,
"slot_index": 0
},
{
"name": "tags",
"type": "STRING",
"link": 64,
"widget": {
"name": "tags"
}
},
{
"name": "start",
"type": "FLOAT",
"link": 65,
"widget": {
"name": "start"
}
},
{
"name": "end",
"type": "FLOAT",
"link": 66,
"widget": {
"name": "end"
}
}
],
"outputs": [
{
"name": "PROMPT_SCHEDULE",
"type": "PROMPT_SCHEDULE",
"links": [
68,
69
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "FilterSchedule"
},
"widgets_values": [
"HR",
0,
1
]
},
{
"id": 42,
"type": "ScheduleToCond",
"pos": [
408,
122
],
"size": {
"0": 355.20001220703125,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 92
},
{
"name": "prompt_schedule",
"type": "PROMPT_SCHEDULE",
"link": 56
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
81
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ScheduleToCond"
}
},
{
"id": 49,
"type": "ScheduleToCond",
"pos": [
398,
567
],
"size": {
"0": 355.20001220703125,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 76,
"slot_index": 0
},
{
"name": "prompt_schedule",
"type": "PROMPT_SCHEDULE",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
90
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ScheduleToCond"
}
},
{
"id": 48,
"type": "PromptToSchedule",
"pos": [
392,
520
],
"size": {
"0": 210,
"1": 34
},
"flags": {
"collapsed": true
},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 95,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "PROMPT_SCHEDULE",
"type": "PROMPT_SCHEDULE",
"links": [
75
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PromptToSchedule"
},
"widgets_values": [
"sketch, painting, blurry, text, watermark, figurine, [3d:0.2]"
]
},
{
"id": 43,
"type": "PromptToSchedule",
"pos": [
392,
345
],
"size": {
"0": 400,
"1": 200
},
"flags": {
"collapsed": true
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 96,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "PROMPT_SCHEDULE",
"type": "PROMPT_SCHEDULE",
"links": [
70
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "PromptToSchedule"
},
"widgets_values": [
"stadium, outdoors BREAK\n[<lora:vector_revanimated:0.5>::0.5]\n\na [multicolored:red:0.2,0.7] pastel [[cat:dog person:0.5]:anthropomorphic tiger:HR]\n\n[AND MASK(0 0.5,0 1, 1):,:0.5] sunglasses"
]
},
{
"id": 25,
"type": "Reroute",
"pos": [
170,
-340
],
"size": [
75,
26
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 42
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
97
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 30,
"type": "Reroute",
"pos": [
880,
-340
],
"size": [
75,
26
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 97
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
44,
51
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 26,
"type": "EmptyLatentImage",
"pos": [
393,
-253
],
"size": {
"0": 210,
"1": 106
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
82
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 28,
"type": "LatentUpscaleBy",
"pos": [
585,
352
],
"size": [
254,
82
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 85
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
86
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LatentUpscaleBy"
},
"widgets_values": [
"nearest-exact",
1.5
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 51,
"type": "KSampler",
"pos": [
915,
-205
],
"size": {
"0": 215.8475341796875,
"1": 446
},
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 88,
"slot_index": 0
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 89,
"slot_index": 1
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 90,
"slot_index": 2
},
{
"name": "latent_image",
"type": "LATENT",
"link": 86,
"slot_index": 3
},
{
"name": "seed",
"type": "INT",
"link": 91,
"widget": {
"name": "seed"
},
"slot_index": 4
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
87
],
"shape": 3,
"slot_index": 0
}
],
"title": "KSampler (2nd)",
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
1,
"randomize",
20,
8,
"euler",
"karras",
0.6
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 24,
"type": "PrimitiveNode",
"pos": [
-182,
-340
],
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
83,
91
],
"slot_index": 0,
"widget": {
"name": "seed"
}
}
],
"title": "Seed",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
1,
"fixed"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 50,
"type": "KSampler",
"pos": [
639,
-205
],
"size": {
"0": 215.8475341796875,
"1": 446
},
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 79,
"slot_index": 0
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 80,
"slot_index": 1
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 81,
"slot_index": 2
},
{
"name": "latent_image",
"type": "LATENT",
"link": 82,
"slot_index": 3
},
{
"name": "seed",
"type": "INT",
"link": 83,
"widget": {
"name": "seed"
},
"slot_index": 4
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
84,
85
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
1,
"randomize",
20,
7,
"euler",
"karras",
1
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1,
"type": "PrimitiveNode",
"pos": [
-190,
-60
],
"size": {
"0": 300,
"1": 160
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
93,
96
],
"slot_index": 0,
"widget": {
"name": "text"
}
}
],
"title": "Positive",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
"stadium, outdoors BREAK\n[<lora:vector_revanimated:0.5>::0.5]\n\na [multicolored:red:0.2,0.7] pastel [[cat:dog person:0.5]:anthropomorphic tiger:HR]\n\n[AND MASK(0 0.5,0 1, 1):,:0.5] sunglasses"
],
"color": "#2a363b",
"bgcolor": "#3f5159",
"shape": 1
},
{
"id": 2,
"type": "PrimitiveNode",
"pos": [
-190,
146
],
"size": {
"0": 300,
"1": 160
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
94,
95
],
"slot_index": 0,
"widget": {
"name": "text"
}
}
],
"title": "Negative",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
"sketch, painting, blurry, text, watermark, figurine, [3d:0.2]"
],
"color": "#322",
"bgcolor": "#533",
"shape": 1
},
{
"id": 31,
"type": "PreviewImage",
"pos": [
1179,
-200
],
"size": {
"0": 210,
"1": 250
},
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 45
}
],
"title": "First pass",
"properties": {
"Node name for S&R": "PreviewImage"
},
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "PreviewImage",
"pos": [
1170,
147
],
"size": {
"0": 320,
"1": 340
},
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 48
}
],
"title": "Second pass",
"properties": {
"Node name for S&R": "PreviewImage"
},
"color": "#2a363b",
"bgcolor": "#3f5159"
}
],
"links": [
[
9,
10,
0,
11,
0,
"*"
],
[
11,
10,
1,
12,
0,
"*"
],
[
42,
10,
2,
25,
0,
"*"
],
[
44,
30,
0,
29,
1,
"VAE"
],
[
45,
29,
0,
31,
0,
"IMAGE"
],
[
48,
32,
0,
33,
0,
"IMAGE"
],
[
51,
30,
0,
34,
0,
"*"
],
[
52,
34,
0,
32,
1,
"VAE"
],
[
54,
38,
0,
39,
1,
"PROMPT_SCHEDULE"
],
[
55,
38,
0,
40,
1,
"PROMPT_SCHEDULE"
],
[
56,
41,
0,
42,
1,
"PROMPT_SCHEDULE"
],
[
60,
12,
0,
39,
0,
"CLIP"
],
[
61,
11,
0,
40,
0,
"MODEL"
],
[
64,
18,
0,
44,
1,
"STRING"
],
[
65,
20,
0,
44,
2,
"FLOAT"
],
[
66,
21,
0,
44,
3,
"FLOAT"
],
[
68,
44,
0,
46,
1,
"PROMPT_SCHEDULE"
],
[
69,
44,
0,
47,
1,
"PROMPT_SCHEDULE"
],
[
70,
43,
0,
44,
0,
"PROMPT_SCHEDULE"
],
[
75,
48,
0,
49,
1,
"PROMPT_SCHEDULE"
],
[
76,
12,
0,
49,
0,
"CLIP"
],
[
77,
12,
0,
46,
0,
"CLIP"
],
[
78,
11,
0,
47,
0,
"MODEL"
],
[
79,
40,
0,
50,
0,
"MODEL"
],
[
80,
39,
0,
50,
1,
"CONDITIONING"
],
[
81,
42,
0,
50,
2,
"CONDITIONING"
],
[
82,
26,
0,
50,
3,
"LATENT"
],
[
83,
24,
0,
50,
4,
"INT"
],
[
84,
50,
0,
29,
0,
"LATENT"
],
[
85,
50,
0,
28,
0,
"LATENT"
],
[
86,
28,
0,
51,
3,
"LATENT"
],
[
87,
51,
0,
32,
0,
"LATENT"
],
[
88,
47,
0,
51,
0,
"MODEL"
],
[
89,
46,
0,
51,
1,
"CONDITIONING"
],
[
90,
49,
0,
51,
2,
"CONDITIONING"
],
[
91,
24,
0,
51,
4,
"INT"
],
[
92,
12,
0,
42,
0,
"CLIP"
],
[
93,
1,
0,
38,
0,
"STRING"
],
[
94,
2,
0,
41,
0,
"STRING"
],
[
95,
2,
0,
48,
0,
"STRING"
],
[
96,
1,
0,
43,
0,
"STRING"
],
[
97,
25,
0,
30,
0,
"*"
]
],
"groups": [
{
"title": "First pass",
"bounding": [
393,
-120,
190,
269
],
"color": "#8A8",
"font_size": 24
},
{
"title": "Second pass + upscale",
"bounding": [
384,
278,
465,
313
],
"color": "#3f789e",
"font_size": 24
},
{
"title": "Filtering",
"bounding": [
127,
203,
227,
387
],
"color": "#3f789e",
"font_size": 24
}
],
"config": {},
"extra": {},
"version": 0.4
}