aleph65 commited on
Commit
8760985
·
verified ·
1 Parent(s): 12ad3d1

Delete workflows/qwen-edit-turbo-v3.json

Browse files
Files changed (1) hide show
  1. workflows/qwen-edit-turbo-v3.json +0 -2636
workflows/qwen-edit-turbo-v3.json DELETED
@@ -1,2636 +0,0 @@
1
- {
2
- "id": "c7d4e8f1-2a6b-4c3d-9e0f-5b8a1d4c7e2f",
3
- "revision": 1,
4
- "last_node_id": 51,
5
- "last_link_id": 60,
6
- "nodes": [
7
- {
8
- "id": 1,
9
- "type": "UNETLoader",
10
- "pos": [
11
- -40,
12
- -620
13
- ],
14
- "size": [
15
- 340,
16
- 82
17
- ],
18
- "flags": {},
19
- "order": 0,
20
- "mode": 0,
21
- "inputs": [],
22
- "outputs": [
23
- {
24
- "name": "MODEL",
25
- "type": "MODEL",
26
- "slot_index": 0,
27
- "links": [
28
- 1,
29
- 2
30
- ]
31
- }
32
- ],
33
- "properties": {
34
- "cnr_id": "comfy-core",
35
- "ver": "0.3.48",
36
- "Node name for S&R": "UNETLoader"
37
- },
38
- "widgets_values": [
39
- "qwen_image_edit_2511_bf16.safetensors",
40
- "default"
41
- ]
42
- },
43
- {
44
- "id": 2,
45
- "type": "LoraLoaderModelOnly",
46
- "pos": [
47
- -40,
48
- -490
49
- ],
50
- "size": [
51
- 340,
52
- 82
53
- ],
54
- "flags": {},
55
- "order": 1,
56
- "mode": 0,
57
- "inputs": [
58
- {
59
- "name": "model",
60
- "type": "MODEL",
61
- "link": 1
62
- }
63
- ],
64
- "outputs": [
65
- {
66
- "name": "MODEL",
67
- "type": "MODEL",
68
- "slot_index": 0,
69
- "links": [
70
- 3
71
- ]
72
- }
73
- ],
74
- "properties": {
75
- "cnr_id": "comfy-core",
76
- "ver": "0.3.48",
77
- "Node name for S&R": "LoraLoaderModelOnly"
78
- },
79
- "widgets_values": [
80
- "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors",
81
- 1
82
- ],
83
- "title": "LoRA: Lightning 4 steps"
84
- },
85
- {
86
- "id": 3,
87
- "type": "CLIPLoader",
88
- "pos": [
89
- -40,
90
- -360
91
- ],
92
- "size": [
93
- 340,
94
- 110
95
- ],
96
- "flags": {},
97
- "order": 2,
98
- "mode": 0,
99
- "inputs": [],
100
- "outputs": [
101
- {
102
- "name": "CLIP",
103
- "type": "CLIP",
104
- "slot_index": 0,
105
- "links": [
106
- 4
107
- ]
108
- }
109
- ],
110
- "properties": {
111
- "cnr_id": "comfy-core",
112
- "ver": "0.3.48",
113
- "Node name for S&R": "CLIPLoader"
114
- },
115
- "widgets_values": [
116
- "qwen_2.5_vl_7b.safetensors",
117
- "qwen_image",
118
- "default"
119
- ]
120
- },
121
- {
122
- "id": 4,
123
- "type": "VAELoader",
124
- "pos": [
125
- -40,
126
- -200
127
- ],
128
- "size": [
129
- 340,
130
- 60
131
- ],
132
- "flags": {},
133
- "order": 3,
134
- "mode": 0,
135
- "inputs": [],
136
- "outputs": [
137
- {
138
- "name": "VAE",
139
- "type": "VAE",
140
- "slot_index": 0,
141
- "links": [
142
- 5,
143
- 6
144
- ]
145
- }
146
- ],
147
- "properties": {
148
- "cnr_id": "comfy-core",
149
- "ver": "0.3.48",
150
- "Node name for S&R": "VAELoader"
151
- },
152
- "widgets_values": [
153
- "qwen_image_vae.safetensors"
154
- ]
155
- },
156
- {
157
- "id": 5,
158
- "type": "PrimitiveBoolean",
159
- "pos": [
160
- 360,
161
- -620
162
- ],
163
- "size": [
164
- 280,
165
- 60
166
- ],
167
- "flags": {},
168
- "order": 4,
169
- "mode": 0,
170
- "inputs": [],
171
- "outputs": [
172
- {
173
- "name": "BOOLEAN",
174
- "type": "BOOLEAN",
175
- "slot_index": 0,
176
- "links": [
177
- 7,
178
- 8,
179
- 9
180
- ]
181
- }
182
- ],
183
- "properties": {
184
- "cnr_id": "comfy-core",
185
- "ver": "0.3.48",
186
- "Node name for S&R": "PrimitiveBoolean"
187
- },
188
- "widgets_values": [
189
- true
190
- ],
191
- "title": "Lightning Mode (fast)"
192
- },
193
- {
194
- "id": 6,
195
- "type": "ComfySwitchNode",
196
- "pos": [
197
- 700,
198
- -620
199
- ],
200
- "size": [
201
- 280,
202
- 100
203
- ],
204
- "flags": {},
205
- "order": 9,
206
- "mode": 0,
207
- "inputs": [
208
- {
209
- "name": "on_false",
210
- "type": "MODEL",
211
- "link": 2
212
- },
213
- {
214
- "name": "on_true",
215
- "type": "MODEL",
216
- "link": 3
217
- },
218
- {
219
- "name": "switch",
220
- "type": "BOOLEAN",
221
- "link": 7,
222
- "widget": {
223
- "name": "switch"
224
- }
225
- }
226
- ],
227
- "outputs": [
228
- {
229
- "name": "output",
230
- "type": "MODEL",
231
- "slot_index": 0,
232
- "links": [
233
- 14
234
- ]
235
- }
236
- ],
237
- "properties": {
238
- "cnr_id": "comfy-core",
239
- "ver": "0.3.48",
240
- "Node name for S&R": "ComfySwitchNode"
241
- },
242
- "widgets_values": [
243
- false
244
- ],
245
- "title": "Model switch"
246
- },
247
- {
248
- "id": 7,
249
- "type": "ComfySwitchNode",
250
- "pos": [
251
- 700,
252
- -480
253
- ],
254
- "size": [
255
- 280,
256
- 100
257
- ],
258
- "flags": {},
259
- "order": 10,
260
- "mode": 0,
261
- "inputs": [
262
- {
263
- "name": "on_false",
264
- "type": "INT",
265
- "link": 10
266
- },
267
- {
268
- "name": "on_true",
269
- "type": "INT",
270
- "link": 11
271
- },
272
- {
273
- "name": "switch",
274
- "type": "BOOLEAN",
275
- "link": 8,
276
- "widget": {
277
- "name": "switch"
278
- }
279
- }
280
- ],
281
- "outputs": [
282
- {
283
- "name": "output",
284
- "type": "INT",
285
- "slot_index": 0,
286
- "links": [
287
- 15
288
- ]
289
- }
290
- ],
291
- "properties": {
292
- "cnr_id": "comfy-core",
293
- "ver": "0.3.48",
294
- "Node name for S&R": "ComfySwitchNode"
295
- },
296
- "widgets_values": [
297
- false
298
- ],
299
- "title": "Steps switch"
300
- },
301
- {
302
- "id": 8,
303
- "type": "ComfySwitchNode",
304
- "pos": [
305
- 700,
306
- -340
307
- ],
308
- "size": [
309
- 280,
310
- 100
311
- ],
312
- "flags": {},
313
- "order": 11,
314
- "mode": 0,
315
- "inputs": [
316
- {
317
- "name": "on_false",
318
- "type": "FLOAT",
319
- "link": 12
320
- },
321
- {
322
- "name": "on_true",
323
- "type": "FLOAT",
324
- "link": 13
325
- },
326
- {
327
- "name": "switch",
328
- "type": "BOOLEAN",
329
- "link": 9,
330
- "widget": {
331
- "name": "switch"
332
- }
333
- }
334
- ],
335
- "outputs": [
336
- {
337
- "name": "output",
338
- "type": "FLOAT",
339
- "slot_index": 0,
340
- "links": [
341
- 16
342
- ]
343
- }
344
- ],
345
- "properties": {
346
- "cnr_id": "comfy-core",
347
- "ver": "0.3.48",
348
- "Node name for S&R": "ComfySwitchNode"
349
- },
350
- "widgets_values": [
351
- false
352
- ],
353
- "title": "CFG switch"
354
- },
355
- {
356
- "id": 9,
357
- "type": "PrimitiveInt",
358
- "pos": [
359
- 360,
360
- -510
361
- ],
362
- "size": [
363
- 280,
364
- 60
365
- ],
366
- "flags": {},
367
- "order": 5,
368
- "mode": 0,
369
- "inputs": [],
370
- "outputs": [
371
- {
372
- "name": "INT",
373
- "type": "INT",
374
- "slot_index": 0,
375
- "links": [
376
- 10
377
- ]
378
- }
379
- ],
380
- "properties": {
381
- "cnr_id": "comfy-core",
382
- "ver": "0.3.48",
383
- "Node name for S&R": "PrimitiveInt"
384
- },
385
- "widgets_values": [
386
- 12,
387
- "fixed"
388
- ],
389
- "title": "Steps (quality)"
390
- },
391
- {
392
- "id": 10,
393
- "type": "PrimitiveInt",
394
- "pos": [
395
- 360,
396
- -420
397
- ],
398
- "size": [
399
- 280,
400
- 60
401
- ],
402
- "flags": {},
403
- "order": 6,
404
- "mode": 0,
405
- "inputs": [],
406
- "outputs": [
407
- {
408
- "name": "INT",
409
- "type": "INT",
410
- "slot_index": 0,
411
- "links": [
412
- 11
413
- ]
414
- }
415
- ],
416
- "properties": {
417
- "cnr_id": "comfy-core",
418
- "ver": "0.3.48",
419
- "Node name for S&R": "PrimitiveInt"
420
- },
421
- "widgets_values": [
422
- 4,
423
- "fixed"
424
- ],
425
- "title": "Steps (lightning)"
426
- },
427
- {
428
- "id": 11,
429
- "type": "PrimitiveFloat",
430
- "pos": [
431
- 360,
432
- -330
433
- ],
434
- "size": [
435
- 280,
436
- 60
437
- ],
438
- "flags": {},
439
- "order": 7,
440
- "mode": 0,
441
- "inputs": [],
442
- "outputs": [
443
- {
444
- "name": "FLOAT",
445
- "type": "FLOAT",
446
- "slot_index": 0,
447
- "links": [
448
- 12
449
- ]
450
- }
451
- ],
452
- "properties": {
453
- "cnr_id": "comfy-core",
454
- "ver": "0.3.48",
455
- "Node name for S&R": "PrimitiveFloat"
456
- },
457
- "widgets_values": [
458
- 3.0
459
- ],
460
- "title": "CFG (quality)"
461
- },
462
- {
463
- "id": 12,
464
- "type": "PrimitiveFloat",
465
- "pos": [
466
- 360,
467
- -240
468
- ],
469
- "size": [
470
- 280,
471
- 60
472
- ],
473
- "flags": {},
474
- "order": 8,
475
- "mode": 0,
476
- "inputs": [],
477
- "outputs": [
478
- {
479
- "name": "FLOAT",
480
- "type": "FLOAT",
481
- "slot_index": 0,
482
- "links": [
483
- 13
484
- ]
485
- }
486
- ],
487
- "properties": {
488
- "cnr_id": "comfy-core",
489
- "ver": "0.3.48",
490
- "Node name for S&R": "PrimitiveFloat"
491
- },
492
- "widgets_values": [
493
- 1.0
494
- ],
495
- "title": "CFG (lightning)"
496
- },
497
- {
498
- "id": 13,
499
- "type": "ModelSamplingAuraFlow",
500
- "pos": [
501
- 1020,
502
- -620
503
- ],
504
- "size": [
505
- 300,
506
- 58
507
- ],
508
- "flags": {},
509
- "order": 12,
510
- "mode": 0,
511
- "inputs": [
512
- {
513
- "name": "model",
514
- "type": "MODEL",
515
- "link": 14
516
- }
517
- ],
518
- "outputs": [
519
- {
520
- "name": "MODEL",
521
- "type": "MODEL",
522
- "slot_index": 0,
523
- "links": [
524
- 17
525
- ]
526
- }
527
- ],
528
- "properties": {
529
- "cnr_id": "comfy-core",
530
- "ver": "0.3.48",
531
- "Node name for S&R": "ModelSamplingAuraFlow"
532
- },
533
- "widgets_values": [
534
- 3.1
535
- ]
536
- },
537
- {
538
- "id": 14,
539
- "type": "CFGNorm",
540
- "pos": [
541
- 1020,
542
- -510
543
- ],
544
- "size": [
545
- 300,
546
- 80
547
- ],
548
- "flags": {},
549
- "order": 13,
550
- "mode": 0,
551
- "inputs": [
552
- {
553
- "name": "model",
554
- "type": "MODEL",
555
- "link": 17
556
- }
557
- ],
558
- "outputs": [
559
- {
560
- "name": "MODEL",
561
- "type": "MODEL",
562
- "slot_index": 0,
563
- "links": [
564
- 18
565
- ]
566
- }
567
- ],
568
- "properties": {
569
- "cnr_id": "comfy-core",
570
- "ver": "0.3.48",
571
- "Node name for S&R": "CFGNorm"
572
- },
573
- "widgets_values": [
574
- 1,
575
- false
576
- ]
577
- },
578
- {
579
- "id": 15,
580
- "type": "PrimitiveBoolean",
581
- "pos": [
582
- -1500,
583
- -280
584
- ],
585
- "size": [
586
- 340,
587
- 60
588
- ],
589
- "flags": {},
590
- "order": 14,
591
- "mode": 0,
592
- "inputs": [],
593
- "outputs": [
594
- {
595
- "name": "BOOLEAN",
596
- "type": "BOOLEAN",
597
- "slot_index": 0,
598
- "links": [
599
- 19,
600
- 20
601
- ]
602
- }
603
- ],
604
- "properties": {
605
- "cnr_id": "comfy-core",
606
- "ver": "0.3.48",
607
- "Node name for S&R": "PrimitiveBoolean"
608
- },
609
- "widgets_values": [
610
- true
611
- ],
612
- "title": "upscale_input_to_max_size"
613
- },
614
- {
615
- "id": 16,
616
- "type": "PrimitiveBoolean",
617
- "pos": [
618
- -1500,
619
- -180
620
- ],
621
- "size": [
622
- 340,
623
- 60
624
- ],
625
- "flags": {},
626
- "order": 15,
627
- "mode": 0,
628
- "inputs": [],
629
- "outputs": [
630
- {
631
- "name": "BOOLEAN",
632
- "type": "BOOLEAN",
633
- "slot_index": 0,
634
- "links": [
635
- 21,
636
- 22
637
- ]
638
- }
639
- ],
640
- "properties": {
641
- "cnr_id": "comfy-core",
642
- "ver": "0.3.48",
643
- "Node name for S&R": "PrimitiveBoolean"
644
- },
645
- "widgets_values": [
646
- true
647
- ],
648
- "title": "downscale_input_to_max_size"
649
- },
650
- {
651
- "id": 20,
652
- "type": "LoadImage",
653
- "pos": [
654
- -1500,
655
- -60
656
- ],
657
- "size": [
658
- 270,
659
- 330
660
- ],
661
- "flags": {},
662
- "order": 16,
663
- "mode": 0,
664
- "inputs": [],
665
- "outputs": [
666
- {
667
- "name": "IMAGE",
668
- "type": "IMAGE",
669
- "slot_index": 0,
670
- "links": [
671
- 23,
672
- 24,
673
- 25
674
- ]
675
- },
676
- {
677
- "name": "MASK",
678
- "type": "MASK",
679
- "links": null
680
- }
681
- ],
682
- "properties": {
683
- "cnr_id": "comfy-core",
684
- "ver": "0.3.48",
685
- "Node name for S&R": "LoadImage"
686
- },
687
- "widgets_values": [
688
- "test.jpg",
689
- "image"
690
- ],
691
- "title": "Main Image"
692
- },
693
- {
694
- "id": 21,
695
- "type": "PrimitiveInt",
696
- "pos": [
697
- -1500,
698
- 320
699
- ],
700
- "size": [
701
- 270,
702
- 60
703
- ],
704
- "flags": {},
705
- "order": 17,
706
- "mode": 0,
707
- "inputs": [],
708
- "outputs": [
709
- {
710
- "name": "INT",
711
- "type": "INT",
712
- "slot_index": 0,
713
- "links": [
714
- 26,
715
- 27
716
- ]
717
- }
718
- ],
719
- "properties": {
720
- "cnr_id": "comfy-core",
721
- "ver": "0.3.48",
722
- "Node name for S&R": "PrimitiveInt"
723
- },
724
- "widgets_values": [
725
- 1536,
726
- "fixed"
727
- ],
728
- "title": "Input max size (main)"
729
- },
730
- {
731
- "id": 22,
732
- "type": "MathExpression|pysssss",
733
- "pos": [
734
- -1180,
735
- -60
736
- ],
737
- "size": [
738
- 260,
739
- 120
740
- ],
741
- "flags": {},
742
- "order": 18,
743
- "mode": 0,
744
- "inputs": [
745
- {
746
- "name": "a",
747
- "type": "IMAGE",
748
- "link": 23
749
- }
750
- ],
751
- "outputs": [
752
- {
753
- "name": "INT",
754
- "type": "INT",
755
- "slot_index": 0,
756
- "links": [
757
- 28
758
- ]
759
- },
760
- {
761
- "name": "FLOAT",
762
- "type": "FLOAT",
763
- "links": null
764
- }
765
- ],
766
- "properties": {
767
- "cnr_id": "comfyui-custom-scripts",
768
- "ver": "1.0.0",
769
- "Node name for S&R": "MathExpression|pysssss"
770
- },
771
- "widgets_values": [
772
- "max(a.width, a.height)"
773
- ],
774
- "title": "native edge (main)"
775
- },
776
- {
777
- "id": 23,
778
- "type": "MathExpression|pysssss",
779
- "pos": [
780
- -1180,
781
- 100
782
- ],
783
- "size": [
784
- 260,
785
- 120
786
- ],
787
- "flags": {},
788
- "order": 19,
789
- "mode": 0,
790
- "inputs": [
791
- {
792
- "name": "a",
793
- "type": "IMAGE",
794
- "link": 24
795
- },
796
- {
797
- "name": "c",
798
- "type": "INT",
799
- "link": 26
800
- }
801
- ],
802
- "outputs": [
803
- {
804
- "name": "INT",
805
- "type": "INT",
806
- "slot_index": 0,
807
- "links": [
808
- 29
809
- ]
810
- },
811
- {
812
- "name": "FLOAT",
813
- "type": "FLOAT",
814
- "links": null
815
- }
816
- ],
817
- "properties": {
818
- "cnr_id": "comfyui-custom-scripts",
819
- "ver": "1.0.0",
820
- "Node name for S&R": "MathExpression|pysssss"
821
- },
822
- "widgets_values": [
823
- "max(a.width, a.height, c)"
824
- ],
825
- "title": "upscaled edge (main)"
826
- },
827
- {
828
- "id": 24,
829
- "type": "ComfySwitchNode",
830
- "pos": [
831
- -880,
832
- -20
833
- ],
834
- "size": [
835
- 260,
836
- 100
837
- ],
838
- "flags": {},
839
- "order": 20,
840
- "mode": 0,
841
- "inputs": [
842
- {
843
- "name": "on_false",
844
- "type": "INT",
845
- "link": 28
846
- },
847
- {
848
- "name": "on_true",
849
- "type": "INT",
850
- "link": 29
851
- },
852
- {
853
- "name": "switch",
854
- "type": "BOOLEAN",
855
- "link": 19,
856
- "widget": {
857
- "name": "switch"
858
- }
859
- }
860
- ],
861
- "outputs": [
862
- {
863
- "name": "output",
864
- "type": "INT",
865
- "slot_index": 0,
866
- "links": [
867
- 30,
868
- 31
869
- ]
870
- }
871
- ],
872
- "properties": {
873
- "cnr_id": "comfy-core",
874
- "ver": "0.3.48",
875
- "Node name for S&R": "ComfySwitchNode"
876
- },
877
- "widgets_values": [
878
- false
879
- ],
880
- "title": "apply upscale (main)"
881
- },
882
- {
883
- "id": 25,
884
- "type": "MathExpression|pysssss",
885
- "pos": [
886
- -880,
887
- 130
888
- ],
889
- "size": [
890
- 260,
891
- 120
892
- ],
893
- "flags": {},
894
- "order": 21,
895
- "mode": 0,
896
- "inputs": [
897
- {
898
- "name": "a",
899
- "type": "INT",
900
- "link": 30
901
- },
902
- {
903
- "name": "c",
904
- "type": "INT",
905
- "link": 27
906
- }
907
- ],
908
- "outputs": [
909
- {
910
- "name": "INT",
911
- "type": "INT",
912
- "slot_index": 0,
913
- "links": [
914
- 32
915
- ]
916
- },
917
- {
918
- "name": "FLOAT",
919
- "type": "FLOAT",
920
- "links": null
921
- }
922
- ],
923
- "properties": {
924
- "cnr_id": "comfyui-custom-scripts",
925
- "ver": "1.0.0",
926
- "Node name for S&R": "MathExpression|pysssss"
927
- },
928
- "widgets_values": [
929
- "min(a, c)"
930
- ],
931
- "title": "downscaled edge (main)"
932
- },
933
- {
934
- "id": 26,
935
- "type": "ComfySwitchNode",
936
- "pos": [
937
- -580,
938
- -20
939
- ],
940
- "size": [
941
- 260,
942
- 100
943
- ],
944
- "flags": {},
945
- "order": 22,
946
- "mode": 0,
947
- "inputs": [
948
- {
949
- "name": "on_false",
950
- "type": "INT",
951
- "link": 31
952
- },
953
- {
954
- "name": "on_true",
955
- "type": "INT",
956
- "link": 32
957
- },
958
- {
959
- "name": "switch",
960
- "type": "BOOLEAN",
961
- "link": 21,
962
- "widget": {
963
- "name": "switch"
964
- }
965
- }
966
- ],
967
- "outputs": [
968
- {
969
- "name": "output",
970
- "type": "INT",
971
- "slot_index": 0,
972
- "links": [
973
- 33
974
- ]
975
- }
976
- ],
977
- "properties": {
978
- "cnr_id": "comfy-core",
979
- "ver": "0.3.48",
980
- "Node name for S&R": "ComfySwitchNode"
981
- },
982
- "widgets_values": [
983
- false
984
- ],
985
- "title": "apply downscale (main)"
986
- },
987
- {
988
- "id": 27,
989
- "type": "QwenEditConfigPreparer",
990
- "pos": [
991
- -280,
992
- -60
993
- ],
994
- "size": [
995
- 340,
996
- 320
997
- ],
998
- "flags": {},
999
- "order": 23,
1000
- "mode": 0,
1001
- "inputs": [
1002
- {
1003
- "name": "image",
1004
- "type": "IMAGE",
1005
- "link": 25
1006
- },
1007
- {
1008
- "name": "ref_longest_edge",
1009
- "type": "INT",
1010
- "link": 33,
1011
- "widget": {
1012
- "name": "ref_longest_edge"
1013
- }
1014
- }
1015
- ],
1016
- "outputs": [
1017
- {
1018
- "name": "configs",
1019
- "type": "LIST",
1020
- "slot_index": 0,
1021
- "links": [
1022
- 34
1023
- ]
1024
- },
1025
- {
1026
- "name": "config",
1027
- "type": "ANY",
1028
- "links": null
1029
- }
1030
- ],
1031
- "properties": {
1032
- "cnr_id": "comfyui-qweneditutils",
1033
- "ver": "1.0.0",
1034
- "Node name for S&R": "QwenEditConfigPreparer"
1035
- },
1036
- "widgets_values": [
1037
- true,
1038
- true,
1039
- 1536,
1040
- "pad",
1041
- "lanczos",
1042
- true,
1043
- true,
1044
- 384,
1045
- "center",
1046
- "bicubic"
1047
- ],
1048
- "title": "Main image config"
1049
- },
1050
- {
1051
- "id": 30,
1052
- "type": "LoadImage",
1053
- "pos": [
1054
- -1500,
1055
- 460
1056
- ],
1057
- "size": [
1058
- 270,
1059
- 330
1060
- ],
1061
- "flags": {},
1062
- "order": 24,
1063
- "mode": 4,
1064
- "inputs": [],
1065
- "outputs": [
1066
- {
1067
- "name": "IMAGE",
1068
- "type": "IMAGE",
1069
- "slot_index": 0,
1070
- "links": [
1071
- 35,
1072
- 36,
1073
- 37
1074
- ]
1075
- },
1076
- {
1077
- "name": "MASK",
1078
- "type": "MASK",
1079
- "links": null
1080
- }
1081
- ],
1082
- "properties": {
1083
- "cnr_id": "comfy-core",
1084
- "ver": "0.3.48",
1085
- "Node name for S&R": "LoadImage"
1086
- },
1087
- "widgets_values": [
1088
- "test.jpg",
1089
- "image"
1090
- ],
1091
- "title": "Reference Image 2 (optional)"
1092
- },
1093
- {
1094
- "id": 31,
1095
- "type": "PrimitiveInt",
1096
- "pos": [
1097
- -1500,
1098
- 840
1099
- ],
1100
- "size": [
1101
- 270,
1102
- 60
1103
- ],
1104
- "flags": {},
1105
- "order": 25,
1106
- "mode": 0,
1107
- "inputs": [],
1108
- "outputs": [
1109
- {
1110
- "name": "INT",
1111
- "type": "INT",
1112
- "slot_index": 0,
1113
- "links": [
1114
- 38,
1115
- 39
1116
- ]
1117
- }
1118
- ],
1119
- "properties": {
1120
- "cnr_id": "comfy-core",
1121
- "ver": "0.3.48",
1122
- "Node name for S&R": "PrimitiveInt"
1123
- },
1124
- "widgets_values": [
1125
- 1024,
1126
- "fixed"
1127
- ],
1128
- "title": "Input max size (ref 2)"
1129
- },
1130
- {
1131
- "id": 32,
1132
- "type": "MathExpression|pysssss",
1133
- "pos": [
1134
- -1180,
1135
- 460
1136
- ],
1137
- "size": [
1138
- 260,
1139
- 120
1140
- ],
1141
- "flags": {},
1142
- "order": 26,
1143
- "mode": 4,
1144
- "inputs": [
1145
- {
1146
- "name": "a",
1147
- "type": "IMAGE",
1148
- "link": 35
1149
- }
1150
- ],
1151
- "outputs": [
1152
- {
1153
- "name": "INT",
1154
- "type": "INT",
1155
- "slot_index": 0,
1156
- "links": [
1157
- 40
1158
- ]
1159
- },
1160
- {
1161
- "name": "FLOAT",
1162
- "type": "FLOAT",
1163
- "links": null
1164
- }
1165
- ],
1166
- "properties": {
1167
- "cnr_id": "comfyui-custom-scripts",
1168
- "ver": "1.0.0",
1169
- "Node name for S&R": "MathExpression|pysssss"
1170
- },
1171
- "widgets_values": [
1172
- "max(a.width, a.height)"
1173
- ],
1174
- "title": "native edge (ref 2)"
1175
- },
1176
- {
1177
- "id": 33,
1178
- "type": "MathExpression|pysssss",
1179
- "pos": [
1180
- -1180,
1181
- 620
1182
- ],
1183
- "size": [
1184
- 260,
1185
- 120
1186
- ],
1187
- "flags": {},
1188
- "order": 27,
1189
- "mode": 4,
1190
- "inputs": [
1191
- {
1192
- "name": "a",
1193
- "type": "IMAGE",
1194
- "link": 36
1195
- },
1196
- {
1197
- "name": "c",
1198
- "type": "INT",
1199
- "link": 38
1200
- }
1201
- ],
1202
- "outputs": [
1203
- {
1204
- "name": "INT",
1205
- "type": "INT",
1206
- "slot_index": 0,
1207
- "links": [
1208
- 41
1209
- ]
1210
- },
1211
- {
1212
- "name": "FLOAT",
1213
- "type": "FLOAT",
1214
- "links": null
1215
- }
1216
- ],
1217
- "properties": {
1218
- "cnr_id": "comfyui-custom-scripts",
1219
- "ver": "1.0.0",
1220
- "Node name for S&R": "MathExpression|pysssss"
1221
- },
1222
- "widgets_values": [
1223
- "max(a.width, a.height, c)"
1224
- ],
1225
- "title": "upscaled edge (ref 2)"
1226
- },
1227
- {
1228
- "id": 34,
1229
- "type": "ComfySwitchNode",
1230
- "pos": [
1231
- -880,
1232
- 500
1233
- ],
1234
- "size": [
1235
- 260,
1236
- 100
1237
- ],
1238
- "flags": {},
1239
- "order": 28,
1240
- "mode": 4,
1241
- "inputs": [
1242
- {
1243
- "name": "on_false",
1244
- "type": "INT",
1245
- "link": 40
1246
- },
1247
- {
1248
- "name": "on_true",
1249
- "type": "INT",
1250
- "link": 41
1251
- },
1252
- {
1253
- "name": "switch",
1254
- "type": "BOOLEAN",
1255
- "link": 20,
1256
- "widget": {
1257
- "name": "switch"
1258
- }
1259
- }
1260
- ],
1261
- "outputs": [
1262
- {
1263
- "name": "output",
1264
- "type": "INT",
1265
- "slot_index": 0,
1266
- "links": [
1267
- 42,
1268
- 43
1269
- ]
1270
- }
1271
- ],
1272
- "properties": {
1273
- "cnr_id": "comfy-core",
1274
- "ver": "0.3.48",
1275
- "Node name for S&R": "ComfySwitchNode"
1276
- },
1277
- "widgets_values": [
1278
- false
1279
- ],
1280
- "title": "apply upscale (ref 2)"
1281
- },
1282
- {
1283
- "id": 35,
1284
- "type": "MathExpression|pysssss",
1285
- "pos": [
1286
- -880,
1287
- 650
1288
- ],
1289
- "size": [
1290
- 260,
1291
- 120
1292
- ],
1293
- "flags": {},
1294
- "order": 29,
1295
- "mode": 4,
1296
- "inputs": [
1297
- {
1298
- "name": "a",
1299
- "type": "INT",
1300
- "link": 42
1301
- },
1302
- {
1303
- "name": "c",
1304
- "type": "INT",
1305
- "link": 39
1306
- }
1307
- ],
1308
- "outputs": [
1309
- {
1310
- "name": "INT",
1311
- "type": "INT",
1312
- "slot_index": 0,
1313
- "links": [
1314
- 44
1315
- ]
1316
- },
1317
- {
1318
- "name": "FLOAT",
1319
- "type": "FLOAT",
1320
- "links": null
1321
- }
1322
- ],
1323
- "properties": {
1324
- "cnr_id": "comfyui-custom-scripts",
1325
- "ver": "1.0.0",
1326
- "Node name for S&R": "MathExpression|pysssss"
1327
- },
1328
- "widgets_values": [
1329
- "min(a, c)"
1330
- ],
1331
- "title": "downscaled edge (ref 2)"
1332
- },
1333
- {
1334
- "id": 36,
1335
- "type": "ComfySwitchNode",
1336
- "pos": [
1337
- -580,
1338
- 500
1339
- ],
1340
- "size": [
1341
- 260,
1342
- 100
1343
- ],
1344
- "flags": {},
1345
- "order": 30,
1346
- "mode": 4,
1347
- "inputs": [
1348
- {
1349
- "name": "on_false",
1350
- "type": "INT",
1351
- "link": 43
1352
- },
1353
- {
1354
- "name": "on_true",
1355
- "type": "INT",
1356
- "link": 44
1357
- },
1358
- {
1359
- "name": "switch",
1360
- "type": "BOOLEAN",
1361
- "link": 22,
1362
- "widget": {
1363
- "name": "switch"
1364
- }
1365
- }
1366
- ],
1367
- "outputs": [
1368
- {
1369
- "name": "output",
1370
- "type": "INT",
1371
- "slot_index": 0,
1372
- "links": [
1373
- 45
1374
- ]
1375
- }
1376
- ],
1377
- "properties": {
1378
- "cnr_id": "comfy-core",
1379
- "ver": "0.3.48",
1380
- "Node name for S&R": "ComfySwitchNode"
1381
- },
1382
- "widgets_values": [
1383
- false
1384
- ],
1385
- "title": "apply downscale (ref 2)"
1386
- },
1387
- {
1388
- "id": 37,
1389
- "type": "QwenEditConfigPreparer",
1390
- "pos": [
1391
- -280,
1392
- 460
1393
- ],
1394
- "size": [
1395
- 340,
1396
- 320
1397
- ],
1398
- "flags": {},
1399
- "order": 31,
1400
- "mode": 4,
1401
- "inputs": [
1402
- {
1403
- "name": "image",
1404
- "type": "IMAGE",
1405
- "link": 37
1406
- },
1407
- {
1408
- "name": "configs",
1409
- "type": "LIST",
1410
- "link": 34,
1411
- "shape": 7
1412
- },
1413
- {
1414
- "name": "ref_longest_edge",
1415
- "type": "INT",
1416
- "link": 45,
1417
- "widget": {
1418
- "name": "ref_longest_edge"
1419
- }
1420
- }
1421
- ],
1422
- "outputs": [
1423
- {
1424
- "name": "configs",
1425
- "type": "LIST",
1426
- "slot_index": 0,
1427
- "links": [
1428
- 46
1429
- ]
1430
- },
1431
- {
1432
- "name": "config",
1433
- "type": "ANY",
1434
- "links": null
1435
- }
1436
- ],
1437
- "properties": {
1438
- "cnr_id": "comfyui-qweneditutils",
1439
- "ver": "1.0.0",
1440
- "Node name for S&R": "QwenEditConfigPreparer"
1441
- },
1442
- "widgets_values": [
1443
- true,
1444
- false,
1445
- 1024,
1446
- "center",
1447
- "lanczos",
1448
- true,
1449
- true,
1450
- 384,
1451
- "center",
1452
- "bicubic"
1453
- ],
1454
- "title": "Reference image 2 config"
1455
- },
1456
- {
1457
- "id": 40,
1458
- "type": "TextEncodeQwenImageEditPlusCustom_lrzjason",
1459
- "pos": [
1460
- 120,
1461
- 40
1462
- ],
1463
- "size": [
1464
- 400,
1465
- 260
1466
- ],
1467
- "flags": {},
1468
- "order": 32,
1469
- "mode": 0,
1470
- "inputs": [
1471
- {
1472
- "name": "clip",
1473
- "type": "CLIP",
1474
- "link": 4
1475
- },
1476
- {
1477
- "name": "vae",
1478
- "type": "VAE",
1479
- "link": 5
1480
- },
1481
- {
1482
- "name": "configs",
1483
- "type": "LIST",
1484
- "link": 46
1485
- }
1486
- ],
1487
- "outputs": [
1488
- {
1489
- "name": "conditioning",
1490
- "type": "CONDITIONING",
1491
- "slot_index": 0,
1492
- "links": [
1493
- 47,
1494
- 48
1495
- ]
1496
- },
1497
- {
1498
- "name": "latent",
1499
- "type": "LATENT",
1500
- "slot_index": 1,
1501
- "links": [
1502
- 49
1503
- ]
1504
- },
1505
- {
1506
- "name": "custom_output",
1507
- "type": "ANY",
1508
- "slot_index": 2,
1509
- "links": [
1510
- 50
1511
- ]
1512
- }
1513
- ],
1514
- "properties": {
1515
- "cnr_id": "comfyui-qweneditutils",
1516
- "ver": "1.0.0",
1517
- "Node name for S&R": "TextEncodeQwenImageEditPlusCustom_lrzjason"
1518
- },
1519
- "widgets_values": [
1520
- "",
1521
- true,
1522
- "Describe the key features of the input image (color, shape, size, texture, objects, background), then explain how the user's text instruction should alter or modify the image. Generate a new image that meets the user's requirements while maintaining consistency with the original input where appropriate."
1523
- ],
1524
- "title": "Qwen Edit Encode (prompt here)"
1525
- },
1526
- {
1527
- "id": 41,
1528
- "type": "QwenEditOutputExtractor",
1529
- "pos": [
1530
- 560,
1531
- 300
1532
- ],
1533
- "size": [
1534
- 300,
1535
- 260
1536
- ],
1537
- "flags": {},
1538
- "order": 33,
1539
- "mode": 0,
1540
- "inputs": [
1541
- {
1542
- "name": "custom_output",
1543
- "type": "ANY",
1544
- "link": 50
1545
- }
1546
- ],
1547
- "outputs": [
1548
- {
1549
- "name": "pad_info",
1550
- "type": "ANY",
1551
- "slot_index": 0,
1552
- "links": [
1553
- 51
1554
- ]
1555
- },
1556
- {
1557
- "name": "full_refs_cond",
1558
- "type": "CONDITIONING",
1559
- "links": null
1560
- },
1561
- {
1562
- "name": "main_ref_cond",
1563
- "type": "CONDITIONING",
1564
- "links": null
1565
- },
1566
- {
1567
- "name": "main_image",
1568
- "type": "IMAGE",
1569
- "links": null
1570
- },
1571
- {
1572
- "name": "vae_images",
1573
- "type": "LIST",
1574
- "links": null
1575
- },
1576
- {
1577
- "name": "ref_latents",
1578
- "type": "LIST",
1579
- "links": null
1580
- },
1581
- {
1582
- "name": "vl_images",
1583
- "type": "LIST",
1584
- "links": null
1585
- },
1586
- {
1587
- "name": "full_prompt",
1588
- "type": "STRING",
1589
- "links": null
1590
- },
1591
- {
1592
- "name": "llama_template",
1593
- "type": "STRING",
1594
- "links": null
1595
- },
1596
- {
1597
- "name": "no_refs_cond",
1598
- "type": "CONDITIONING",
1599
- "links": null
1600
- },
1601
- {
1602
- "name": "mask",
1603
- "type": "MASK",
1604
- "links": null
1605
- }
1606
- ],
1607
- "properties": {
1608
- "cnr_id": "comfyui-qweneditutils",
1609
- "ver": "1.0.0",
1610
- "Node name for S&R": "QwenEditOutputExtractor"
1611
- },
1612
- "widgets_values": []
1613
- },
1614
- {
1615
- "id": 42,
1616
- "type": "ConditioningZeroOut",
1617
- "pos": [
1618
- 560,
1619
- 180
1620
- ],
1621
- "size": [
1622
- 280,
1623
- 50
1624
- ],
1625
- "flags": {},
1626
- "order": 34,
1627
- "mode": 0,
1628
- "inputs": [
1629
- {
1630
- "name": "conditioning",
1631
- "type": "CONDITIONING",
1632
- "link": 48
1633
- }
1634
- ],
1635
- "outputs": [
1636
- {
1637
- "name": "CONDITIONING",
1638
- "type": "CONDITIONING",
1639
- "slot_index": 0,
1640
- "links": [
1641
- 52
1642
- ]
1643
- }
1644
- ],
1645
- "properties": {
1646
- "cnr_id": "comfy-core",
1647
- "ver": "0.3.48",
1648
- "Node name for S&R": "ConditioningZeroOut"
1649
- },
1650
- "widgets_values": [],
1651
- "title": "Negative (zeroed)"
1652
- },
1653
- {
1654
- "id": 43,
1655
- "type": "KSampler",
1656
- "pos": [
1657
- 1020,
1658
- -20
1659
- ],
1660
- "size": [
1661
- 300,
1662
- 450
1663
- ],
1664
- "flags": {},
1665
- "order": 35,
1666
- "mode": 0,
1667
- "inputs": [
1668
- {
1669
- "name": "model",
1670
- "type": "MODEL",
1671
- "link": 18
1672
- },
1673
- {
1674
- "name": "positive",
1675
- "type": "CONDITIONING",
1676
- "link": 47
1677
- },
1678
- {
1679
- "name": "negative",
1680
- "type": "CONDITIONING",
1681
- "link": 52
1682
- },
1683
- {
1684
- "name": "latent_image",
1685
- "type": "LATENT",
1686
- "link": 49
1687
- },
1688
- {
1689
- "name": "steps",
1690
- "type": "INT",
1691
- "link": 15,
1692
- "widget": {
1693
- "name": "steps"
1694
- }
1695
- },
1696
- {
1697
- "name": "cfg",
1698
- "type": "FLOAT",
1699
- "link": 16,
1700
- "widget": {
1701
- "name": "cfg"
1702
- }
1703
- }
1704
- ],
1705
- "outputs": [
1706
- {
1707
- "name": "LATENT",
1708
- "type": "LATENT",
1709
- "slot_index": 0,
1710
- "links": [
1711
- 53
1712
- ]
1713
- }
1714
- ],
1715
- "properties": {
1716
- "cnr_id": "comfy-core",
1717
- "ver": "0.3.48",
1718
- "Node name for S&R": "KSampler"
1719
- },
1720
- "widgets_values": [
1721
- 42,
1722
- "randomize",
1723
- 4,
1724
- 1.0,
1725
- "euler",
1726
- "simple",
1727
- 1
1728
- ]
1729
- },
1730
- {
1731
- "id": 44,
1732
- "type": "VAEDecode",
1733
- "pos": [
1734
- 1380,
1735
- -20
1736
- ],
1737
- "size": [
1738
- 210,
1739
- 50
1740
- ],
1741
- "flags": {},
1742
- "order": 36,
1743
- "mode": 0,
1744
- "inputs": [
1745
- {
1746
- "name": "samples",
1747
- "type": "LATENT",
1748
- "link": 53
1749
- },
1750
- {
1751
- "name": "vae",
1752
- "type": "VAE",
1753
- "link": 6
1754
- }
1755
- ],
1756
- "outputs": [
1757
- {
1758
- "name": "IMAGE",
1759
- "type": "IMAGE",
1760
- "slot_index": 0,
1761
- "links": [
1762
- 54
1763
- ]
1764
- }
1765
- ],
1766
- "properties": {
1767
- "cnr_id": "comfy-core",
1768
- "ver": "0.3.48",
1769
- "Node name for S&R": "VAEDecode"
1770
- },
1771
- "widgets_values": []
1772
- },
1773
- {
1774
- "id": 45,
1775
- "type": "CropWithPadInfo",
1776
- "pos": [
1777
- 1380,
1778
- 80
1779
- ],
1780
- "size": [
1781
- 280,
1782
- 80
1783
- ],
1784
- "flags": {},
1785
- "order": 37,
1786
- "mode": 0,
1787
- "inputs": [
1788
- {
1789
- "name": "image",
1790
- "type": "IMAGE",
1791
- "link": 54
1792
- },
1793
- {
1794
- "name": "pad_info",
1795
- "type": "ANY",
1796
- "link": 51
1797
- }
1798
- ],
1799
- "outputs": [
1800
- {
1801
- "name": "cropped_image",
1802
- "type": "IMAGE",
1803
- "slot_index": 0,
1804
- "links": [
1805
- 55,
1806
- 56
1807
- ]
1808
- },
1809
- {
1810
- "name": "scale_by",
1811
- "type": "FLOAT",
1812
- "links": null
1813
- }
1814
- ],
1815
- "properties": {
1816
- "cnr_id": "comfyui-qweneditutils",
1817
- "ver": "1.0.0",
1818
- "Node name for S&R": "CropWithPadInfo"
1819
- },
1820
- "widgets_values": [],
1821
- "title": "Remove padding"
1822
- },
1823
- {
1824
- "id": 46,
1825
- "type": "PrimitiveBoolean",
1826
- "pos": [
1827
- 1380,
1828
- 220
1829
- ],
1830
- "size": [
1831
- 340,
1832
- 60
1833
- ],
1834
- "flags": {},
1835
- "order": 38,
1836
- "mode": 0,
1837
- "inputs": [],
1838
- "outputs": [
1839
- {
1840
- "name": "BOOLEAN",
1841
- "type": "BOOLEAN",
1842
- "slot_index": 0,
1843
- "links": [
1844
- 57
1845
- ]
1846
- }
1847
- ],
1848
- "properties": {
1849
- "cnr_id": "comfy-core",
1850
- "ver": "0.3.48",
1851
- "Node name for S&R": "PrimitiveBoolean"
1852
- },
1853
- "widgets_values": [
1854
- false
1855
- ],
1856
- "title": "upscale_output_to_selected_size"
1857
- },
1858
- {
1859
- "id": 47,
1860
- "type": "PrimitiveInt",
1861
- "pos": [
1862
- 1380,
1863
- 320
1864
- ],
1865
- "size": [
1866
- 340,
1867
- 60
1868
- ],
1869
- "flags": {},
1870
- "order": 39,
1871
- "mode": 0,
1872
- "inputs": [],
1873
- "outputs": [
1874
- {
1875
- "name": "INT",
1876
- "type": "INT",
1877
- "slot_index": 0,
1878
- "links": [
1879
- 58
1880
- ]
1881
- }
1882
- ],
1883
- "properties": {
1884
- "cnr_id": "comfy-core",
1885
- "ver": "0.3.48",
1886
- "Node name for S&R": "PrimitiveInt"
1887
- },
1888
- "widgets_values": [
1889
- 2048,
1890
- "fixed"
1891
- ],
1892
- "title": "Selected output size"
1893
- },
1894
- {
1895
- "id": 48,
1896
- "type": "ImageScaleToMaxDimension",
1897
- "pos": [
1898
- 1380,
1899
- 430
1900
- ],
1901
- "size": [
1902
- 280,
1903
- 100
1904
- ],
1905
- "flags": {},
1906
- "order": 40,
1907
- "mode": 0,
1908
- "inputs": [
1909
- {
1910
- "name": "image",
1911
- "type": "IMAGE",
1912
- "link": 55
1913
- },
1914
- {
1915
- "name": "largest_size",
1916
- "type": "INT",
1917
- "link": 58,
1918
- "widget": {
1919
- "name": "largest_size"
1920
- }
1921
- }
1922
- ],
1923
- "outputs": [
1924
- {
1925
- "name": "IMAGE",
1926
- "type": "IMAGE",
1927
- "slot_index": 0,
1928
- "links": [
1929
- 59
1930
- ]
1931
- }
1932
- ],
1933
- "properties": {
1934
- "cnr_id": "comfy-core",
1935
- "ver": "0.3.48",
1936
- "Node name for S&R": "ImageScaleToMaxDimension"
1937
- },
1938
- "widgets_values": [
1939
- "lanczos",
1940
- 2048
1941
- ],
1942
- "title": "Scale output"
1943
- },
1944
- {
1945
- "id": 49,
1946
- "type": "ComfySwitchNode",
1947
- "pos": [
1948
- 1720,
1949
- 220
1950
- ],
1951
- "size": [
1952
- 280,
1953
- 100
1954
- ],
1955
- "flags": {},
1956
- "order": 41,
1957
- "mode": 0,
1958
- "inputs": [
1959
- {
1960
- "name": "on_false",
1961
- "type": "IMAGE",
1962
- "link": 56
1963
- },
1964
- {
1965
- "name": "on_true",
1966
- "type": "IMAGE",
1967
- "link": 59
1968
- },
1969
- {
1970
- "name": "switch",
1971
- "type": "BOOLEAN",
1972
- "link": 57,
1973
- "widget": {
1974
- "name": "switch"
1975
- }
1976
- }
1977
- ],
1978
- "outputs": [
1979
- {
1980
- "name": "output",
1981
- "type": "IMAGE",
1982
- "slot_index": 0,
1983
- "links": [
1984
- 60
1985
- ]
1986
- }
1987
- ],
1988
- "properties": {
1989
- "cnr_id": "comfy-core",
1990
- "ver": "0.3.48",
1991
- "Node name for S&R": "ComfySwitchNode"
1992
- },
1993
- "widgets_values": [
1994
- false
1995
- ],
1996
- "title": "Output size switch"
1997
- },
1998
- {
1999
- "id": 50,
2000
- "type": "SaveImage",
2001
- "pos": [
2002
- 2060,
2003
- -20
2004
- ],
2005
- "size": [
2006
- 400,
2007
- 460
2008
- ],
2009
- "flags": {},
2010
- "order": 42,
2011
- "mode": 0,
2012
- "inputs": [
2013
- {
2014
- "name": "images",
2015
- "type": "IMAGE",
2016
- "link": 60
2017
- }
2018
- ],
2019
- "outputs": [],
2020
- "properties": {
2021
- "cnr_id": "comfy-core",
2022
- "ver": "0.3.48",
2023
- "Node name for S&R": "SaveImage"
2024
- },
2025
- "widgets_values": [
2026
- "qwen-edit-turbo-v3"
2027
- ]
2028
- },
2029
- {
2030
- "id": 51,
2031
- "type": "MarkdownNote",
2032
- "pos": [
2033
- -1500,
2034
- -720
2035
- ],
2036
- "size": [
2037
- 620,
2038
- 380
2039
- ],
2040
- "flags": {},
2041
- "order": 43,
2042
- "mode": 0,
2043
- "inputs": [],
2044
- "outputs": [],
2045
- "properties": {
2046
- "cnr_id": "comfy-core",
2047
- "ver": "0.3.48",
2048
- "Node name for S&R": "MarkdownNote"
2049
- },
2050
- "widgets_values": [
2051
- "## Qwen Edit Turbo v3 (rev 2)\n\n**2511 + Lightning toggle + input size normalization + output size control** (needs [Comfyui-QwenEditUtils](https://github.com/lrzjason/Comfyui-QwenEditUtils) + [ComfyUI-Custom-Scripts](https://github.com/pythongosssss/ComfyUI-Custom-Scripts))\n\n- **Lightning Mode** true = 4 steps / CFG 1.0 with the Lightning LoRA; false = 12 steps / CFG 3.0, no LoRA. Swap the LoRA widget + Steps (lightning) for the 8-step variant.\n- **upscale_input_to_max_size** (true): inputs smaller than *Input max size* are upscaled to it. **downscale_input_to_max_size** (true): larger inputs are downscaled to it. Both true = always render at max size (1536 main / 1024 ref). Both false = render at native input size. Applies to both image chains.\n- **upscale_output_to_selected_size** (false): scale the final image so its longest edge = *Selected output size* (2048). Off = output stays at render size. (For real detail gain use the qwen-edit-upscale-2k workflow on the output instead - this is plain lanczos.)\n- **Reference Image 2**: bypassed by default - Ctrl+B the purple group to enable for multi-image edits.\n- Aspect ratio is always preserved exactly (pad encode + CropWithPadInfo after decode).\n\n**Models** (all in [aleph65/ComfyUI](https://huggingface.co/aleph65/ComfyUI)): `qwen_image_edit_2511_bf16`, `qwen_2.5_vl_7b`, `qwen_image_vae`, Lightning 4/8-step loras\n"
2052
- ],
2053
- "title": "README"
2054
- }
2055
- ],
2056
- "links": [
2057
- [
2058
- 1,
2059
- 1,
2060
- 0,
2061
- 2,
2062
- 0,
2063
- "MODEL"
2064
- ],
2065
- [
2066
- 2,
2067
- 1,
2068
- 0,
2069
- 6,
2070
- 0,
2071
- "MODEL"
2072
- ],
2073
- [
2074
- 3,
2075
- 2,
2076
- 0,
2077
- 6,
2078
- 1,
2079
- "MODEL"
2080
- ],
2081
- [
2082
- 4,
2083
- 3,
2084
- 0,
2085
- 40,
2086
- 0,
2087
- "CLIP"
2088
- ],
2089
- [
2090
- 5,
2091
- 4,
2092
- 0,
2093
- 40,
2094
- 1,
2095
- "VAE"
2096
- ],
2097
- [
2098
- 6,
2099
- 4,
2100
- 0,
2101
- 44,
2102
- 1,
2103
- "VAE"
2104
- ],
2105
- [
2106
- 7,
2107
- 5,
2108
- 0,
2109
- 6,
2110
- 2,
2111
- "BOOLEAN"
2112
- ],
2113
- [
2114
- 8,
2115
- 5,
2116
- 0,
2117
- 7,
2118
- 2,
2119
- "BOOLEAN"
2120
- ],
2121
- [
2122
- 9,
2123
- 5,
2124
- 0,
2125
- 8,
2126
- 2,
2127
- "BOOLEAN"
2128
- ],
2129
- [
2130
- 10,
2131
- 9,
2132
- 0,
2133
- 7,
2134
- 0,
2135
- "INT"
2136
- ],
2137
- [
2138
- 11,
2139
- 10,
2140
- 0,
2141
- 7,
2142
- 1,
2143
- "INT"
2144
- ],
2145
- [
2146
- 12,
2147
- 11,
2148
- 0,
2149
- 8,
2150
- 0,
2151
- "FLOAT"
2152
- ],
2153
- [
2154
- 13,
2155
- 12,
2156
- 0,
2157
- 8,
2158
- 1,
2159
- "FLOAT"
2160
- ],
2161
- [
2162
- 14,
2163
- 6,
2164
- 0,
2165
- 13,
2166
- 0,
2167
- "MODEL"
2168
- ],
2169
- [
2170
- 15,
2171
- 7,
2172
- 0,
2173
- 43,
2174
- 4,
2175
- "INT"
2176
- ],
2177
- [
2178
- 16,
2179
- 8,
2180
- 0,
2181
- 43,
2182
- 5,
2183
- "FLOAT"
2184
- ],
2185
- [
2186
- 17,
2187
- 13,
2188
- 0,
2189
- 14,
2190
- 0,
2191
- "MODEL"
2192
- ],
2193
- [
2194
- 18,
2195
- 14,
2196
- 0,
2197
- 43,
2198
- 0,
2199
- "MODEL"
2200
- ],
2201
- [
2202
- 19,
2203
- 15,
2204
- 0,
2205
- 24,
2206
- 2,
2207
- "BOOLEAN"
2208
- ],
2209
- [
2210
- 20,
2211
- 15,
2212
- 0,
2213
- 34,
2214
- 2,
2215
- "BOOLEAN"
2216
- ],
2217
- [
2218
- 21,
2219
- 16,
2220
- 0,
2221
- 26,
2222
- 2,
2223
- "BOOLEAN"
2224
- ],
2225
- [
2226
- 22,
2227
- 16,
2228
- 0,
2229
- 36,
2230
- 2,
2231
- "BOOLEAN"
2232
- ],
2233
- [
2234
- 23,
2235
- 20,
2236
- 0,
2237
- 22,
2238
- 0,
2239
- "IMAGE"
2240
- ],
2241
- [
2242
- 24,
2243
- 20,
2244
- 0,
2245
- 23,
2246
- 0,
2247
- "IMAGE"
2248
- ],
2249
- [
2250
- 25,
2251
- 20,
2252
- 0,
2253
- 27,
2254
- 0,
2255
- "IMAGE"
2256
- ],
2257
- [
2258
- 26,
2259
- 21,
2260
- 0,
2261
- 23,
2262
- 1,
2263
- "INT"
2264
- ],
2265
- [
2266
- 27,
2267
- 21,
2268
- 0,
2269
- 25,
2270
- 1,
2271
- "INT"
2272
- ],
2273
- [
2274
- 28,
2275
- 22,
2276
- 0,
2277
- 24,
2278
- 0,
2279
- "INT"
2280
- ],
2281
- [
2282
- 29,
2283
- 23,
2284
- 0,
2285
- 24,
2286
- 1,
2287
- "INT"
2288
- ],
2289
- [
2290
- 30,
2291
- 24,
2292
- 0,
2293
- 25,
2294
- 0,
2295
- "INT"
2296
- ],
2297
- [
2298
- 31,
2299
- 24,
2300
- 0,
2301
- 26,
2302
- 0,
2303
- "INT"
2304
- ],
2305
- [
2306
- 32,
2307
- 25,
2308
- 0,
2309
- 26,
2310
- 1,
2311
- "INT"
2312
- ],
2313
- [
2314
- 33,
2315
- 26,
2316
- 0,
2317
- 27,
2318
- 1,
2319
- "INT"
2320
- ],
2321
- [
2322
- 34,
2323
- 27,
2324
- 0,
2325
- 37,
2326
- 1,
2327
- "LIST"
2328
- ],
2329
- [
2330
- 35,
2331
- 30,
2332
- 0,
2333
- 32,
2334
- 0,
2335
- "IMAGE"
2336
- ],
2337
- [
2338
- 36,
2339
- 30,
2340
- 0,
2341
- 33,
2342
- 0,
2343
- "IMAGE"
2344
- ],
2345
- [
2346
- 37,
2347
- 30,
2348
- 0,
2349
- 37,
2350
- 0,
2351
- "IMAGE"
2352
- ],
2353
- [
2354
- 38,
2355
- 31,
2356
- 0,
2357
- 33,
2358
- 1,
2359
- "INT"
2360
- ],
2361
- [
2362
- 39,
2363
- 31,
2364
- 0,
2365
- 35,
2366
- 1,
2367
- "INT"
2368
- ],
2369
- [
2370
- 40,
2371
- 32,
2372
- 0,
2373
- 34,
2374
- 0,
2375
- "INT"
2376
- ],
2377
- [
2378
- 41,
2379
- 33,
2380
- 0,
2381
- 34,
2382
- 1,
2383
- "INT"
2384
- ],
2385
- [
2386
- 42,
2387
- 34,
2388
- 0,
2389
- 35,
2390
- 0,
2391
- "INT"
2392
- ],
2393
- [
2394
- 43,
2395
- 34,
2396
- 0,
2397
- 36,
2398
- 0,
2399
- "INT"
2400
- ],
2401
- [
2402
- 44,
2403
- 35,
2404
- 0,
2405
- 36,
2406
- 1,
2407
- "INT"
2408
- ],
2409
- [
2410
- 45,
2411
- 36,
2412
- 0,
2413
- 37,
2414
- 2,
2415
- "INT"
2416
- ],
2417
- [
2418
- 46,
2419
- 37,
2420
- 0,
2421
- 40,
2422
- 2,
2423
- "LIST"
2424
- ],
2425
- [
2426
- 47,
2427
- 40,
2428
- 0,
2429
- 43,
2430
- 1,
2431
- "CONDITIONING"
2432
- ],
2433
- [
2434
- 48,
2435
- 40,
2436
- 0,
2437
- 42,
2438
- 0,
2439
- "CONDITIONING"
2440
- ],
2441
- [
2442
- 49,
2443
- 40,
2444
- 1,
2445
- 43,
2446
- 3,
2447
- "LATENT"
2448
- ],
2449
- [
2450
- 50,
2451
- 40,
2452
- 2,
2453
- 41,
2454
- 0,
2455
- "ANY"
2456
- ],
2457
- [
2458
- 51,
2459
- 41,
2460
- 0,
2461
- 45,
2462
- 1,
2463
- "ANY"
2464
- ],
2465
- [
2466
- 52,
2467
- 42,
2468
- 0,
2469
- 43,
2470
- 2,
2471
- "CONDITIONING"
2472
- ],
2473
- [
2474
- 53,
2475
- 43,
2476
- 0,
2477
- 44,
2478
- 0,
2479
- "LATENT"
2480
- ],
2481
- [
2482
- 54,
2483
- 44,
2484
- 0,
2485
- 45,
2486
- 0,
2487
- "IMAGE"
2488
- ],
2489
- [
2490
- 55,
2491
- 45,
2492
- 0,
2493
- 48,
2494
- 0,
2495
- "IMAGE"
2496
- ],
2497
- [
2498
- 56,
2499
- 45,
2500
- 0,
2501
- 49,
2502
- 0,
2503
- "IMAGE"
2504
- ],
2505
- [
2506
- 57,
2507
- 46,
2508
- 0,
2509
- 49,
2510
- 2,
2511
- "BOOLEAN"
2512
- ],
2513
- [
2514
- 58,
2515
- 47,
2516
- 0,
2517
- 48,
2518
- 1,
2519
- "INT"
2520
- ],
2521
- [
2522
- 59,
2523
- 48,
2524
- 0,
2525
- 49,
2526
- 1,
2527
- "IMAGE"
2528
- ],
2529
- [
2530
- 60,
2531
- 49,
2532
- 0,
2533
- 50,
2534
- 0,
2535
- "IMAGE"
2536
- ]
2537
- ],
2538
- "groups": [
2539
- {
2540
- "id": 1,
2541
- "title": "Models",
2542
- "bounding": [
2543
- -60,
2544
- -700,
2545
- 380,
2546
- 640
2547
- ],
2548
- "color": "#3f789e",
2549
- "font_size": 24,
2550
- "flags": {}
2551
- },
2552
- {
2553
- "id": 2,
2554
- "title": "Lightning Toggle",
2555
- "bounding": [
2556
- 340,
2557
- -700,
2558
- 660,
2559
- 600
2560
- ],
2561
- "color": "#8A8",
2562
- "font_size": 24,
2563
- "flags": {}
2564
- },
2565
- {
2566
- "id": 3,
2567
- "title": "Input Size Toggles (both images)",
2568
- "bounding": [
2569
- -1520,
2570
- -340,
2571
- 380,
2572
- 240
2573
- ],
2574
- "color": "#8A8",
2575
- "font_size": 24,
2576
- "flags": {}
2577
- },
2578
- {
2579
- "id": 4,
2580
- "title": "Main Image + Preprocessing",
2581
- "bounding": [
2582
- -1520,
2583
- -100,
2584
- 1600,
2585
- 500
2586
- ],
2587
- "color": "#3f789e",
2588
- "font_size": 24,
2589
- "flags": {}
2590
- },
2591
- {
2592
- "id": 5,
2593
- "title": "Optional 2nd Reference (Ctrl+B to enable)",
2594
- "bounding": [
2595
- -1520,
2596
- 420,
2597
- 1600,
2598
- 500
2599
- ],
2600
- "color": "#a363d9",
2601
- "font_size": 24,
2602
- "flags": {}
2603
- },
2604
- {
2605
- "id": 6,
2606
- "title": "Encode",
2607
- "bounding": [
2608
- 100,
2609
- -40,
2610
- 780,
2611
- 640
2612
- ],
2613
- "color": "#3f789e",
2614
- "font_size": 24,
2615
- "flags": {}
2616
- },
2617
- {
2618
- "id": 7,
2619
- "title": "Sample + Output",
2620
- "bounding": [
2621
- 1000,
2622
- -100,
2623
- 1480,
2624
- 680
2625
- ],
2626
- "color": "#b58b2a",
2627
- "font_size": 24,
2628
- "flags": {}
2629
- }
2630
- ],
2631
- "config": {},
2632
- "extra": {
2633
- "frontendVersion": "1.45.20"
2634
- },
2635
- "version": 0.4
2636
- }