Files
logtd-ComfyUI-Fluxtapoz/example_workflows/example_flux_unsampling.json
T
2024-08-14 22:14:17 -06:00

1672 lines
27 KiB
JSON

{
"last_node_id": 64,
"last_link_id": 161,
"nodes": [
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
528.0820035319218,
295.0153137522956
],
"size": {
"0": 272.3617858886719,
"1": 124.53733825683594
},
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 127,
"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": 158,
"slot_index": 4
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
24
],
"shape": 3,
"slot_index": 0
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
}
},
{
"id": 54,
"type": "SaveImage",
"pos": [
1171,
-962
],
"size": {
"0": 985.3012084960938,
"1": 1060.3828125
},
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 141
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 51,
"type": "FlipSigmas",
"pos": [
-362,
640
],
"size": {
"0": 140,
"1": 26
},
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "sigmas",
"type": "SIGMAS",
"link": 130
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
131
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "FlipSigmas"
}
},
{
"id": 49,
"type": "BasicScheduler",
"pos": [
-400,
713
],
"size": {
"0": 210,
"1": 106
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 135,
"slot_index": 0
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
130
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
30,
1
]
},
{
"id": 52,
"type": "InFluxModelSamplingPred",
"pos": [
-392,
867
],
"size": {
"0": 210,
"1": 122
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 134
},
{
"name": "width",
"type": "INT",
"link": 137,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 138,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
135,
136
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "InFluxModelSamplingPred"
},
"widgets_values": [
1.15,
0.5,
1024,
1024
]
},
{
"id": 50,
"type": "DisableNoise",
"pos": [
-346,
441
],
"size": {
"0": 140,
"1": 26
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
128
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DisableNoise"
}
},
{
"id": 34,
"type": "PrimitiveNode",
"pos": [
-1336,
674
],
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
121,
137,
142
],
"slot_index": 0,
"widget": {
"name": "width"
}
}
],
"title": "width",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
1024,
"fixed"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 53,
"type": "VAEDecode",
"pos": [
-91,
-327
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 139
},
{
"name": "vae",
"type": "VAE",
"link": 140
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
141
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 22,
"type": "BasicGuider",
"pos": [
538.0820035319218,
195.01531375229547
],
"size": {
"0": 222.3482666015625,
"1": 46
},
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 146,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 150,
"slot_index": 1
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
30
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BasicGuider"
}
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1024,
247
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 48,
"type": "DisableNoise",
"pos": [
600.0820035319217,
484.0153137522956
],
"size": {
"0": 140,
"1": 26
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
127
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DisableNoise"
}
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
558.0820035319217,
553.015313752295
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"dpmpp_2m"
]
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
557.0820035319217,
659.015313752295
],
"size": {
"0": 210,
"1": 106
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 145,
"slot_index": 0
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
20
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
20,
1
]
},
{
"id": 55,
"type": "OutFluxModelSamplingPred",
"pos": [
557.0820035319217,
824.015313752295
],
"size": {
"0": 210,
"1": 122
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 144
},
{
"name": "width",
"type": "INT",
"link": 142,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 143,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
145,
146
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "OutFluxModelSamplingPred"
},
"widgets_values": [
1.15,
0.5,
1024,
1024
]
},
{
"id": 35,
"type": "PrimitiveNode",
"pos": [
-1335,
799
],
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
122,
138,
143
],
"widget": {
"name": "height"
},
"slot_index": 0
}
],
"title": "height",
"properties": {
"Run widget replace on values": false
},
"widgets_values": [
1024,
"fixed"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 40,
"type": "ImageScale",
"pos": [
-1338,
494
],
"size": {
"0": 210,
"1": 130
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 118
},
{
"name": "width",
"type": "INT",
"link": 121,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 122,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
119,
151
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"nearest-exact",
1024,
1024,
"center"
]
},
{
"id": 10,
"type": "VAELoader",
"pos": [
-1331,
378
],
"size": {
"0": 210,
"1": 58
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
12,
120,
140
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 11,
"type": "DualCLIPLoader",
"pos": [
-1322,
219
],
"size": {
"0": 210,
"1": 106
},
"flags": {},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
10,
117
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux"
]
},
{
"id": 12,
"type": "UNETLoader",
"pos": [
-1322,
74
],
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
134,
144
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux1-dev-fp8.safetensors",
"fp8_e4m3fn"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 41,
"type": "VAEEncode",
"pos": [
-832,
602
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 119
},
{
"name": "vae",
"type": "VAE",
"link": 120
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
132
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 46,
"type": "BasicGuider",
"pos": [
-330,
188
],
"size": {
"0": 161.1999969482422,
"1": 46
},
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 136,
"slot_index": 0
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 148,
"slot_index": 1
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
124
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BasicGuider"
}
},
{
"id": 45,
"type": "SamplerCustomAdvanced",
"pos": [
-383,
283
],
"size": {
"0": 236.8000030517578,
"1": 107.92439270019531
},
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 128,
"slot_index": 0
},
{
"name": "guider",
"type": "GUIDER",
"link": 124,
"slot_index": 1
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 161,
"slot_index": 2
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 131,
"slot_index": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": 132,
"slot_index": 4
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
139,
158
],
"shape": 3,
"slot_index": 0
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
}
},
{
"id": 57,
"type": "ConditioningZeroOut",
"pos": [
178.08200353192115,
215.01531375229547
],
"size": {
"0": 211.60000610351562,
"1": 26
},
"flags": {},
"order": 21,
"mode": 4,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 160
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
150
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut"
}
},
{
"id": 38,
"type": "CLIPTextEncode",
"pos": [
-856,
361
],
"size": {
"0": 285.6000061035156,
"1": 160.4750213623047
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 117
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
152
],
"slot_index": 0
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"a wolf"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 56,
"type": "ConditioningZeroOut",
"pos": [
-808,
171
],
"size": {
"0": 211.60000610351562,
"1": 26
},
"flags": {},
"order": 22,
"mode": 4,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 153
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
148
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut"
}
},
{
"id": 60,
"type": "FluxDeGuidance",
"pos": [
-817,
247
],
"size": {
"0": 211.60000610351562,
"1": 58
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 152
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
153
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "FluxDeGuidance"
},
"widgets_values": [
0
]
},
{
"id": 62,
"type": "FluxDeGuidance",
"pos": [
168.08200353192115,
293.0153137522956
],
"size": {
"0": 211.60000610351562,
"1": 58
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 159
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
160
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "FluxDeGuidance"
},
"widgets_values": [
0.5
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
145.08200353192123,
400.0153137522956
],
"size": {
"0": 285.6000061035156,
"1": 140.37612915039062
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 10
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
159
],
"slot_index": 0
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"wolf wearing a santa hat"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 64,
"type": "FluxInverseSampler",
"pos": [
-365,
527
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 8,
"mode": 0,
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
161
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "FluxInverseSampler"
}
},
{
"id": 58,
"type": "PreviewImage",
"pos": [
1282,
268
],
"size": {
"0": 927.1258544921875,
"1": 1125.657470703125
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 151
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 9,
"type": "SaveImage",
"pos": [
2236,
284
],
"size": {
"0": 985.3012084960938,
"1": 1060.3828125
},
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 39,
"type": "LoadImage",
"pos": [
-2233,
99
],
"size": {
"0": 868.442626953125,
"1": 998.3667602539062
},
"flags": {},
"order": 9,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
118
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"wolfy.jpeg",
"image"
]
}
],
"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"
],
[
117,
11,
0,
38,
0,
"CLIP"
],
[
118,
39,
0,
40,
0,
"IMAGE"
],
[
119,
40,
0,
41,
0,
"IMAGE"
],
[
120,
10,
0,
41,
1,
"VAE"
],
[
121,
34,
0,
40,
1,
"INT"
],
[
122,
35,
0,
40,
2,
"INT"
],
[
124,
46,
0,
45,
1,
"GUIDER"
],
[
127,
48,
0,
13,
0,
"NOISE"
],
[
128,
50,
0,
45,
0,
"NOISE"
],
[
130,
49,
0,
51,
0,
"SIGMAS"
],
[
131,
51,
0,
45,
3,
"SIGMAS"
],
[
132,
41,
0,
45,
4,
"LATENT"
],
[
134,
12,
0,
52,
0,
"MODEL"
],
[
135,
52,
0,
49,
0,
"MODEL"
],
[
136,
52,
0,
46,
0,
"MODEL"
],
[
137,
34,
0,
52,
1,
"INT"
],
[
138,
35,
0,
52,
2,
"INT"
],
[
139,
45,
0,
53,
0,
"LATENT"
],
[
140,
10,
0,
53,
1,
"VAE"
],
[
141,
53,
0,
54,
0,
"IMAGE"
],
[
142,
34,
0,
55,
1,
"INT"
],
[
143,
35,
0,
55,
2,
"INT"
],
[
144,
12,
0,
55,
0,
"MODEL"
],
[
145,
55,
0,
17,
0,
"MODEL"
],
[
146,
55,
0,
22,
0,
"MODEL"
],
[
148,
56,
0,
46,
1,
"CONDITIONING"
],
[
150,
57,
0,
22,
1,
"CONDITIONING"
],
[
151,
40,
0,
58,
0,
"IMAGE"
],
[
152,
38,
0,
60,
0,
"CONDITIONING"
],
[
153,
60,
0,
56,
0,
"CONDITIONING"
],
[
158,
45,
0,
13,
4,
"LATENT"
],
[
159,
6,
0,
62,
0,
"CONDITIONING"
],
[
160,
62,
0,
57,
0,
"CONDITIONING"
],
[
161,
64,
0,
45,
2,
"SAMPLER"
]
],
"groups": [
{
"title": "Unsampling",
"bounding": [
-901,
-1,
876,
1050
],
"color": "#3f789e",
"font_size": 24
},
{
"title": "Sampling",
"bounding": [
101,
-2,
739,
1060
],
"color": "#3f789e",
"font_size": 24
},
{
"title": "Setup",
"bounding": [
-2254,
-50,
1174,
1184
],
"color": "#3f789e",
"font_size": 24
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.2673486306413913,
"offset": [
655.0318975661478,
820.3596857375551
]
},
"groupNodes": {}
},
"version": 0.4
}