svdq-flux.1-dev.json 18.8 KB
Newer Older
1
{
2
3
  "last_node_id": 41,
  "last_link_id": 123,
4
  "nodes": [
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
    {
      "id": 26,
      "type": "FluxGuidance",
      "pos": [
        533.9339599609375,
        118.7322998046875
      ],
      "size": [
        317.4000244140625,
        58
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 41
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            42
          ],
          "slot_index": 0,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "FluxGuidance"
      },
      "widgets_values": [
        3.5
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 9,
      "type": "SaveImage",
      "pos": [
        1170.8551025390625,
        128.45352172851562
      ],
      "size": [
        985.3012084960938,
        1060.3828125
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 9
        }
      ],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 25,
      "type": "RandomNoise",
      "pos": [
        819.1885986328125,
        709.9674072265625
      ],
      "size": [
        315,
        82
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "NOISE",
          "type": "NOISE",
          "links": [
            37
          ],
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "RandomNoise"
      },
      "widgets_values": [
        148576770035090,
        "randomize"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
108
109
110
111
    {
      "id": 16,
      "type": "KSamplerSelect",
      "pos": [
112
113
        813.7789306640625,
        847.5765991210938
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
      ],
      "size": [
        315,
        58
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            19
          ],
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "KSamplerSelect"
      },
      "widgets_values": [
        "euler"
      ]
    },
    {
141
142
      "id": 17,
      "type": "BasicScheduler",
143
      "pos": [
144
145
        818.5535888671875,
        948.8093872070312
146
147
      ],
      "size": [
148
149
        315,
        106
150
151
      ],
      "flags": {},
152
      "order": 13,
153
154
155
      "mode": 0,
      "inputs": [
        {
156
157
158
          "name": "model",
          "type": "MODEL",
          "link": 55,
159
          "slot_index": 0
160
161
162
        }
      ],
      "outputs": [
163
        {
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            20
          ],
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "BasicScheduler"
      },
      "widgets_values": [
        "simple",
        25,
        1
      ]
    },
    {
      "id": 30,
      "type": "ModelSamplingFlux",
      "pos": [
        831.30419921875,
        1103.71337890625
      ],
      "size": [
        315,
        130
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
196
        {
197
198
199
200
          "name": "model",
          "type": "MODEL",
          "link": 123,
          "slot_index": 0
201
202
        },
        {
203
204
205
206
207
208
209
          "name": "width",
          "type": "INT",
          "link": 115,
          "slot_index": 1,
          "widget": {
            "name": "width"
          }
210
211
        },
        {
212
213
214
215
216
217
218
          "name": "height",
          "type": "INT",
          "link": 114,
          "slot_index": 2,
          "widget": {
            "name": "height"
          }
219
220
221
222
        }
      ],
      "outputs": [
        {
223
224
          "name": "MODEL",
          "type": "MODEL",
225
          "links": [
226
227
            54,
            55
228
229
230
231
232
233
          ],
          "slot_index": 0,
          "shape": 3
        }
      ],
      "properties": {
234
        "Node name for S&R": "ModelSamplingFlux"
235
      },
236
237
238
239
240
241
      "widgets_values": [
        1.15,
        0.5,
        1024,
        1024
      ]
242
243
244
245
246
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
247
248
        938.151611328125,
        299.3258056640625
249
250
251
252
253
254
      ],
      "size": [
        210,
        46
      ],
      "flags": {},
255
      "order": 15,
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
      "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"
      },
      "widgets_values": []
    },
    {
285
286
      "id": 22,
      "type": "BasicGuider",
287
      "pos": [
288
289
        691.55615234375,
        303.7747497558594
290
291
      ],
      "size": [
292
293
        222.3482666015625,
        46
294
295
      ],
      "flags": {},
296
      "order": 12,
297
298
299
      "mode": 0,
      "inputs": [
        {
300
301
302
303
          "name": "model",
          "type": "MODEL",
          "link": 54,
          "slot_index": 0
304
305
        },
        {
306
307
308
309
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 42,
          "slot_index": 1
310
311
312
313
        }
      ],
      "outputs": [
        {
314
315
          "name": "GUIDER",
          "type": "GUIDER",
316
          "links": [
317
            30
318
319
320
321
322
323
          ],
          "slot_index": 0,
          "shape": 3
        }
      ],
      "properties": {
324
        "Node name for S&R": "BasicGuider"
325
      },
326
      "widgets_values": []
327
328
    },
    {
329
      "id": 35,
330
331
      "type": "PrimitiveNode",
      "pos": [
332
333
        937.396484375,
        392.3027038574219
334
335
336
337
338
339
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
340
      "order": 2,
341
342
343
344
345
346
347
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
348
349
            113,
            114
350
351
352
          ],
          "slot_index": 0,
          "widget": {
353
            "name": "height"
354
355
356
          }
        }
      ],
357
      "title": "height",
358
359
360
361
362
363
364
365
366
367
368
      "properties": {
        "Run widget replace on values": false
      },
      "widgets_values": [
        1024,
        "fixed"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
369
      "id": 34,
370
371
      "type": "PrimitiveNode",
      "pos": [
372
373
        689.2933959960938,
        394.09967041015625
374
375
376
377
378
379
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
380
      "order": 1,
381
382
383
384
385
386
387
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
388
389
            112,
            115
390
391
392
          ],
          "slot_index": 0,
          "widget": {
393
            "name": "width"
394
395
396
          }
        }
      ],
397
      "title": "width",
398
399
400
401
402
403
404
405
406
407
408
      "properties": {
        "Run widget replace on values": false
      },
      "widgets_values": [
        1024,
        "fixed"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
409
410
      "id": 27,
      "type": "EmptySD3LatentImage",
411
      "pos": [
412
413
        825.0562133789062,
        526.280029296875
414
415
416
      ],
      "size": [
        315,
417
        106
418
419
      ],
      "flags": {},
420
      "order": 7,
421
422
423
424
425
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
426
          "link": 112,
427
428
429
430
431
432
433
          "widget": {
            "name": "width"
          }
        },
        {
          "name": "height",
          "type": "INT",
434
          "link": 113,
435
436
          "widget": {
            "name": "height"
437
438
          }
        }
439
440
441
      ],
      "outputs": [
        {
442
443
          "name": "LATENT",
          "type": "LATENT",
444
          "links": [
445
            116
446
          ],
447
448
          "slot_index": 0,
          "shape": 3
449
450
451
        }
      ],
      "properties": {
452
        "Node name for S&R": "EmptySD3LatentImage"
453
454
      },
      "widgets_values": [
455
456
457
        1024,
        1024,
        1
458
459
460
      ]
    },
    {
461
462
      "id": 6,
      "type": "CLIPTextEncode",
463
      "pos": [
464
465
        217.73886108398438,
        306.472412109375
466
467
      ],
      "size": [
468
469
        422.84503173828125,
        164.31304931640625
470
471
      ],
      "flags": {},
472
      "order": 8,
473
474
475
      "mode": 0,
      "inputs": [
        {
476
477
478
          "name": "clip",
          "type": "CLIP",
          "link": 118
479
480
        }
      ],
481
482
483
484
485
486
487
488
489
490
491
492
493
494
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            41
          ],
          "slot_index": 0
        }
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
495
      "widgets_values": [
496
497
498
499
        "GHIBSKY style, cozy mountain cabin covered in snow, with smoke curling from the chimney and a warm, inviting light spilling through the windows"
      ],
      "color": "#232",
      "bgcolor": "#353"
500
501
    },
    {
502
503
      "id": 41,
      "type": "SVDQuantFluxLoraLoader",
504
      "pos": [
505
506
        308.1814880371094,
        1080.8433837890625
507
508
      ],
      "size": [
509
510
        484.5584716796875,
        146.848388671875
511
512
      ],
      "flags": {},
513
      "order": 9,
514
515
516
517
518
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
519
          "link": 122
520
521
522
523
524
525
526
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
527
            123
528
529
530
531
532
          ],
          "slot_index": 0
        }
      ],
      "properties": {
533
        "Node name for S&R": "SVDQuantFluxLoraLoader"
534
535
      },
      "widgets_values": [
536
        "aleksa-codes/flux-ghibsky-illustration/lora.safetensors",
537
        "auto",
538
        "mit-han-lab/svdq-int4-flux.1-dev",
539
540
541
542
        1
      ]
    },
    {
543
544
      "id": 38,
      "type": "SVDQuantFluxDiTLoader",
545
      "pos": [
546
547
        426.25274658203125,
        905.1461181640625
548
549
550
      ],
      "size": [
        315,
551
        82
552
553
      ],
      "flags": {},
554
      "order": 5,
555
      "mode": 0,
556
      "inputs": [],
557
558
      "outputs": [
        {
559
560
          "name": "MODEL",
          "type": "MODEL",
561
          "links": [
562
            122
563
          ],
564
          "slot_index": 0
565
566
567
        }
      ],
      "properties": {
568
        "Node name for S&R": "SVDQuantFluxDiTLoader"
569
570
      },
      "widgets_values": [
571
572
        "mit-han-lab/svdq-int4-flux.1-dev",
        0
573
574
575
      ]
    },
    {
576
577
      "id": 10,
      "type": "VAELoader",
578
      "pos": [
579
580
        509.58099365234375,
        541.80322265625
581
582
      ],
      "size": [
583
584
        311.81634521484375,
        60.429901123046875
585
586
      ],
      "flags": {},
587
      "order": 4,
588
      "mode": 0,
589
      "inputs": [],
590
591
      "outputs": [
        {
592
593
          "name": "VAE",
          "type": "VAE",
594
          "links": [
595
            12
596
597
598
599
600
601
          ],
          "slot_index": 0,
          "shape": 3
        }
      ],
      "properties": {
602
        "Node name for S&R": "VAELoader"
603
      },
604
605
606
      "widgets_values": [
        "ae.safetensors"
      ]
607
608
609
610
611
    },
    {
      "id": 39,
      "type": "SVDQuantTextEncoderLoader",
      "pos": [
612
613
        375.7381591796875,
        652.5384521484375
614
615
616
      ],
      "size": [
        352.79998779296875,
617
        178
618
619
      ],
      "flags": {},
620
      "order": 3,
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            118
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "SVDQuantTextEncoderLoader"
      },
      "widgets_values": [
        "flux",
        "t5xxl_fp16.safetensors",
        "clip_l.safetensors",
        512,
640
641
        "BF16",
        "mit-han-lab/svdq-flux.1-t5"
642
643
644
      ]
    },
    {
645
646
      "id": 13,
      "type": "SamplerCustomAdvanced",
647
      "pos": [
648
649
        867.9028930664062,
        126.43718719482422
650
651
      ],
      "size": [
652
653
        272.3617858886719,
        124.53733825683594
654
655
      ],
      "flags": {},
656
      "order": 14,
657
658
659
      "mode": 0,
      "inputs": [
        {
660
661
662
          "name": "noise",
          "type": "NOISE",
          "link": 37,
663
          "slot_index": 0
664
        },
665
        {
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
          "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
688
689
690
691
        }
      ],
      "outputs": [
        {
692
693
          "name": "output",
          "type": "LATENT",
694
          "links": [
695
            24
696
697
698
          ],
          "slot_index": 0,
          "shape": 3
699
        },
700
        {
701
702
703
          "name": "denoised_output",
          "type": "LATENT",
          "links": null,
704
705
706
707
          "shape": 3
        }
      ],
      "properties": {
708
        "Node name for S&R": "SamplerCustomAdvanced"
709
      },
710
      "widgets_values": []
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
    }
  ],
  "links": [
    [
      9,
      8,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      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"
    ],
    [
      41,
      6,
      0,
      26,
      0,
      "CONDITIONING"
    ],
    [
      42,
      26,
      0,
      22,
      1,
      "CONDITIONING"
    ],
    [
      54,
      30,
      0,
      22,
      0,
      "MODEL"
    ],
    [
      55,
      30,
      0,
      17,
      0,
      "MODEL"
    ],
    [
      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"
    ],
    [
      118,
      39,
      0,
      6,
      0,
      "CLIP"
    ],
    [
851
      122,
852
853
      38,
      0,
854
      41,
855
856
857
858
      0,
      "MODEL"
    ],
    [
859
860
      123,
      41,
861
862
863
864
865
866
867
868
869
870
      0,
      30,
      0,
      "MODEL"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
871
      "scale": 1.0152559799477106,
872
      "offset": [
873
874
        521.7873982958799,
        167.19904950835112
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
      ]
    },
    "groupNodes": {
      "EmptyLatentImage": {
        "nodes": [
          {
            "type": "PrimitiveNode",
            "pos": [
              432,
              480
            ],
            "size": {
              "0": 210,
              "1": 82
            },
            "flags": {},
            "order": 6,
            "mode": 0,
            "outputs": [
              {
                "name": "INT",
                "type": "INT",
                "links": [],
                "widget": {
                  "name": "height"
                },
                "slot_index": 0
              }
            ],
            "title": "height",
            "properties": {
              "Run widget replace on values": false
            },
            "color": "#323",
            "bgcolor": "#535",
            "index": 0
          },
          {
            "type": "PrimitiveNode",
            "pos": [
              672,
              480
            ],
            "size": {
              "0": 210,
              "1": 82
            },
            "flags": {},
            "order": 7,
            "mode": 0,
            "outputs": [
              {
                "name": "INT",
                "type": "INT",
                "links": [],
                "slot_index": 0,
                "widget": {
                  "name": "width"
                }
              }
            ],
            "title": "width",
            "properties": {
              "Run widget replace on values": false
            },
            "color": "#323",
            "bgcolor": "#535",
            "index": 1
          },
          {
            "type": "EmptySD3LatentImage",
            "pos": [
              480,
              624
            ],
            "size": {
              "0": 315,
              "1": 106
            },
            "flags": {},
            "order": 10,
            "mode": 0,
            "inputs": [
              {
                "name": "width",
                "type": "INT",
                "link": null,
                "widget": {
                  "name": "width"
                }
              },
              {
                "name": "height",
                "type": "INT",
                "link": null,
                "widget": {
                  "name": "height"
                }
              }
            ],
            "outputs": [
              {
                "name": "LATENT",
                "type": "LATENT",
                "links": [],
                "shape": 3,
                "slot_index": 0
              }
            ],
            "properties": {
              "Node name for S&R": "EmptySD3LatentImage"
            },
            "widgets_values": [
              1024,
              1024,
              1
            ],
            "index": 2
          }
        ],
        "links": [
          [
            1,
            0,
            2,
            0,
            34,
            "INT"
          ],
          [
            0,
            0,
            2,
            1,
            35,
            "INT"
          ]
        ],
        "external": [
          [
            0,
            0,
            "INT"
          ],
          [
            1,
            0,
            "INT"
          ],
          [
            2,
            0,
            "LATENT"
          ]
        ],
        "config": {
          "0": {
            "output": {
              "0": {
                "name": "height"
              }
            },
            "input": {
              "value": {
                "visible": true
              }
            }
          },
          "1": {
            "output": {
              "0": {
                "name": "width"
              }
            },
            "input": {
              "value": {
                "visible": true
              }
            }
          },
          "2": {
            "input": {
              "width": {
                "visible": false
              },
              "height": {
                "visible": false
              }
            }
          }
        }
      }
1067
1068
1069
    },
    "node_versions": {
      "comfy-core": "0.3.14"
1070
1071
1072
1073
    }
  },
  "version": 0.4
}