Files
Trung0246-ComfyUI-0246/assets/workflow_loop.json
T
2023-11-25 04:12:14 -08:00

1896 lines
30 KiB
JSON

{
"last_node_id": 191,
"last_link_id": 981,
"nodes": [
{
"id": 150,
"type": "EmptyLatentImage",
"pos": [
-10,
1180
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
827
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 152,
"type": "CLIPTextEncode",
"pos": [
800,
630
],
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 829
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
869
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"beautiful scenery nature glass bottle landscape, purple galaxy bottle"
]
},
{
"id": 153,
"type": "CLIPTextEncode",
"pos": [
800,
850
],
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 830
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
870
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark"
]
},
{
"id": 160,
"type": "VAEDecode",
"pos": [
3300,
640
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 877
},
{
"name": "vae",
"type": "VAE",
"link": 880
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
858
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 162,
"type": "PreviewImage",
"pos": [
3700,
720
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 858
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 159,
"type": "PreviewImage",
"pos": [
3700,
420
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 857
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 154,
"type": "KSampler",
"pos": [
1650,
640
],
"size": {
"0": 315,
"1": 446
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 833
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 834
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 835
},
{
"name": "latent_image",
"type": "LATENT",
"link": 836
},
{
"name": "seed",
"type": "INT",
"link": 861,
"widget": {
"name": "seed"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
873
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
535916690980501,
"randomize",
20,
8,
"euler",
"normal",
1
]
},
{
"id": 4,
"type": "CheckpointLoaderSimple",
"pos": [
-10,
870
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
823
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
824
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
825
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"AnythingV5Ink_ink.safetensors"
]
},
{
"id": 151,
"type": "EmptyLatentImage",
"pos": [
-10,
1340
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
828
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
800,
1
]
},
{
"id": 5,
"type": "EmptyLatentImage",
"pos": [
-10,
1020
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
826
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
800,
512,
1
]
},
{
"id": 124,
"type": "Seed (rgthree)",
"pos": [
100,
510
],
"size": {
"0": 210,
"1": 130
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "SEED",
"type": "INT",
"links": [
819
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Seed (rgthree)"
},
"widgets_values": [
997721674573342,
null,
null,
null
]
},
{
"id": 125,
"type": "Seed (rgthree)",
"pos": [
100,
690
],
"size": {
"0": 210,
"1": 130
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "SEED",
"type": "INT",
"links": [
818
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Seed (rgthree)"
},
"widgets_values": [
194333301345543,
null,
null,
null
]
},
{
"id": 126,
"type": "Seed (rgthree)",
"pos": [
100,
330
],
"size": {
"0": 210,
"1": 130
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "SEED",
"type": "INT",
"links": [
817
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Seed (rgthree)"
},
"widgets_values": [
780159715176761,
null,
null,
null
]
},
{
"id": 155,
"type": "KSampler",
"pos": [
1650,
1130
],
"size": {
"0": 315,
"1": 446
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 837
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 839
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 841
},
{
"name": "latent_image",
"type": "LATENT",
"link": 843
},
{
"name": "seed",
"type": "INT",
"link": 862,
"widget": {
"name": "seed"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
874
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
240195013978446,
"randomize",
20,
8,
"euler",
"normal",
1
]
},
{
"id": 177,
"type": "Seed (rgthree)",
"pos": [
1320,
1710
],
"size": {
"0": 210,
"1": 130
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "SEED",
"type": "INT",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Seed (rgthree)"
},
"widgets_values": [
756034033576907,
null,
null,
null
]
},
{
"id": 179,
"type": "Random",
"pos": [
1220,
1900
],
"size": {
"0": 310,
"1": 172
},
"flags": {},
"order": 8,
"mode": 0,
"outputs": [
{
"name": "rand_int",
"type": "INT",
"links": [
950,
968
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Random"
},
"widgets_values": [
"-1",
0,
9007199254740991,
1,
""
],
"color": "#232"
},
{
"id": 156,
"type": "KSampler",
"pos": [
1650,
1630
],
"size": {
"0": 315,
"1": 446
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 838
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 840
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 842
},
{
"name": "latent_image",
"type": "LATENT",
"link": 844
},
{
"name": "seed",
"type": "INT",
"link": 950,
"widget": {
"name": "seed"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
948,
960
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
261756256982748,
"randomize",
20,
8,
"euler",
"normal",
1
]
},
{
"id": 163,
"type": "PreviewImage",
"pos": [
3460,
990
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 901
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 134,
"type": "Junction",
"pos": [
490,
530
],
"size": {
"0": 210,
"1": 258
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "_junc_in",
"type": "JUNCTION_PIPE",
"link": null,
"dir": 3
},
{
"name": "0:INT",
"type": "INT",
"link": 817,
"dir": 3
},
{
"name": "1:INT",
"type": "INT",
"link": 818,
"dir": 3
},
{
"name": "2:INT",
"type": "INT",
"link": 819,
"dir": 3
},
{
"name": "3:MODEL",
"type": "MODEL",
"link": 823,
"dir": 3
},
{
"name": "4:CLIP",
"type": "CLIP",
"link": 824,
"dir": 3
},
{
"name": "5:VAE",
"type": "VAE",
"link": 825,
"dir": 3
},
{
"name": "6:LATENT",
"type": "LATENT",
"link": 826,
"dir": 3
},
{
"name": "7:LATENT",
"type": "LATENT",
"link": 827,
"dir": 3
},
{
"name": "8:LATENT",
"type": "LATENT",
"link": 828,
"dir": 3
},
{
"name": "...",
"type": "*",
"link": null,
"dir": 3
}
],
"outputs": [
{
"name": "_junc_out",
"type": "JUNCTION_PIPE",
"links": [
822
],
"shape": 3,
"slot_index": 0,
"dir": 4
},
{
"name": "CLIP:0",
"type": "CLIP",
"links": [
829,
830
],
"slot_index": 1,
"dir": 4
},
{
"name": "...",
"type": "*",
"links": null,
"dir": 4
}
],
"properties": {
"Node name for S&R": "Junction"
},
"widgets_values": [
";;",
null
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 166,
"type": "Junction",
"pos": [
2770,
530
],
"size": {
"0": 210,
"1": 138
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "_junc_in",
"type": "JUNCTION_PIPE",
"link": 882,
"dir": 3
},
{
"name": "0:LATENT",
"type": "LATENT",
"link": 873,
"dir": 3
},
{
"name": "1:LATENT",
"type": "LATENT",
"link": 874,
"dir": 3
},
{
"name": "...",
"type": "*",
"link": null,
"dir": 3
}
],
"outputs": [
{
"name": "_junc_out",
"type": "JUNCTION_PIPE",
"links": null,
"shape": 3,
"dir": 4
},
{
"name": "LATENT:0",
"type": "LATENT",
"links": [
876
],
"slot_index": 1,
"dir": 4
},
{
"name": "LATENT:1",
"type": "LATENT",
"links": [
877
],
"slot_index": 2,
"dir": 4
},
{
"name": "VAE:2",
"type": "VAE",
"links": [
879,
880,
898
],
"slot_index": 3,
"dir": 4
},
{
"name": "...",
"type": "*",
"links": null,
"dir": 4
}
],
"properties": {
"Node name for S&R": "Junction"
},
"widgets_values": [
"LATENT,3;",
null
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 158,
"type": "VAEDecode",
"pos": [
3300,
550
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 876
},
{
"name": "vae",
"type": "VAE",
"link": 879
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
857
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 186,
"type": "Hold",
"pos": [
2550,
1470
],
"size": {
"0": 210,
"1": 96
},
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "_data_in",
"type": "*",
"link": 970,
"shape": 3,
"slot_index": 0
},
{
"name": "_hold",
"type": "HOLD_TYPE",
"link": 980,
"slot_index": 1
}
],
"outputs": [
{
"name": "_data_out",
"type": "LATENT",
"links": [
974
],
"shape": 6,
"slot_index": 0
}
],
"properties": {},
"widgets_values": [
"pass",
""
],
"color": "#432",
"bgcolor": "#3f5159"
},
{
"id": 141,
"type": "Junction",
"pos": [
1310,
530
],
"size": {
"0": 245.1999969482422,
"1": 238
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "_junc_in",
"type": "JUNCTION_PIPE",
"link": 822,
"dir": 3
},
{
"name": "0:CONDITIONING",
"type": "CONDITIONING",
"link": 869,
"dir": 3
},
{
"name": "1:CONDITIONING",
"type": "CONDITIONING",
"link": 870,
"dir": 3
},
{
"name": "...",
"type": "*",
"link": null,
"dir": 3
}
],
"outputs": [
{
"name": "_junc_out",
"type": "JUNCTION_PIPE",
"links": [
882
],
"shape": 3,
"slot_index": 0,
"dir": 4
},
{
"name": "MODEL:0",
"type": "MODEL",
"links": [
833,
837,
838,
926
],
"slot_index": 1,
"dir": 4
},
{
"name": "CONDITIONING:1",
"type": "CONDITIONING",
"links": [
834,
839,
840,
927
],
"slot_index": 2,
"dir": 4
},
{
"name": "CONDITIONING:2",
"type": "CONDITIONING",
"links": [
835,
841,
842,
975
],
"slot_index": 3,
"dir": 4
},
{
"name": "LATENT:3",
"type": "LATENT",
"links": [
836
],
"slot_index": 4,
"dir": 4
},
{
"name": "LATENT:4",
"type": "LATENT",
"links": [
843
],
"slot_index": 5,
"dir": 4
},
{
"name": "LATENT:5",
"type": "LATENT",
"links": [
844
],
"slot_index": 6,
"dir": 4
},
{
"name": "INT:6",
"type": "INT",
"links": [
861
],
"slot_index": 7,
"dir": 4
},
{
"name": "INT:7",
"type": "INT",
"links": [
862
],
"slot_index": 8,
"dir": 4
},
{
"name": "...",
"type": "*",
"links": null,
"dir": 4
}
],
"properties": {
"Node name for S&R": "Junction"
},
"widgets_values": [
";",
null
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 176,
"type": "VAEDecode",
"pos": [
3210,
990
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 976,
"slot_index": 0
},
{
"name": "vae",
"type": "VAE",
"link": 898
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
901
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 180,
"type": "KSampler",
"pos": [
2860,
1160
],
"size": {
"0": 315,
"1": 474
},
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 926
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 927
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 975
},
{
"name": "latent_image",
"type": "LATENT",
"link": 974
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
976
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
233348169710898,
"randomize",
20,
8,
"euler",
"normal",
0.6
]
},
{
"id": 185,
"type": "Hold",
"pos": [
2040,
1470
],
"size": {
"0": 210,
"1": 96
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "_data_in",
"type": "LATENT",
"link": 960,
"shape": 3,
"slot_index": 0
},
{
"name": "_hold",
"type": "HOLD_TYPE",
"link": null,
"slot_index": 1
}
],
"outputs": [
{
"name": "_data_out",
"type": "*",
"links": [
970,
977
],
"shape": 6,
"slot_index": 0
}
],
"properties": {},
"widgets_values": [
"hold",
""
],
"color": "#432",
"bgcolor": "#3f5159"
},
{
"id": 191,
"type": "Loop",
"pos": [
2290,
1680
],
"size": {
"0": 210,
"1": 118
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "_event",
"type": "EVENT_TYPE",
"link": 979
},
{
"name": "0:*",
"type": "*",
"link": 977,
"shape": 3
},
{
"name": "1:INT",
"type": "INT",
"link": 981,
"shape": 3
},
{
"name": "...",
"type": "*",
"link": null,
"shape": 3
}
],
"outputs": [
{
"name": "_hold",
"type": "HOLD_TYPE",
"links": [
980
],
"shape": 3,
"slot_index": 0
}
],
"properties": {},
"widgets_values": [
"sweep",
null,
null
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 188,
"type": "Reroute",
"pos": [
1650,
2100
],
"size": [
75,
26
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 968
}
],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
981
],
"slot_index": 0
}
],
"properties": {
"showOutputText": true,
"horizontal": false
}
},
{
"id": 182,
"type": "Count",
"pos": [
2040,
1860
],
"size": {
"0": 210,
"1": 120
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "_node",
"type": "LATENT",
"link": 948,
"shape": 3
}
],
"outputs": [
{
"name": "_count_int",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "_count_event",
"type": "EVENT_TYPE",
"links": [
979
],
"shape": 3,
"slot_index": 1
}
],
"properties": {},
"widgets_values": [
"4",
null,
""
],
"color": "#432",
"bgcolor": "#353"
}
],
"links": [
[
817,
126,
0,
134,
1,
"INT"
],
[
818,
125,
0,
134,
2,
"INT"
],
[
819,
124,
0,
134,
3,
"*"
],
[
822,
134,
0,
141,
0,
"JUNCTION_PIPE"
],
[
823,
4,
0,
134,
4,
"*"
],
[
824,
4,
1,
134,
5,
"*"
],
[
825,
4,
2,
134,
6,
"*"
],
[
826,
5,
0,
134,
7,
"*"
],
[
827,
150,
0,
134,
8,
"*"
],
[
828,
151,
0,
134,
9,
"*"
],
[
829,
134,
1,
152,
0,
"CLIP"
],
[
830,
134,
1,
153,
0,
"CLIP"
],
[
833,
141,
1,
154,
0,
"MODEL"
],
[
834,
141,
2,
154,
1,
"CONDITIONING"
],
[
835,
141,
3,
154,
2,
"CONDITIONING"
],
[
836,
141,
4,
154,
3,
"LATENT"
],
[
837,
141,
1,
155,
0,
"MODEL"
],
[
838,
141,
1,
156,
0,
"MODEL"
],
[
839,
141,
2,
155,
1,
"CONDITIONING"
],
[
840,
141,
2,
156,
1,
"CONDITIONING"
],
[
841,
141,
3,
155,
2,
"CONDITIONING"
],
[
842,
141,
3,
156,
2,
"CONDITIONING"
],
[
843,
141,
5,
155,
3,
"LATENT"
],
[
844,
141,
6,
156,
3,
"LATENT"
],
[
857,
158,
0,
159,
0,
"IMAGE"
],
[
858,
160,
0,
162,
0,
"IMAGE"
],
[
861,
141,
7,
154,
4,
"INT"
],
[
862,
141,
8,
155,
4,
"INT"
],
[
869,
152,
0,
141,
1,
"*"
],
[
870,
153,
0,
141,
2,
"*"
],
[
873,
154,
0,
166,
1,
"*"
],
[
874,
155,
0,
166,
2,
"*"
],
[
876,
166,
1,
158,
0,
"LATENT"
],
[
877,
166,
2,
160,
0,
"LATENT"
],
[
879,
166,
3,
158,
1,
"VAE"
],
[
880,
166,
3,
160,
1,
"VAE"
],
[
882,
141,
0,
166,
0,
"JUNCTION_PIPE"
],
[
898,
166,
3,
176,
1,
"VAE"
],
[
901,
176,
0,
163,
0,
"IMAGE"
],
[
926,
141,
1,
180,
0,
"MODEL"
],
[
927,
141,
2,
180,
1,
"CONDITIONING"
],
[
948,
156,
0,
182,
0,
"LATENT"
],
[
950,
179,
0,
156,
4,
"INT"
],
[
960,
156,
0,
185,
0,
"LATENT"
],
[
968,
179,
0,
188,
0,
"*"
],
[
970,
185,
0,
186,
0,
"*"
],
[
974,
186,
0,
180,
3,
"LATENT"
],
[
975,
141,
3,
180,
2,
"CONDITIONING"
],
[
976,
180,
0,
176,
0,
"LATENT"
],
[
977,
185,
0,
191,
1,
"*"
],
[
979,
182,
1,
191,
0,
"EVENT_TYPE"
],
[
980,
191,
0,
186,
1,
"HOLD_TYPE"
],
[
981,
188,
0,
191,
2,
"INT"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}