Files
logtd-ComfyUI-Fluxtapoz/example_workflows/reflux_workflow_example_updated.json
T
2024-09-15 17:15:08 -06:00

1445 lines
23 KiB
JSON

{
"last_node_id": 51,
"last_link_id": 158,
"nodes": [
{
"id": 12,
"type": "UNETLoader",
"pos": {
"0": -738,
"1": 1366
},
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
117
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux1-dev-fp8.safetensors",
"fp8_e4m3fn"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 42,
"type": "VAEEncode",
"pos": {
"0": -437,
"1": 1167
},
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 129
},
{
"name": "vae",
"type": "VAE",
"link": 125
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
138
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 38,
"type": "ApplyRefFlux",
"pos": {
"0": -399,
"1": 1365
},
"size": {
"0": 168,
"1": 26
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 117
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
134,
150
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ApplyRefFlux"
}
},
{
"id": 8,
"type": "VAEDecode",
"pos": {
"0": 866,
"1": 367
},
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9,
152
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 9,
"type": "SaveImage",
"pos": {
"0": 1282,
"1": 196
},
"size": {
"0": 985.3012084960938,
"1": 1060.3828125
},
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 30,
"type": "ModelSamplingFlux",
"pos": {
"0": -17,
"1": 796
},
"size": {
"0": 210,
"1": 122
},
"flags": {
"collapsed": true
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 134,
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"link": 115,
"slot_index": 1,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 114,
"slot_index": 2,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
141
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ModelSamplingFlux"
},
"widgets_values": [
1.15,
0.5,
1024,
1024
]
},
{
"id": 47,
"type": "ImageConcanate",
"pos": {
"0": 1166,
"1": 1415
},
"size": {
"0": 315,
"1": 102
},
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "image1",
"type": "IMAGE",
"link": 153
},
{
"name": "image2",
"type": "IMAGE",
"link": 154
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
149
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageConcanate"
},
"widgets_values": [
"right",
false
]
},
{
"id": 49,
"type": "AddLabel",
"pos": {
"0": 763,
"1": 1438
},
"size": {
"0": 315,
"1": 274
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 151
},
{
"name": "caption",
"type": "STRING",
"link": null,
"widget": {
"name": "caption"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
153
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "AddLabel"
},
"widgets_values": [
10,
2,
48,
32,
"white",
"black",
"FreeMono.ttf",
"reference",
"up",
""
]
},
{
"id": 48,
"type": "PreviewImage",
"pos": {
"0": 1624,
"1": 1411
},
"size": {
"0": 487.2935791015625,
"1": 431.7406005859375
},
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 149
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 10,
"type": "VAELoader",
"pos": {
"0": -737,
"1": 511
},
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
12,
125
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 11,
"type": "DualCLIPLoader",
"pos": {
"0": -741,
"1": 346
},
"size": {
"0": 210,
"1": 106
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
10
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux"
]
},
{
"id": 50,
"type": "AddLabel",
"pos": {
"0": 1172,
"1": 1594
},
"size": {
"0": 315,
"1": 274
},
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 152
},
{
"name": "caption",
"type": "STRING",
"link": null,
"widget": {
"name": "caption"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
154
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "AddLabel"
},
"widgets_values": [
10,
2,
48,
32,
"white",
"black",
"FreeMono.ttf",
"output",
"up",
""
]
},
{
"id": 25,
"type": "RandomNoise",
"pos": {
"0": 889,
"1": 47
},
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
37
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
0,
"fixed"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": {
"0": 864,
"1": 192
},
"size": {
"0": 236.8000030517578,
"1": 106
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 37,
"slot_index": 0
},
{
"name": "guider",
"type": "GUIDER",
"link": 30,
"slot_index": 1
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 19,
"slot_index": 2
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 20,
"slot_index": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": 116,
"slot_index": 4
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
24
],
"slot_index": 0,
"shape": 3
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
}
},
{
"id": 22,
"type": "BasicGuider",
"pos": {
"0": 500,
"1": 213
},
"size": {
"0": 161.1999969482422,
"1": 46
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 144,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 156,
"slot_index": 1
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
30
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicGuider"
}
},
{
"id": 27,
"type": "EmptySD3LatentImage",
"pos": {
"0": 194,
"1": 632
},
"size": {
"0": 210,
"1": 78
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"link": 112,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 113,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
116
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 46,
"type": "ModelSamplingFlux",
"pos": {
"0": 189,
"1": 927
},
"size": {
"0": 210,
"1": 122
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 143,
"slot_index": 0
},
{
"name": "width",
"type": "INT",
"link": 145,
"slot_index": 1,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 146,
"slot_index": 2,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
144
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ModelSamplingFlux"
},
"widgets_values": [
1.1500000000000001,
0.5,
1024,
1024
]
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": {
"0": 198,
"1": 510
},
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"heun"
]
},
{
"id": 43,
"type": "ImageScale",
"pos": {
"0": -435,
"1": 934
},
"size": [
210,
130
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 128
},
{
"name": "width",
"type": "INT",
"link": 157,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 158,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
129,
151
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"nearest-exact",
1024,
1024,
"center"
]
},
{
"id": 51,
"type": "FluxDeGuidance",
"pos": {
"0": 198,
"1": 363
},
"size": {
"0": 211.60000610351562,
"1": 58
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 155
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
156
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxDeGuidance"
},
"widgets_values": [
3.5
]
},
{
"id": 17,
"type": "BasicScheduler",
"pos": {
"0": 187,
"1": 769
},
"size": {
"0": 210,
"1": 106
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 141,
"slot_index": 0
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
20,
139
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
20,
1
]
},
{
"id": 40,
"type": "LoadImage",
"pos": {
"0": -836,
"1": 968
},
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
128
],
"slot_index": 0,
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"fortnite.jpeg",
"image"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": {
"0": -270,
"1": 359
},
"size": {
"0": 285.6000061035156,
"1": 98.67007446289062
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 10
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
155
],
"slot_index": 0
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"an anime character with blue hair"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 45,
"type": "ConfigureRefFlux",
"pos": {
"0": 190,
"1": 1111
},
"size": {
"0": 210,
"1": 146
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 150
},
{
"name": "latent",
"type": "LATENT",
"link": 138
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 139
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
143
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ConfigureRefFlux"
},
"widgets_values": [
0,
0.26,
1
]
},
{
"id": 34,
"type": "PrimitiveNode",
"pos": {
"0": -741,
"1": 634
},
"size": [
210,
82
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
112,
115,
145,
157
],
"slot_index": 0,
"widget": {
"name": "width"
}
}
],
"title": "width",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
1024,
"fixed"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 35,
"type": "PrimitiveNode",
"pos": {
"0": -740,
"1": 788
},
"size": [
210,
82
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
113,
114,
146,
158
],
"slot_index": 0,
"widget": {
"name": "height"
}
}
],
"title": "height",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
1024,
"fixed"
],
"color": "#323",
"bgcolor": "#535"
}
],
"links": [
[
9,
8,
0,
9,
0,
"IMAGE"
],
[
10,
11,
0,
6,
0,
"CLIP"
],
[
12,
10,
0,
8,
1,
"VAE"
],
[
19,
16,
0,
13,
2,
"SAMPLER"
],
[
20,
17,
0,
13,
3,
"SIGMAS"
],
[
24,
13,
0,
8,
0,
"LATENT"
],
[
30,
22,
0,
13,
1,
"GUIDER"
],
[
37,
25,
0,
13,
0,
"NOISE"
],
[
112,
34,
0,
27,
0,
"INT"
],
[
113,
35,
0,
27,
1,
"INT"
],
[
114,
35,
0,
30,
2,
"INT"
],
[
115,
34,
0,
30,
1,
"INT"
],
[
116,
27,
0,
13,
4,
"LATENT"
],
[
117,
12,
0,
38,
0,
"MODEL"
],
[
125,
10,
0,
42,
1,
"VAE"
],
[
128,
40,
0,
43,
0,
"IMAGE"
],
[
129,
43,
0,
42,
0,
"IMAGE"
],
[
134,
38,
0,
30,
0,
"MODEL"
],
[
138,
42,
0,
45,
1,
"LATENT"
],
[
139,
17,
0,
45,
2,
"SIGMAS"
],
[
141,
30,
0,
17,
0,
"MODEL"
],
[
143,
45,
0,
46,
0,
"MODEL"
],
[
144,
46,
0,
22,
0,
"MODEL"
],
[
145,
34,
0,
46,
1,
"INT"
],
[
146,
35,
0,
46,
2,
"INT"
],
[
149,
47,
0,
48,
0,
"IMAGE"
],
[
150,
38,
0,
45,
0,
"MODEL"
],
[
151,
43,
0,
49,
0,
"IMAGE"
],
[
152,
8,
0,
50,
0,
"IMAGE"
],
[
153,
49,
0,
47,
0,
"IMAGE"
],
[
154,
50,
0,
47,
1,
"IMAGE"
],
[
155,
6,
0,
51,
0,
"CONDITIONING"
],
[
156,
51,
0,
22,
1,
"CONDITIONING"
],
[
157,
34,
0,
43,
1,
"INT"
],
[
158,
35,
0,
43,
2,
"INT"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.0834705943388736,
"offset": [
83.6465795192072,
-710.630378328987
]
},
"groupNodes": {}
},
"version": 0.4
}