stablediffusiontutorials commited on
Commit
8d0c1a4
Β·
verified Β·
1 Parent(s): 857f91f

Upload Flux_Img2Img_Workflow.json

Browse files
Files changed (1) hide show
  1. Flux_Img2Img_Workflow.json +681 -0
Flux_Img2Img_Workflow.json ADDED
@@ -0,0 +1,681 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "last_node_id": 30,
3
+ "last_link_id": 44,
4
+ "nodes": [
5
+ {
6
+ "id": 12,
7
+ "type": "UNETLoader",
8
+ "pos": [
9
+ 20,
10
+ 130
11
+ ],
12
+ "size": {
13
+ "0": 320,
14
+ "1": 82
15
+ },
16
+ "flags": {},
17
+ "order": 0,
18
+ "mode": 0,
19
+ "outputs": [
20
+ {
21
+ "name": "MODEL",
22
+ "type": "MODEL",
23
+ "links": [
24
+ 38,
25
+ 39
26
+ ],
27
+ "shape": 3,
28
+ "slot_index": 0
29
+ }
30
+ ],
31
+ "properties": {
32
+ "Node name for S&R": "UNETLoader"
33
+ },
34
+ "widgets_values": [
35
+ "flux1-dev.sft",
36
+ "default"
37
+ ]
38
+ },
39
+ {
40
+ "id": 22,
41
+ "type": "BasicGuider",
42
+ "pos": [
43
+ 430,
44
+ 260
45
+ ],
46
+ "size": {
47
+ "0": 310,
48
+ "1": 50
49
+ },
50
+ "flags": {},
51
+ "order": 10,
52
+ "mode": 0,
53
+ "inputs": [
54
+ {
55
+ "name": "model",
56
+ "type": "MODEL",
57
+ "link": 39,
58
+ "slot_index": 0
59
+ },
60
+ {
61
+ "name": "conditioning",
62
+ "type": "CONDITIONING",
63
+ "link": 40,
64
+ "slot_index": 1
65
+ }
66
+ ],
67
+ "outputs": [
68
+ {
69
+ "name": "GUIDER",
70
+ "type": "GUIDER",
71
+ "links": [
72
+ 30
73
+ ],
74
+ "shape": 3,
75
+ "slot_index": 0
76
+ }
77
+ ],
78
+ "properties": {
79
+ "Node name for S&R": "BasicGuider"
80
+ }
81
+ },
82
+ {
83
+ "id": 16,
84
+ "type": "KSamplerSelect",
85
+ "pos": [
86
+ 430,
87
+ 350
88
+ ],
89
+ "size": {
90
+ "0": 315,
91
+ "1": 58
92
+ },
93
+ "flags": {},
94
+ "order": 1,
95
+ "mode": 0,
96
+ "outputs": [
97
+ {
98
+ "name": "SAMPLER",
99
+ "type": "SAMPLER",
100
+ "links": [
101
+ 19
102
+ ],
103
+ "shape": 3
104
+ }
105
+ ],
106
+ "properties": {
107
+ "Node name for S&R": "KSamplerSelect"
108
+ },
109
+ "widgets_values": [
110
+ "euler"
111
+ ]
112
+ },
113
+ {
114
+ "id": 25,
115
+ "type": "RandomNoise",
116
+ "pos": [
117
+ 440,
118
+ 130
119
+ ],
120
+ "size": {
121
+ "0": 315,
122
+ "1": 82
123
+ },
124
+ "flags": {},
125
+ "order": 2,
126
+ "mode": 0,
127
+ "outputs": [
128
+ {
129
+ "name": "NOISE",
130
+ "type": "NOISE",
131
+ "links": [
132
+ 37
133
+ ],
134
+ "shape": 3
135
+ }
136
+ ],
137
+ "properties": {
138
+ "Node name for S&R": "RandomNoise"
139
+ },
140
+ "widgets_values": [
141
+ 228290098960024,
142
+ "randomize"
143
+ ]
144
+ },
145
+ {
146
+ "id": 13,
147
+ "type": "SamplerCustomAdvanced",
148
+ "pos": [
149
+ 801,
150
+ 125
151
+ ],
152
+ "size": [
153
+ 338.2307647294306,
154
+ 106
155
+ ],
156
+ "flags": {},
157
+ "order": 11,
158
+ "mode": 0,
159
+ "inputs": [
160
+ {
161
+ "name": "noise",
162
+ "type": "NOISE",
163
+ "link": 37,
164
+ "slot_index": 0
165
+ },
166
+ {
167
+ "name": "guider",
168
+ "type": "GUIDER",
169
+ "link": 30,
170
+ "slot_index": 1
171
+ },
172
+ {
173
+ "name": "sampler",
174
+ "type": "SAMPLER",
175
+ "link": 19,
176
+ "slot_index": 2
177
+ },
178
+ {
179
+ "name": "sigmas",
180
+ "type": "SIGMAS",
181
+ "link": 20,
182
+ "slot_index": 3
183
+ },
184
+ {
185
+ "name": "latent_image",
186
+ "type": "LATENT",
187
+ "link": 44,
188
+ "slot_index": 4
189
+ }
190
+ ],
191
+ "outputs": [
192
+ {
193
+ "name": "output",
194
+ "type": "LATENT",
195
+ "links": [
196
+ 24
197
+ ],
198
+ "shape": 3,
199
+ "slot_index": 0
200
+ },
201
+ {
202
+ "name": "denoised_output",
203
+ "type": "LATENT",
204
+ "links": null,
205
+ "shape": 3
206
+ }
207
+ ],
208
+ "properties": {
209
+ "Node name for S&R": "SamplerCustomAdvanced"
210
+ }
211
+ },
212
+ {
213
+ "id": 8,
214
+ "type": "VAEDecode",
215
+ "pos": [
216
+ 1172,
217
+ 124
218
+ ],
219
+ "size": {
220
+ "0": 210,
221
+ "1": 46
222
+ },
223
+ "flags": {},
224
+ "order": 12,
225
+ "mode": 0,
226
+ "inputs": [
227
+ {
228
+ "name": "samples",
229
+ "type": "LATENT",
230
+ "link": 24
231
+ },
232
+ {
233
+ "name": "vae",
234
+ "type": "VAE",
235
+ "link": 12
236
+ }
237
+ ],
238
+ "outputs": [
239
+ {
240
+ "name": "IMAGE",
241
+ "type": "IMAGE",
242
+ "links": [
243
+ 9
244
+ ],
245
+ "slot_index": 0
246
+ }
247
+ ],
248
+ "properties": {
249
+ "Node name for S&R": "VAEDecode"
250
+ }
251
+ },
252
+ {
253
+ "id": 9,
254
+ "type": "SaveImage",
255
+ "pos": [
256
+ 788,
257
+ 293
258
+ ],
259
+ "size": [
260
+ 537.5791600596867,
261
+ 858.9998156491325
262
+ ],
263
+ "flags": {},
264
+ "order": 13,
265
+ "mode": 0,
266
+ "inputs": [
267
+ {
268
+ "name": "images",
269
+ "type": "IMAGE",
270
+ "link": 9
271
+ }
272
+ ],
273
+ "properties": {
274
+ "Node name for S&R": "SaveImage"
275
+ },
276
+ "widgets_values": [
277
+ "ComfyUI"
278
+ ]
279
+ },
280
+ {
281
+ "id": 29,
282
+ "type": "ImageScaleToTotalPixels",
283
+ "pos": [
284
+ 411,
285
+ 746
286
+ ],
287
+ "size": {
288
+ "0": 320,
289
+ "1": 82
290
+ },
291
+ "flags": {},
292
+ "order": 7,
293
+ "mode": 0,
294
+ "inputs": [
295
+ {
296
+ "name": "image",
297
+ "type": "IMAGE",
298
+ "link": 41
299
+ }
300
+ ],
301
+ "outputs": [
302
+ {
303
+ "name": "IMAGE",
304
+ "type": "IMAGE",
305
+ "links": [
306
+ 42
307
+ ],
308
+ "shape": 3,
309
+ "slot_index": 0
310
+ }
311
+ ],
312
+ "properties": {
313
+ "Node name for S&R": "ImageScaleToTotalPixels"
314
+ },
315
+ "widgets_values": [
316
+ "lanczos",
317
+ 1
318
+ ]
319
+ },
320
+ {
321
+ "id": 30,
322
+ "type": "VAEEncode",
323
+ "pos": [
324
+ 414,
325
+ 877
326
+ ],
327
+ "size": {
328
+ "0": 320,
329
+ "1": 50
330
+ },
331
+ "flags": {},
332
+ "order": 9,
333
+ "mode": 0,
334
+ "inputs": [
335
+ {
336
+ "name": "pixels",
337
+ "type": "IMAGE",
338
+ "link": 42
339
+ },
340
+ {
341
+ "name": "vae",
342
+ "type": "VAE",
343
+ "link": 43
344
+ }
345
+ ],
346
+ "outputs": [
347
+ {
348
+ "name": "LATENT",
349
+ "type": "LATENT",
350
+ "links": [
351
+ 44
352
+ ],
353
+ "shape": 3,
354
+ "slot_index": 0
355
+ }
356
+ ],
357
+ "properties": {
358
+ "Node name for S&R": "VAEEncode"
359
+ }
360
+ },
361
+ {
362
+ "id": 10,
363
+ "type": "VAELoader",
364
+ "pos": [
365
+ 20,
366
+ 438
367
+ ],
368
+ "size": {
369
+ "0": 320,
370
+ "1": 60
371
+ },
372
+ "flags": {},
373
+ "order": 3,
374
+ "mode": 0,
375
+ "outputs": [
376
+ {
377
+ "name": "VAE",
378
+ "type": "VAE",
379
+ "links": [
380
+ 12,
381
+ 43
382
+ ],
383
+ "shape": 3,
384
+ "slot_index": 0
385
+ }
386
+ ],
387
+ "properties": {
388
+ "Node name for S&R": "VAELoader"
389
+ },
390
+ "widgets_values": [
391
+ "ae.sft"
392
+ ]
393
+ },
394
+ {
395
+ "id": 26,
396
+ "type": "LoadImage",
397
+ "pos": [
398
+ 23,
399
+ 549
400
+ ],
401
+ "size": [
402
+ 315.0104844737484,
403
+ 576.2686645749134
404
+ ],
405
+ "flags": {},
406
+ "order": 4,
407
+ "mode": 0,
408
+ "outputs": [
409
+ {
410
+ "name": "IMAGE",
411
+ "type": "IMAGE",
412
+ "links": [
413
+ 41
414
+ ],
415
+ "shape": 3,
416
+ "slot_index": 0
417
+ },
418
+ {
419
+ "name": "MASK",
420
+ "type": "MASK",
421
+ "links": null,
422
+ "shape": 3
423
+ }
424
+ ],
425
+ "properties": {
426
+ "Node name for S&R": "LoadImage"
427
+ },
428
+ "widgets_values": [
429
+ "02980-1633518242.png",
430
+ "image"
431
+ ]
432
+ },
433
+ {
434
+ "id": 11,
435
+ "type": "DualCLIPLoader",
436
+ "pos": [
437
+ 20,
438
+ 280
439
+ ],
440
+ "size": [
441
+ 354.42768189917507,
442
+ 106
443
+ ],
444
+ "flags": {},
445
+ "order": 5,
446
+ "mode": 0,
447
+ "outputs": [
448
+ {
449
+ "name": "CLIP",
450
+ "type": "CLIP",
451
+ "links": [
452
+ 10
453
+ ],
454
+ "shape": 3,
455
+ "slot_index": 0
456
+ }
457
+ ],
458
+ "properties": {
459
+ "Node name for S&R": "DualCLIPLoader"
460
+ },
461
+ "widgets_values": [
462
+ "text_encoders/t5xxl_fp16.safetensors",
463
+ "text_encoders/clip_l.safetensors",
464
+ "flux"
465
+ ]
466
+ },
467
+ {
468
+ "id": 6,
469
+ "type": "CLIPTextEncode",
470
+ "pos": [
471
+ 420,
472
+ 460
473
+ ],
474
+ "size": [
475
+ 300.4883064552829,
476
+ 76
477
+ ],
478
+ "flags": {},
479
+ "order": 8,
480
+ "mode": 0,
481
+ "inputs": [
482
+ {
483
+ "name": "clip",
484
+ "type": "CLIP",
485
+ "link": 10
486
+ }
487
+ ],
488
+ "outputs": [
489
+ {
490
+ "name": "CONDITIONING",
491
+ "type": "CONDITIONING",
492
+ "links": [
493
+ 40
494
+ ],
495
+ "slot_index": 0
496
+ }
497
+ ],
498
+ "properties": {
499
+ "Node name for S&R": "CLIPTextEncode"
500
+ },
501
+ "widgets_values": [
502
+ "anime style"
503
+ ]
504
+ },
505
+ {
506
+ "id": 17,
507
+ "type": "BasicScheduler",
508
+ "pos": [
509
+ 415,
510
+ 588
511
+ ],
512
+ "size": {
513
+ "0": 315,
514
+ "1": 106
515
+ },
516
+ "flags": {},
517
+ "order": 6,
518
+ "mode": 0,
519
+ "inputs": [
520
+ {
521
+ "name": "model",
522
+ "type": "MODEL",
523
+ "link": 38,
524
+ "slot_index": 0
525
+ }
526
+ ],
527
+ "outputs": [
528
+ {
529
+ "name": "SIGMAS",
530
+ "type": "SIGMAS",
531
+ "links": [
532
+ 20
533
+ ],
534
+ "shape": 3
535
+ }
536
+ ],
537
+ "properties": {
538
+ "Node name for S&R": "BasicScheduler"
539
+ },
540
+ "widgets_values": [
541
+ "simple",
542
+ 20,
543
+ 0.75
544
+ ]
545
+ }
546
+ ],
547
+ "links": [
548
+ [
549
+ 9,
550
+ 8,
551
+ 0,
552
+ 9,
553
+ 0,
554
+ "IMAGE"
555
+ ],
556
+ [
557
+ 10,
558
+ 11,
559
+ 0,
560
+ 6,
561
+ 0,
562
+ "CLIP"
563
+ ],
564
+ [
565
+ 12,
566
+ 10,
567
+ 0,
568
+ 8,
569
+ 1,
570
+ "VAE"
571
+ ],
572
+ [
573
+ 19,
574
+ 16,
575
+ 0,
576
+ 13,
577
+ 2,
578
+ "SAMPLER"
579
+ ],
580
+ [
581
+ 20,
582
+ 17,
583
+ 0,
584
+ 13,
585
+ 3,
586
+ "SIGMAS"
587
+ ],
588
+ [
589
+ 24,
590
+ 13,
591
+ 0,
592
+ 8,
593
+ 0,
594
+ "LATENT"
595
+ ],
596
+ [
597
+ 30,
598
+ 22,
599
+ 0,
600
+ 13,
601
+ 1,
602
+ "GUIDER"
603
+ ],
604
+ [
605
+ 37,
606
+ 25,
607
+ 0,
608
+ 13,
609
+ 0,
610
+ "NOISE"
611
+ ],
612
+ [
613
+ 38,
614
+ 12,
615
+ 0,
616
+ 17,
617
+ 0,
618
+ "MODEL"
619
+ ],
620
+ [
621
+ 39,
622
+ 12,
623
+ 0,
624
+ 22,
625
+ 0,
626
+ "MODEL"
627
+ ],
628
+ [
629
+ 40,
630
+ 6,
631
+ 0,
632
+ 22,
633
+ 1,
634
+ "CONDITIONING"
635
+ ],
636
+ [
637
+ 41,
638
+ 26,
639
+ 0,
640
+ 29,
641
+ 0,
642
+ "IMAGE"
643
+ ],
644
+ [
645
+ 42,
646
+ 29,
647
+ 0,
648
+ 30,
649
+ 0,
650
+ "IMAGE"
651
+ ],
652
+ [
653
+ 43,
654
+ 10,
655
+ 0,
656
+ 30,
657
+ 1,
658
+ "VAE"
659
+ ],
660
+ [
661
+ 44,
662
+ 30,
663
+ 0,
664
+ 13,
665
+ 4,
666
+ "LATENT"
667
+ ]
668
+ ],
669
+ "groups": [],
670
+ "config": {},
671
+ "extra": {
672
+ "ds": {
673
+ "scale": 1.1,
674
+ "offset": [
675
+ 380.1177171597737,
676
+ -18.363543010638036
677
+ ]
678
+ }
679
+ },
680
+ "version": 0.4
681
+ }