Upload 2 files
Browse files- flux-q4-gguf-workflow-api.json +127 -0
- flux-q4-gguf-workflow.json +434 -0
flux-q4-gguf-workflow-api.json
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"5": {
|
3 |
+
"inputs": {
|
4 |
+
"seed": 0,
|
5 |
+
"steps": 40,
|
6 |
+
"cfg": 1,
|
7 |
+
"sampler_name": "euler",
|
8 |
+
"scheduler": "normal",
|
9 |
+
"denoise": 1,
|
10 |
+
"model": [
|
11 |
+
"23",
|
12 |
+
0
|
13 |
+
],
|
14 |
+
"positive": [
|
15 |
+
"22",
|
16 |
+
0
|
17 |
+
],
|
18 |
+
"negative": [
|
19 |
+
"39",
|
20 |
+
0
|
21 |
+
],
|
22 |
+
"latent_image": [
|
23 |
+
"20",
|
24 |
+
0
|
25 |
+
]
|
26 |
+
},
|
27 |
+
"class_type": "KSampler",
|
28 |
+
"_meta": {
|
29 |
+
"title": "KSampler"
|
30 |
+
}
|
31 |
+
},
|
32 |
+
"7": {
|
33 |
+
"inputs": {
|
34 |
+
"samples": [
|
35 |
+
"5",
|
36 |
+
0
|
37 |
+
],
|
38 |
+
"vae": [
|
39 |
+
"8",
|
40 |
+
0
|
41 |
+
]
|
42 |
+
},
|
43 |
+
"class_type": "VAEDecode",
|
44 |
+
"_meta": {
|
45 |
+
"title": "VAE Decode"
|
46 |
+
}
|
47 |
+
},
|
48 |
+
"8": {
|
49 |
+
"inputs": {
|
50 |
+
"vae_name": "flux_vae.safetensors"
|
51 |
+
},
|
52 |
+
"class_type": "VAELoader",
|
53 |
+
"_meta": {
|
54 |
+
"title": "Load VAE"
|
55 |
+
}
|
56 |
+
},
|
57 |
+
"20": {
|
58 |
+
"inputs": {
|
59 |
+
"width": 1024,
|
60 |
+
"height": 1024,
|
61 |
+
"batch_size": 1
|
62 |
+
},
|
63 |
+
"class_type": "EmptyLatentImage",
|
64 |
+
"_meta": {
|
65 |
+
"title": "Empty Latent Image"
|
66 |
+
}
|
67 |
+
},
|
68 |
+
"22": {
|
69 |
+
"inputs": {
|
70 |
+
"text": "",
|
71 |
+
"clip": [
|
72 |
+
"28",
|
73 |
+
0
|
74 |
+
]
|
75 |
+
},
|
76 |
+
"class_type": "CLIPTextEncode",
|
77 |
+
"_meta": {
|
78 |
+
"title": "Positive"
|
79 |
+
}
|
80 |
+
},
|
81 |
+
"23": {
|
82 |
+
"inputs": {
|
83 |
+
"unet_name": "flux1-dev-Q4_0.gguf"
|
84 |
+
},
|
85 |
+
"class_type": "UnetLoaderGGUF",
|
86 |
+
"_meta": {
|
87 |
+
"title": "Unet Loader (GGUF)"
|
88 |
+
}
|
89 |
+
},
|
90 |
+
"28": {
|
91 |
+
"inputs": {
|
92 |
+
"clip_name1": "t5xxl_fp16.safetensors",
|
93 |
+
"clip_name2": "clip-vit-large-patch14.bin",
|
94 |
+
"type": "flux"
|
95 |
+
},
|
96 |
+
"class_type": "DualCLIPLoader",
|
97 |
+
"_meta": {
|
98 |
+
"title": "DualCLIPLoader"
|
99 |
+
}
|
100 |
+
},
|
101 |
+
"34": {
|
102 |
+
"inputs": {
|
103 |
+
"filename_prefix": "ComfyUI",
|
104 |
+
"images": [
|
105 |
+
"7",
|
106 |
+
0
|
107 |
+
]
|
108 |
+
},
|
109 |
+
"class_type": "SaveImage",
|
110 |
+
"_meta": {
|
111 |
+
"title": "Save Image"
|
112 |
+
}
|
113 |
+
},
|
114 |
+
"39": {
|
115 |
+
"inputs": {
|
116 |
+
"text": "",
|
117 |
+
"clip": [
|
118 |
+
"28",
|
119 |
+
0
|
120 |
+
]
|
121 |
+
},
|
122 |
+
"class_type": "CLIPTextEncode",
|
123 |
+
"_meta": {
|
124 |
+
"title": "Negative"
|
125 |
+
}
|
126 |
+
}
|
127 |
+
}
|
flux-q4-gguf-workflow.json
ADDED
@@ -0,0 +1,434 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"last_node_id": 39,
|
3 |
+
"last_link_id": 62,
|
4 |
+
"nodes": [
|
5 |
+
{
|
6 |
+
"id": 5,
|
7 |
+
"type": "KSampler",
|
8 |
+
"pos": [
|
9 |
+
328,
|
10 |
+
-14
|
11 |
+
],
|
12 |
+
"size": {
|
13 |
+
"0": 300,
|
14 |
+
"1": 470
|
15 |
+
},
|
16 |
+
"flags": {},
|
17 |
+
"order": 6,
|
18 |
+
"mode": 0,
|
19 |
+
"inputs": [
|
20 |
+
{
|
21 |
+
"name": "model",
|
22 |
+
"type": "MODEL",
|
23 |
+
"link": 53
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"name": "positive",
|
27 |
+
"type": "CONDITIONING",
|
28 |
+
"link": 37
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"name": "negative",
|
32 |
+
"type": "CONDITIONING",
|
33 |
+
"link": 61
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"name": "latent_image",
|
37 |
+
"type": "LATENT",
|
38 |
+
"link": 34,
|
39 |
+
"slot_index": 3
|
40 |
+
}
|
41 |
+
],
|
42 |
+
"outputs": [
|
43 |
+
{
|
44 |
+
"name": "LATENT",
|
45 |
+
"type": "LATENT",
|
46 |
+
"links": [
|
47 |
+
9
|
48 |
+
],
|
49 |
+
"slot_index": 0
|
50 |
+
}
|
51 |
+
],
|
52 |
+
"properties": {
|
53 |
+
"Node name for S&R": "KSampler"
|
54 |
+
},
|
55 |
+
"widgets_values": [
|
56 |
+
0,
|
57 |
+
"randomize",
|
58 |
+
40,
|
59 |
+
1,
|
60 |
+
"euler",
|
61 |
+
"normal",
|
62 |
+
1
|
63 |
+
]
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"id": 7,
|
67 |
+
"type": "VAEDecode",
|
68 |
+
"pos": [
|
69 |
+
665,
|
70 |
+
-15
|
71 |
+
],
|
72 |
+
"size": {
|
73 |
+
"0": 200,
|
74 |
+
"1": 50
|
75 |
+
},
|
76 |
+
"flags": {
|
77 |
+
"collapsed": false
|
78 |
+
},
|
79 |
+
"order": 7,
|
80 |
+
"mode": 0,
|
81 |
+
"inputs": [
|
82 |
+
{
|
83 |
+
"name": "samples",
|
84 |
+
"type": "LATENT",
|
85 |
+
"link": 9
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"name": "vae",
|
89 |
+
"type": "VAE",
|
90 |
+
"link": 10
|
91 |
+
}
|
92 |
+
],
|
93 |
+
"outputs": [
|
94 |
+
{
|
95 |
+
"name": "IMAGE",
|
96 |
+
"type": "IMAGE",
|
97 |
+
"links": [
|
98 |
+
54
|
99 |
+
],
|
100 |
+
"slot_index": 0
|
101 |
+
}
|
102 |
+
],
|
103 |
+
"properties": {
|
104 |
+
"Node name for S&R": "VAEDecode"
|
105 |
+
}
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"id": 8,
|
109 |
+
"type": "VAELoader",
|
110 |
+
"pos": [
|
111 |
+
891,
|
112 |
+
-9
|
113 |
+
],
|
114 |
+
"size": {
|
115 |
+
"0": 300,
|
116 |
+
"1": 60
|
117 |
+
},
|
118 |
+
"flags": {},
|
119 |
+
"order": 2,
|
120 |
+
"mode": 0,
|
121 |
+
"outputs": [
|
122 |
+
{
|
123 |
+
"name": "VAE",
|
124 |
+
"type": "VAE",
|
125 |
+
"links": [
|
126 |
+
10
|
127 |
+
]
|
128 |
+
}
|
129 |
+
],
|
130 |
+
"properties": {
|
131 |
+
"Node name for S&R": "VAELoader"
|
132 |
+
},
|
133 |
+
"widgets_values": [
|
134 |
+
"flux_vae.safetensors"
|
135 |
+
]
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"id": 20,
|
139 |
+
"type": "EmptyLatentImage",
|
140 |
+
"pos": [
|
141 |
+
-8,
|
142 |
+
570
|
143 |
+
],
|
144 |
+
"size": {
|
145 |
+
"0": 260,
|
146 |
+
"1": 110
|
147 |
+
},
|
148 |
+
"flags": {},
|
149 |
+
"order": 3,
|
150 |
+
"mode": 0,
|
151 |
+
"outputs": [
|
152 |
+
{
|
153 |
+
"name": "LATENT",
|
154 |
+
"type": "LATENT",
|
155 |
+
"links": [
|
156 |
+
34
|
157 |
+
],
|
158 |
+
"shape": 3
|
159 |
+
}
|
160 |
+
],
|
161 |
+
"properties": {
|
162 |
+
"Node name for S&R": "EmptyLatentImage"
|
163 |
+
},
|
164 |
+
"widgets_values": [
|
165 |
+
1024,
|
166 |
+
1024,
|
167 |
+
1
|
168 |
+
]
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"id": 22,
|
172 |
+
"type": "CLIPTextEncode",
|
173 |
+
"pos": [
|
174 |
+
-7,
|
175 |
+
251
|
176 |
+
],
|
177 |
+
"size": {
|
178 |
+
"0": 260,
|
179 |
+
"1": 100
|
180 |
+
},
|
181 |
+
"flags": {
|
182 |
+
"collapsed": false
|
183 |
+
},
|
184 |
+
"order": 4,
|
185 |
+
"mode": 0,
|
186 |
+
"inputs": [
|
187 |
+
{
|
188 |
+
"name": "clip",
|
189 |
+
"type": "CLIP",
|
190 |
+
"link": 60,
|
191 |
+
"slot_index": 0
|
192 |
+
}
|
193 |
+
],
|
194 |
+
"outputs": [
|
195 |
+
{
|
196 |
+
"name": "CONDITIONING",
|
197 |
+
"type": "CONDITIONING",
|
198 |
+
"links": [
|
199 |
+
37
|
200 |
+
],
|
201 |
+
"slot_index": 0,
|
202 |
+
"shape": 3
|
203 |
+
}
|
204 |
+
],
|
205 |
+
"title": "Positive",
|
206 |
+
"properties": {
|
207 |
+
"Node name for S&R": "Positive"
|
208 |
+
},
|
209 |
+
"widgets_values": [
|
210 |
+
""
|
211 |
+
]
|
212 |
+
},
|
213 |
+
{
|
214 |
+
"id": 23,
|
215 |
+
"type": "UnetLoaderGGUF",
|
216 |
+
"pos": [
|
217 |
+
-12,
|
218 |
+
-16
|
219 |
+
],
|
220 |
+
"size": {
|
221 |
+
"0": 304.84716796875,
|
222 |
+
"1": 69.06073760986328
|
223 |
+
},
|
224 |
+
"flags": {},
|
225 |
+
"order": 0,
|
226 |
+
"mode": 0,
|
227 |
+
"outputs": [
|
228 |
+
{
|
229 |
+
"name": "MODEL",
|
230 |
+
"type": "MODEL",
|
231 |
+
"links": [
|
232 |
+
53
|
233 |
+
],
|
234 |
+
"slot_index": 0,
|
235 |
+
"shape": 3
|
236 |
+
}
|
237 |
+
],
|
238 |
+
"properties": {
|
239 |
+
"Node name for S&R": "UnetLoaderGGUF"
|
240 |
+
},
|
241 |
+
"widgets_values": [
|
242 |
+
"flux1-dev-Q4_0.gguf"
|
243 |
+
],
|
244 |
+
"color": "#2a363b",
|
245 |
+
"bgcolor": "#3f5159"
|
246 |
+
},
|
247 |
+
{
|
248 |
+
"id": 28,
|
249 |
+
"type": "DualCLIPLoader",
|
250 |
+
"pos": [
|
251 |
+
-13,
|
252 |
+
95
|
253 |
+
],
|
254 |
+
"size": {
|
255 |
+
"0": 320,
|
256 |
+
"1": 110
|
257 |
+
},
|
258 |
+
"flags": {},
|
259 |
+
"order": 1,
|
260 |
+
"mode": 0,
|
261 |
+
"outputs": [
|
262 |
+
{
|
263 |
+
"name": "CLIP",
|
264 |
+
"type": "CLIP",
|
265 |
+
"links": [
|
266 |
+
60,
|
267 |
+
62
|
268 |
+
],
|
269 |
+
"slot_index": 0,
|
270 |
+
"shape": 3
|
271 |
+
}
|
272 |
+
],
|
273 |
+
"properties": {
|
274 |
+
"Node name for S&R": "DualCLIPLoader"
|
275 |
+
},
|
276 |
+
"widgets_values": [
|
277 |
+
"t5xxl_fp16.safetensors",
|
278 |
+
"clip-vit-large-patch14.bin",
|
279 |
+
"flux"
|
280 |
+
]
|
281 |
+
},
|
282 |
+
{
|
283 |
+
"id": 34,
|
284 |
+
"type": "SaveImage",
|
285 |
+
"pos": [
|
286 |
+
668,
|
287 |
+
94
|
288 |
+
],
|
289 |
+
"size": [
|
290 |
+
818.0699338213906,
|
291 |
+
656.7379925507172
|
292 |
+
],
|
293 |
+
"flags": {},
|
294 |
+
"order": 8,
|
295 |
+
"mode": 0,
|
296 |
+
"inputs": [
|
297 |
+
{
|
298 |
+
"name": "images",
|
299 |
+
"type": "IMAGE",
|
300 |
+
"link": 54
|
301 |
+
}
|
302 |
+
],
|
303 |
+
"properties": {},
|
304 |
+
"widgets_values": [
|
305 |
+
"ComfyUI"
|
306 |
+
]
|
307 |
+
},
|
308 |
+
{
|
309 |
+
"id": 39,
|
310 |
+
"type": "CLIPTextEncode",
|
311 |
+
"pos": [
|
312 |
+
-4,
|
313 |
+
397
|
314 |
+
],
|
315 |
+
"size": [
|
316 |
+
255.85334934545205,
|
317 |
+
115.44897808808184
|
318 |
+
],
|
319 |
+
"flags": {},
|
320 |
+
"order": 5,
|
321 |
+
"mode": 0,
|
322 |
+
"inputs": [
|
323 |
+
{
|
324 |
+
"name": "clip",
|
325 |
+
"type": "CLIP",
|
326 |
+
"link": 62
|
327 |
+
}
|
328 |
+
],
|
329 |
+
"outputs": [
|
330 |
+
{
|
331 |
+
"name": "CONDITIONING",
|
332 |
+
"type": "CONDITIONING",
|
333 |
+
"links": [
|
334 |
+
61
|
335 |
+
],
|
336 |
+
"shape": 3
|
337 |
+
}
|
338 |
+
],
|
339 |
+
"title": "Negative",
|
340 |
+
"properties": {
|
341 |
+
"Node name for S&R": "Negative"
|
342 |
+
},
|
343 |
+
"widgets_values": [
|
344 |
+
""
|
345 |
+
]
|
346 |
+
}
|
347 |
+
],
|
348 |
+
"links": [
|
349 |
+
[
|
350 |
+
9,
|
351 |
+
5,
|
352 |
+
0,
|
353 |
+
7,
|
354 |
+
0,
|
355 |
+
"LATENT"
|
356 |
+
],
|
357 |
+
[
|
358 |
+
10,
|
359 |
+
8,
|
360 |
+
0,
|
361 |
+
7,
|
362 |
+
1,
|
363 |
+
"VAE"
|
364 |
+
],
|
365 |
+
[
|
366 |
+
34,
|
367 |
+
20,
|
368 |
+
0,
|
369 |
+
5,
|
370 |
+
3,
|
371 |
+
"LATENT"
|
372 |
+
],
|
373 |
+
[
|
374 |
+
37,
|
375 |
+
22,
|
376 |
+
0,
|
377 |
+
5,
|
378 |
+
1,
|
379 |
+
"CONDITIONING"
|
380 |
+
],
|
381 |
+
[
|
382 |
+
53,
|
383 |
+
23,
|
384 |
+
0,
|
385 |
+
5,
|
386 |
+
0,
|
387 |
+
"MODEL"
|
388 |
+
],
|
389 |
+
[
|
390 |
+
54,
|
391 |
+
7,
|
392 |
+
0,
|
393 |
+
34,
|
394 |
+
0,
|
395 |
+
"IMAGE"
|
396 |
+
],
|
397 |
+
[
|
398 |
+
60,
|
399 |
+
28,
|
400 |
+
0,
|
401 |
+
22,
|
402 |
+
0,
|
403 |
+
"CLIP"
|
404 |
+
],
|
405 |
+
[
|
406 |
+
61,
|
407 |
+
39,
|
408 |
+
0,
|
409 |
+
5,
|
410 |
+
2,
|
411 |
+
"CONDITIONING"
|
412 |
+
],
|
413 |
+
[
|
414 |
+
62,
|
415 |
+
28,
|
416 |
+
0,
|
417 |
+
39,
|
418 |
+
0,
|
419 |
+
"CLIP"
|
420 |
+
]
|
421 |
+
],
|
422 |
+
"groups": [],
|
423 |
+
"config": {},
|
424 |
+
"extra": {
|
425 |
+
"ds": {
|
426 |
+
"scale": 1.1167815779424888,
|
427 |
+
"offset": [
|
428 |
+
23.625456306923823,
|
429 |
+
58.73094735200878
|
430 |
+
]
|
431 |
+
}
|
432 |
+
},
|
433 |
+
"version": 0.4
|
434 |
+
}
|