aleph65 commited on
Commit
8c62444
·
verified ·
1 Parent(s): a3f2571

Add qwen-edit-turbo-v4: 3-way sampling mode (4/8-step Lightning, quality) + one-click ref image 2 toggle

Browse files
Files changed (1) hide show
  1. workflows/qwen-edit-turbo-v4.json +3351 -0
workflows/qwen-edit-turbo-v4.json ADDED
@@ -0,0 +1,3351 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "a8c979e8-d460-4135-b5c8-6df6df26e702",
3
+ "revision": 0,
4
+ "last_node_id": 57,
5
+ "last_link_id": 42,
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
+ ]
30
+ }
31
+ ],
32
+ "properties": {
33
+ "Node name for S&R": "UNETLoader",
34
+ "cnr_id": "comfy-core",
35
+ "ver": "0.3.48"
36
+ },
37
+ "widgets_values": [
38
+ "qwen_image_edit_2511_bf16.safetensors",
39
+ "default"
40
+ ]
41
+ },
42
+ {
43
+ "id": 3,
44
+ "type": "CLIPLoader",
45
+ "pos": [
46
+ -40,
47
+ -360
48
+ ],
49
+ "size": [
50
+ 340,
51
+ 110
52
+ ],
53
+ "flags": {},
54
+ "order": 1,
55
+ "mode": 0,
56
+ "inputs": [],
57
+ "outputs": [
58
+ {
59
+ "name": "CLIP",
60
+ "type": "CLIP",
61
+ "slot_index": 0,
62
+ "links": [
63
+ 9
64
+ ]
65
+ }
66
+ ],
67
+ "properties": {
68
+ "Node name for S&R": "CLIPLoader",
69
+ "cnr_id": "comfy-core",
70
+ "ver": "0.3.48"
71
+ },
72
+ "widgets_values": [
73
+ "qwen_2.5_vl_7b.safetensors",
74
+ "qwen_image",
75
+ "default"
76
+ ]
77
+ },
78
+ {
79
+ "id": 4,
80
+ "type": "VAELoader",
81
+ "pos": [
82
+ -40,
83
+ -200
84
+ ],
85
+ "size": [
86
+ 340,
87
+ 60
88
+ ],
89
+ "flags": {},
90
+ "order": 2,
91
+ "mode": 0,
92
+ "inputs": [],
93
+ "outputs": [
94
+ {
95
+ "name": "VAE",
96
+ "type": "VAE",
97
+ "slot_index": 0,
98
+ "links": [
99
+ 10,
100
+ 11
101
+ ]
102
+ }
103
+ ],
104
+ "properties": {
105
+ "Node name for S&R": "VAELoader",
106
+ "cnr_id": "comfy-core",
107
+ "ver": "0.3.48"
108
+ },
109
+ "widgets_values": [
110
+ "qwen_image_vae.safetensors"
111
+ ]
112
+ },
113
+ {
114
+ "id": 5,
115
+ "type": "PrimitiveInt",
116
+ "pos": [
117
+ 360,
118
+ -620
119
+ ],
120
+ "size": [
121
+ 340,
122
+ 58
123
+ ],
124
+ "flags": {},
125
+ "order": 3,
126
+ "mode": 0,
127
+ "inputs": [],
128
+ "outputs": [
129
+ {
130
+ "name": "value",
131
+ "type": "INT",
132
+ "slot_index": 0,
133
+ "links": [
134
+ 3
135
+ ]
136
+ }
137
+ ],
138
+ "title": "Sampling mode: 1=4-step / 2=8-step / 3=quality",
139
+ "properties": {
140
+ "Node name for S&R": "PrimitiveInt",
141
+ "cnr_id": "comfy-core",
142
+ "ver": "0.3.48"
143
+ },
144
+ "widgets_values": [
145
+ 1,
146
+ "fixed"
147
+ ]
148
+ },
149
+ {
150
+ "id": 13,
151
+ "type": "ModelSamplingAuraFlow",
152
+ "pos": [
153
+ 1020,
154
+ -620
155
+ ],
156
+ "size": [
157
+ 300,
158
+ 58
159
+ ],
160
+ "flags": {},
161
+ "order": 13,
162
+ "mode": 0,
163
+ "inputs": [
164
+ {
165
+ "name": "model",
166
+ "type": "MODEL",
167
+ "link": 4
168
+ }
169
+ ],
170
+ "outputs": [
171
+ {
172
+ "name": "MODEL",
173
+ "type": "MODEL",
174
+ "slot_index": 0,
175
+ "links": [
176
+ 7
177
+ ]
178
+ }
179
+ ],
180
+ "properties": {
181
+ "Node name for S&R": "ModelSamplingAuraFlow",
182
+ "cnr_id": "comfy-core",
183
+ "ver": "0.3.48"
184
+ },
185
+ "widgets_values": [
186
+ 3.1
187
+ ]
188
+ },
189
+ {
190
+ "id": 14,
191
+ "type": "CFGNorm",
192
+ "pos": [
193
+ 1020,
194
+ -510
195
+ ],
196
+ "size": [
197
+ 300,
198
+ 82
199
+ ],
200
+ "flags": {},
201
+ "order": 14,
202
+ "mode": 0,
203
+ "inputs": [
204
+ {
205
+ "name": "model",
206
+ "type": "MODEL",
207
+ "link": 7
208
+ }
209
+ ],
210
+ "outputs": [
211
+ {
212
+ "name": "patched_model",
213
+ "type": "MODEL",
214
+ "slot_index": 0,
215
+ "links": [
216
+ 8
217
+ ]
218
+ }
219
+ ],
220
+ "properties": {
221
+ "Node name for S&R": "CFGNorm",
222
+ "cnr_id": "comfy-core",
223
+ "ver": "0.3.48"
224
+ },
225
+ "widgets_values": [
226
+ 1,
227
+ false
228
+ ]
229
+ },
230
+ {
231
+ "id": 15,
232
+ "type": "PrimitiveBoolean",
233
+ "pos": [
234
+ -1500,
235
+ -280
236
+ ],
237
+ "size": [
238
+ 340,
239
+ 60
240
+ ],
241
+ "flags": {},
242
+ "order": 4,
243
+ "mode": 0,
244
+ "inputs": [],
245
+ "outputs": [
246
+ {
247
+ "name": "BOOLEAN",
248
+ "type": "BOOLEAN",
249
+ "slot_index": 0,
250
+ "links": [
251
+ 15,
252
+ 21
253
+ ]
254
+ }
255
+ ],
256
+ "title": "upscale_input_to_max_size",
257
+ "properties": {
258
+ "Node name for S&R": "PrimitiveBoolean",
259
+ "cnr_id": "comfy-core",
260
+ "ver": "0.3.48"
261
+ },
262
+ "widgets_values": [
263
+ true
264
+ ]
265
+ },
266
+ {
267
+ "id": 16,
268
+ "type": "PrimitiveBoolean",
269
+ "pos": [
270
+ -1500,
271
+ -180
272
+ ],
273
+ "size": [
274
+ 340,
275
+ 60
276
+ ],
277
+ "flags": {},
278
+ "order": 7,
279
+ "mode": 0,
280
+ "inputs": [],
281
+ "outputs": [
282
+ {
283
+ "name": "BOOLEAN",
284
+ "type": "BOOLEAN",
285
+ "slot_index": 0,
286
+ "links": [
287
+ 16,
288
+ 22
289
+ ]
290
+ }
291
+ ],
292
+ "title": "downscale_input_to_max_size",
293
+ "properties": {
294
+ "Node name for S&R": "PrimitiveBoolean",
295
+ "cnr_id": "comfy-core",
296
+ "ver": "0.3.48"
297
+ },
298
+ "widgets_values": [
299
+ false
300
+ ]
301
+ },
302
+ {
303
+ "id": 20,
304
+ "type": "LoadImage",
305
+ "pos": [
306
+ -1500,
307
+ -60
308
+ ],
309
+ "size": [
310
+ 270,
311
+ 330
312
+ ],
313
+ "flags": {},
314
+ "order": 12,
315
+ "mode": 0,
316
+ "inputs": [],
317
+ "outputs": [
318
+ {
319
+ "name": "IMAGE",
320
+ "type": "IMAGE",
321
+ "slot_index": 0,
322
+ "links": [
323
+ 12,
324
+ 13
325
+ ]
326
+ },
327
+ {
328
+ "name": "MASK",
329
+ "type": "MASK",
330
+ "links": null
331
+ }
332
+ ],
333
+ "title": "Main Image",
334
+ "properties": {
335
+ "Node name for S&R": "LoadImage",
336
+ "cnr_id": "comfy-core",
337
+ "ver": "0.3.48"
338
+ },
339
+ "widgets_values": [
340
+ "733427737_18059858666742129_6215894921112236726_n.jpg",
341
+ "image"
342
+ ]
343
+ },
344
+ {
345
+ "id": 21,
346
+ "type": "PrimitiveInt",
347
+ "pos": [
348
+ -1500,
349
+ 320
350
+ ],
351
+ "size": [
352
+ 270,
353
+ 82
354
+ ],
355
+ "flags": {},
356
+ "order": 11,
357
+ "mode": 0,
358
+ "inputs": [],
359
+ "outputs": [
360
+ {
361
+ "name": "INT",
362
+ "type": "INT",
363
+ "slot_index": 0,
364
+ "links": [
365
+ 14
366
+ ]
367
+ }
368
+ ],
369
+ "title": "Input max size (main)",
370
+ "properties": {
371
+ "Node name for S&R": "PrimitiveInt",
372
+ "cnr_id": "comfy-core",
373
+ "ver": "0.3.48"
374
+ },
375
+ "widgets_values": [
376
+ 2048,
377
+ "fixed"
378
+ ]
379
+ },
380
+ {
381
+ "id": 27,
382
+ "type": "QwenEditConfigPreparer",
383
+ "pos": [
384
+ -280,
385
+ -60
386
+ ],
387
+ "size": [
388
+ 340,
389
+ 320
390
+ ],
391
+ "flags": {},
392
+ "order": 15,
393
+ "mode": 0,
394
+ "inputs": [
395
+ {
396
+ "name": "image",
397
+ "type": "IMAGE",
398
+ "link": 13
399
+ },
400
+ {
401
+ "name": "configs",
402
+ "shape": 7,
403
+ "type": "LIST",
404
+ "link": null
405
+ },
406
+ {
407
+ "name": "mask",
408
+ "shape": 7,
409
+ "type": "MASK",
410
+ "link": null
411
+ },
412
+ {
413
+ "name": "ref_longest_edge",
414
+ "shape": 7,
415
+ "type": "INT",
416
+ "widget": {
417
+ "name": "ref_longest_edge"
418
+ },
419
+ "link": 17
420
+ }
421
+ ],
422
+ "outputs": [
423
+ {
424
+ "name": "configs",
425
+ "type": "LIST",
426
+ "slot_index": 0,
427
+ "links": [
428
+ 24,
429
+ 40
430
+ ]
431
+ },
432
+ {
433
+ "name": "config",
434
+ "type": "ANY",
435
+ "links": null
436
+ }
437
+ ],
438
+ "title": "Main image config",
439
+ "properties": {
440
+ "Node name for S&R": "QwenEditConfigPreparer",
441
+ "cnr_id": "comfyui-qweneditutils",
442
+ "ver": "1.0.0"
443
+ },
444
+ "widgets_values": [
445
+ true,
446
+ true,
447
+ 1536,
448
+ "pad",
449
+ "lanczos",
450
+ true,
451
+ true,
452
+ 384,
453
+ "center",
454
+ "bicubic"
455
+ ]
456
+ },
457
+ {
458
+ "id": 30,
459
+ "type": "LoadImage",
460
+ "pos": [
461
+ -1500,
462
+ 460
463
+ ],
464
+ "size": [
465
+ 270,
466
+ 330
467
+ ],
468
+ "flags": {},
469
+ "order": 8,
470
+ "mode": 0,
471
+ "inputs": [],
472
+ "outputs": [
473
+ {
474
+ "name": "IMAGE",
475
+ "type": "IMAGE",
476
+ "slot_index": 0,
477
+ "links": [
478
+ 18,
479
+ 19
480
+ ]
481
+ },
482
+ {
483
+ "name": "MASK",
484
+ "type": "MASK",
485
+ "links": null
486
+ }
487
+ ],
488
+ "title": "Reference Image 2 (optional)",
489
+ "properties": {
490
+ "Node name for S&R": "LoadImage",
491
+ "cnr_id": "comfy-core",
492
+ "ver": "0.3.48"
493
+ },
494
+ "widgets_values": [
495
+ "b.png",
496
+ "image"
497
+ ]
498
+ },
499
+ {
500
+ "id": 31,
501
+ "type": "PrimitiveInt",
502
+ "pos": [
503
+ -1500,
504
+ 840
505
+ ],
506
+ "size": [
507
+ 270,
508
+ 82
509
+ ],
510
+ "flags": {},
511
+ "order": 5,
512
+ "mode": 0,
513
+ "inputs": [],
514
+ "outputs": [
515
+ {
516
+ "name": "INT",
517
+ "type": "INT",
518
+ "slot_index": 0,
519
+ "links": [
520
+ 20
521
+ ]
522
+ }
523
+ ],
524
+ "title": "Input max size (ref 2)",
525
+ "properties": {
526
+ "Node name for S&R": "PrimitiveInt",
527
+ "cnr_id": "comfy-core",
528
+ "ver": "0.3.48"
529
+ },
530
+ "widgets_values": [
531
+ 1024,
532
+ "fixed"
533
+ ]
534
+ },
535
+ {
536
+ "id": 37,
537
+ "type": "QwenEditConfigPreparer",
538
+ "pos": [
539
+ -280,
540
+ 460
541
+ ],
542
+ "size": [
543
+ 340,
544
+ 320
545
+ ],
546
+ "flags": {},
547
+ "order": 23,
548
+ "mode": 0,
549
+ "inputs": [
550
+ {
551
+ "name": "image",
552
+ "type": "IMAGE",
553
+ "link": 19
554
+ },
555
+ {
556
+ "name": "configs",
557
+ "shape": 7,
558
+ "type": "LIST",
559
+ "link": 24
560
+ },
561
+ {
562
+ "name": "mask",
563
+ "shape": 7,
564
+ "type": "MASK",
565
+ "link": null
566
+ },
567
+ {
568
+ "name": "ref_longest_edge",
569
+ "shape": 7,
570
+ "type": "INT",
571
+ "widget": {
572
+ "name": "ref_longest_edge"
573
+ },
574
+ "link": 23
575
+ }
576
+ ],
577
+ "outputs": [
578
+ {
579
+ "name": "configs",
580
+ "type": "LIST",
581
+ "slot_index": 0,
582
+ "links": [
583
+ 25
584
+ ]
585
+ },
586
+ {
587
+ "name": "config",
588
+ "type": "ANY",
589
+ "links": null
590
+ }
591
+ ],
592
+ "title": "Reference image 2 config",
593
+ "properties": {
594
+ "Node name for S&R": "QwenEditConfigPreparer",
595
+ "cnr_id": "comfyui-qweneditutils",
596
+ "ver": "1.0.0"
597
+ },
598
+ "widgets_values": [
599
+ true,
600
+ false,
601
+ 1024,
602
+ "center",
603
+ "lanczos",
604
+ true,
605
+ true,
606
+ 384,
607
+ "center",
608
+ "bicubic"
609
+ ]
610
+ },
611
+ {
612
+ "id": 40,
613
+ "type": "TextEncodeQwenImageEditPlusCustom_lrzjason",
614
+ "pos": [
615
+ 120,
616
+ 40
617
+ ],
618
+ "size": [
619
+ 400,
620
+ 260
621
+ ],
622
+ "flags": {},
623
+ "order": 24,
624
+ "mode": 0,
625
+ "inputs": [
626
+ {
627
+ "name": "clip",
628
+ "type": "CLIP",
629
+ "link": 9
630
+ },
631
+ {
632
+ "name": "vae",
633
+ "type": "VAE",
634
+ "link": 10
635
+ },
636
+ {
637
+ "name": "configs",
638
+ "type": "LIST",
639
+ "link": 42
640
+ }
641
+ ],
642
+ "outputs": [
643
+ {
644
+ "name": "conditioning",
645
+ "type": "CONDITIONING",
646
+ "slot_index": 0,
647
+ "links": [
648
+ 26,
649
+ 27
650
+ ]
651
+ },
652
+ {
653
+ "name": "latent",
654
+ "type": "LATENT",
655
+ "slot_index": 1,
656
+ "links": [
657
+ 28
658
+ ]
659
+ },
660
+ {
661
+ "name": "custom_output",
662
+ "type": "ANY",
663
+ "slot_index": 2,
664
+ "links": [
665
+ 29
666
+ ]
667
+ }
668
+ ],
669
+ "title": "Qwen Edit Encode (prompt here)",
670
+ "properties": {
671
+ "Node name for S&R": "TextEncodeQwenImageEditPlusCustom_lrzjason",
672
+ "cnr_id": "comfyui-qweneditutils",
673
+ "ver": "1.0.0"
674
+ },
675
+ "widgets_values": [
676
+ "replace the outfit of the subject in the first image with the outfit in the second image, don't change anything else. do not change the body's anatomy or shape or skin tone. only put the outfit onto the person in the first image. ",
677
+ true,
678
+ ""
679
+ ]
680
+ },
681
+ {
682
+ "id": 41,
683
+ "type": "QwenEditOutputExtractor",
684
+ "pos": [
685
+ 560,
686
+ 300
687
+ ],
688
+ "size": [
689
+ 300,
690
+ 260
691
+ ],
692
+ "flags": {},
693
+ "order": 16,
694
+ "mode": 0,
695
+ "inputs": [
696
+ {
697
+ "name": "custom_output",
698
+ "type": "ANY",
699
+ "link": 29
700
+ }
701
+ ],
702
+ "outputs": [
703
+ {
704
+ "name": "pad_info",
705
+ "type": "ANY",
706
+ "slot_index": 0,
707
+ "links": [
708
+ 30
709
+ ]
710
+ },
711
+ {
712
+ "name": "full_refs_cond",
713
+ "type": "CONDITIONING",
714
+ "links": null
715
+ },
716
+ {
717
+ "name": "main_ref_cond",
718
+ "type": "CONDITIONING",
719
+ "links": null
720
+ },
721
+ {
722
+ "name": "main_image",
723
+ "type": "IMAGE",
724
+ "links": null
725
+ },
726
+ {
727
+ "name": "vae_images",
728
+ "type": "LIST",
729
+ "links": null
730
+ },
731
+ {
732
+ "name": "ref_latents",
733
+ "type": "LIST",
734
+ "links": null
735
+ },
736
+ {
737
+ "name": "vl_images",
738
+ "type": "LIST",
739
+ "links": null
740
+ },
741
+ {
742
+ "name": "full_prompt",
743
+ "type": "STRING",
744
+ "links": null
745
+ },
746
+ {
747
+ "name": "llama_template",
748
+ "type": "STRING",
749
+ "links": null
750
+ },
751
+ {
752
+ "name": "no_refs_cond",
753
+ "type": "CONDITIONING",
754
+ "links": null
755
+ },
756
+ {
757
+ "name": "mask",
758
+ "type": "MASK",
759
+ "links": null
760
+ }
761
+ ],
762
+ "properties": {
763
+ "Node name for S&R": "QwenEditOutputExtractor",
764
+ "cnr_id": "comfyui-qweneditutils",
765
+ "ver": "1.0.0"
766
+ },
767
+ "widgets_values": []
768
+ },
769
+ {
770
+ "id": 42,
771
+ "type": "ConditioningZeroOut",
772
+ "pos": [
773
+ 560,
774
+ 180
775
+ ],
776
+ "size": [
777
+ 280,
778
+ 50
779
+ ],
780
+ "flags": {},
781
+ "order": 17,
782
+ "mode": 0,
783
+ "inputs": [
784
+ {
785
+ "name": "conditioning",
786
+ "type": "CONDITIONING",
787
+ "link": 27
788
+ }
789
+ ],
790
+ "outputs": [
791
+ {
792
+ "name": "CONDITIONING",
793
+ "type": "CONDITIONING",
794
+ "slot_index": 0,
795
+ "links": [
796
+ 31
797
+ ]
798
+ }
799
+ ],
800
+ "title": "Negative (zeroed)",
801
+ "properties": {
802
+ "Node name for S&R": "ConditioningZeroOut",
803
+ "cnr_id": "comfy-core",
804
+ "ver": "0.3.48"
805
+ },
806
+ "widgets_values": []
807
+ },
808
+ {
809
+ "id": 43,
810
+ "type": "KSampler",
811
+ "pos": [
812
+ 1020,
813
+ -20
814
+ ],
815
+ "size": [
816
+ 300,
817
+ 450
818
+ ],
819
+ "flags": {},
820
+ "order": 18,
821
+ "mode": 0,
822
+ "inputs": [
823
+ {
824
+ "name": "model",
825
+ "type": "MODEL",
826
+ "link": 8
827
+ },
828
+ {
829
+ "name": "positive",
830
+ "type": "CONDITIONING",
831
+ "link": 26
832
+ },
833
+ {
834
+ "name": "negative",
835
+ "type": "CONDITIONING",
836
+ "link": 31
837
+ },
838
+ {
839
+ "name": "latent_image",
840
+ "type": "LATENT",
841
+ "link": 28
842
+ },
843
+ {
844
+ "name": "steps",
845
+ "type": "INT",
846
+ "widget": {
847
+ "name": "steps"
848
+ },
849
+ "link": 5
850
+ },
851
+ {
852
+ "name": "cfg",
853
+ "type": "FLOAT",
854
+ "widget": {
855
+ "name": "cfg"
856
+ },
857
+ "link": 6
858
+ }
859
+ ],
860
+ "outputs": [
861
+ {
862
+ "name": "LATENT",
863
+ "type": "LATENT",
864
+ "slot_index": 0,
865
+ "links": [
866
+ 32
867
+ ]
868
+ }
869
+ ],
870
+ "properties": {
871
+ "Node name for S&R": "KSampler",
872
+ "cnr_id": "comfy-core",
873
+ "ver": "0.3.48"
874
+ },
875
+ "widgets_values": [
876
+ 440984114065874,
877
+ "randomize",
878
+ 4,
879
+ 1,
880
+ "euler",
881
+ "simple",
882
+ 1
883
+ ]
884
+ },
885
+ {
886
+ "id": 44,
887
+ "type": "VAEDecode",
888
+ "pos": [
889
+ 1380,
890
+ -20
891
+ ],
892
+ "size": [
893
+ 210,
894
+ 50
895
+ ],
896
+ "flags": {},
897
+ "order": 19,
898
+ "mode": 0,
899
+ "inputs": [
900
+ {
901
+ "name": "samples",
902
+ "type": "LATENT",
903
+ "link": 32
904
+ },
905
+ {
906
+ "name": "vae",
907
+ "type": "VAE",
908
+ "link": 11
909
+ }
910
+ ],
911
+ "outputs": [
912
+ {
913
+ "name": "IMAGE",
914
+ "type": "IMAGE",
915
+ "slot_index": 0,
916
+ "links": [
917
+ 33
918
+ ]
919
+ }
920
+ ],
921
+ "properties": {
922
+ "Node name for S&R": "VAEDecode",
923
+ "cnr_id": "comfy-core",
924
+ "ver": "0.3.48"
925
+ },
926
+ "widgets_values": []
927
+ },
928
+ {
929
+ "id": 45,
930
+ "type": "CropWithPadInfo",
931
+ "pos": [
932
+ 1380,
933
+ 80
934
+ ],
935
+ "size": [
936
+ 280,
937
+ 80
938
+ ],
939
+ "flags": {},
940
+ "order": 20,
941
+ "mode": 0,
942
+ "inputs": [
943
+ {
944
+ "name": "image",
945
+ "type": "IMAGE",
946
+ "link": 33
947
+ },
948
+ {
949
+ "name": "pad_info",
950
+ "type": "ANY",
951
+ "link": 30
952
+ }
953
+ ],
954
+ "outputs": [
955
+ {
956
+ "name": "cropped_image",
957
+ "type": "IMAGE",
958
+ "slot_index": 0,
959
+ "links": [
960
+ 34,
961
+ 35
962
+ ]
963
+ },
964
+ {
965
+ "name": "scale_by",
966
+ "type": "FLOAT",
967
+ "links": null
968
+ }
969
+ ],
970
+ "title": "Remove padding",
971
+ "properties": {
972
+ "Node name for S&R": "CropWithPadInfo",
973
+ "cnr_id": "comfyui-qweneditutils",
974
+ "ver": "1.0.0"
975
+ },
976
+ "widgets_values": []
977
+ },
978
+ {
979
+ "id": 46,
980
+ "type": "PrimitiveBoolean",
981
+ "pos": [
982
+ -1494.6789488916759,
983
+ 1068.0949715843533
984
+ ],
985
+ "size": [
986
+ 340,
987
+ 60
988
+ ],
989
+ "flags": {},
990
+ "order": 9,
991
+ "mode": 0,
992
+ "inputs": [],
993
+ "outputs": [
994
+ {
995
+ "name": "BOOLEAN",
996
+ "type": "BOOLEAN",
997
+ "slot_index": 0,
998
+ "links": [
999
+ 36
1000
+ ]
1001
+ }
1002
+ ],
1003
+ "title": "upscale_output_to_selected_size",
1004
+ "properties": {
1005
+ "Node name for S&R": "PrimitiveBoolean",
1006
+ "cnr_id": "comfy-core",
1007
+ "ver": "0.3.48"
1008
+ },
1009
+ "widgets_values": [
1010
+ true
1011
+ ]
1012
+ },
1013
+ {
1014
+ "id": 47,
1015
+ "type": "PrimitiveInt",
1016
+ "pos": [
1017
+ -1459.7493527176991,
1018
+ 1220.4204109055643
1019
+ ],
1020
+ "size": [
1021
+ 340,
1022
+ 82
1023
+ ],
1024
+ "flags": {},
1025
+ "order": 10,
1026
+ "mode": 0,
1027
+ "inputs": [],
1028
+ "outputs": [
1029
+ {
1030
+ "name": "INT",
1031
+ "type": "INT",
1032
+ "slot_index": 0,
1033
+ "links": [
1034
+ 37
1035
+ ]
1036
+ }
1037
+ ],
1038
+ "title": "Selected output size",
1039
+ "properties": {
1040
+ "Node name for S&R": "PrimitiveInt",
1041
+ "cnr_id": "comfy-core",
1042
+ "ver": "0.3.48"
1043
+ },
1044
+ "widgets_values": [
1045
+ 2560,
1046
+ "fixed"
1047
+ ]
1048
+ },
1049
+ {
1050
+ "id": 48,
1051
+ "type": "ImageScaleToMaxDimension",
1052
+ "pos": [
1053
+ 1380,
1054
+ 430
1055
+ ],
1056
+ "size": [
1057
+ 280,
1058
+ 100
1059
+ ],
1060
+ "flags": {},
1061
+ "order": 21,
1062
+ "mode": 0,
1063
+ "inputs": [
1064
+ {
1065
+ "name": "image",
1066
+ "type": "IMAGE",
1067
+ "link": 34
1068
+ },
1069
+ {
1070
+ "name": "largest_size",
1071
+ "type": "INT",
1072
+ "widget": {
1073
+ "name": "largest_size"
1074
+ },
1075
+ "link": 37
1076
+ }
1077
+ ],
1078
+ "outputs": [
1079
+ {
1080
+ "name": "IMAGE",
1081
+ "type": "IMAGE",
1082
+ "slot_index": 0,
1083
+ "links": [
1084
+ 38
1085
+ ]
1086
+ }
1087
+ ],
1088
+ "title": "Scale output",
1089
+ "properties": {
1090
+ "Node name for S&R": "ImageScaleToMaxDimension",
1091
+ "cnr_id": "comfy-core",
1092
+ "ver": "0.3.48"
1093
+ },
1094
+ "widgets_values": [
1095
+ "lanczos",
1096
+ 2048
1097
+ ]
1098
+ },
1099
+ {
1100
+ "id": 49,
1101
+ "type": "ComfySwitchNode",
1102
+ "pos": [
1103
+ 1771.4977928964804,
1104
+ 126.14589590612728
1105
+ ],
1106
+ "size": [
1107
+ 280,
1108
+ 100
1109
+ ],
1110
+ "flags": {},
1111
+ "order": 25,
1112
+ "mode": 0,
1113
+ "inputs": [
1114
+ {
1115
+ "name": "on_false",
1116
+ "type": "IMAGE",
1117
+ "link": 35
1118
+ },
1119
+ {
1120
+ "name": "on_true",
1121
+ "type": "IMAGE",
1122
+ "link": 38
1123
+ },
1124
+ {
1125
+ "name": "switch",
1126
+ "type": "BOOLEAN",
1127
+ "widget": {
1128
+ "name": "switch"
1129
+ },
1130
+ "link": 36
1131
+ }
1132
+ ],
1133
+ "outputs": [
1134
+ {
1135
+ "name": "output",
1136
+ "type": "IMAGE",
1137
+ "slot_index": 0,
1138
+ "links": [
1139
+ 39
1140
+ ]
1141
+ }
1142
+ ],
1143
+ "title": "Output size switch",
1144
+ "properties": {
1145
+ "Node name for S&R": "ComfySwitchNode",
1146
+ "cnr_id": "comfy-core",
1147
+ "ver": "0.3.48"
1148
+ },
1149
+ "widgets_values": [
1150
+ false
1151
+ ]
1152
+ },
1153
+ {
1154
+ "id": 50,
1155
+ "type": "SaveImage",
1156
+ "pos": [
1157
+ 2060,
1158
+ -20
1159
+ ],
1160
+ "size": [
1161
+ 400,
1162
+ 460
1163
+ ],
1164
+ "flags": {},
1165
+ "order": 22,
1166
+ "mode": 0,
1167
+ "inputs": [
1168
+ {
1169
+ "name": "images",
1170
+ "type": "IMAGE",
1171
+ "link": 39
1172
+ }
1173
+ ],
1174
+ "outputs": [
1175
+ {
1176
+ "name": "images",
1177
+ "type": "IMAGE",
1178
+ "links": null
1179
+ }
1180
+ ],
1181
+ "properties": {
1182
+ "cnr_id": "comfy-core",
1183
+ "ver": "0.3.48",
1184
+ "Node name for S&R": "SaveImage"
1185
+ },
1186
+ "widgets_values": [
1187
+ "qwen-edit-turbo-v4"
1188
+ ]
1189
+ },
1190
+ {
1191
+ "id": 51,
1192
+ "type": "MarkdownNote",
1193
+ "pos": [
1194
+ -1500,
1195
+ -720
1196
+ ],
1197
+ "size": [
1198
+ 620,
1199
+ 380
1200
+ ],
1201
+ "flags": {},
1202
+ "order": 6,
1203
+ "mode": 0,
1204
+ "inputs": [],
1205
+ "outputs": [],
1206
+ "title": "README",
1207
+ "properties": {
1208
+ "cnr_id": "comfy-core",
1209
+ "ver": "0.3.48",
1210
+ "Node name for S&R": "MarkdownNote"
1211
+ },
1212
+ "widgets_values": [
1213
+ "## Qwen Edit Turbo v4 + LoRAs\n\n**v3 + 3-way sampling selector + one-click Reference Image 2 toggle** (needs [Comfyui-QwenEditUtils](https://github.com/lrzjason/Comfyui-QwenEditUtils) + [ComfyUI-Custom-Scripts](https://github.com/pythongosssss/ComfyUI-Custom-Scripts))\n\n- **Sampling mode** (single INT): `1` = 4 steps + Lightning 4-step LoRA, CFG 1.0 (default) - `2` = 8 steps + Lightning 8-step LoRA, CFG 1.0 - `3` = quality: 12 steps, CFG 3.0, no LoRA. Steps/CFG per mode are editable inside the *Sampling mode* subgraph.\n- **Use Reference Image 2** (boolean): off = single-image edit, the ref-2 chain is skipped lazily (no Ctrl+B needed). The ref-2 LoadImage still needs a valid file selected even when off.\n- **upscale_input_to_max_size** (true): inputs smaller than *Input max size* are upscaled to it. **downscale_input_to_max_size** (false): larger inputs are downscaled to it. Both true = always render at max size. Both false = render at native input size. Applies to both image chains.\n- **upscale_output_to_selected_size** (true): scale the final image so its longest edge = *Selected output size* (2560). 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- **User LoRAs**: add any number of extra LoRAs in the *User LoRAs* node (applied in every mode). Via API: `--set 52.lora_1='{\"on\": true, \"lora\": \"file.safetensors\", \"strength\": 1.0}'` (lora_2, lora_3, ... for more).\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"
1214
+ ],
1215
+ "color": "#432",
1216
+ "bgcolor": "#653"
1217
+ },
1218
+ {
1219
+ "id": 52,
1220
+ "type": "Power Lora Loader (rgthree)",
1221
+ "pos": [
1222
+ -40,
1223
+ -490
1224
+ ],
1225
+ "size": [
1226
+ 340,
1227
+ 210
1228
+ ],
1229
+ "flags": {},
1230
+ "order": 26,
1231
+ "mode": 0,
1232
+ "inputs": [
1233
+ {
1234
+ "dir": 3,
1235
+ "name": "model",
1236
+ "type": "MODEL",
1237
+ "link": 1
1238
+ },
1239
+ {
1240
+ "dir": 3,
1241
+ "name": "clip",
1242
+ "type": "CLIP",
1243
+ "link": null
1244
+ }
1245
+ ],
1246
+ "outputs": [
1247
+ {
1248
+ "dir": 4,
1249
+ "name": "MODEL",
1250
+ "type": "MODEL",
1251
+ "slot_index": 0,
1252
+ "links": [
1253
+ 2
1254
+ ]
1255
+ },
1256
+ {
1257
+ "dir": 4,
1258
+ "name": "CLIP",
1259
+ "type": "CLIP",
1260
+ "slot_index": 1,
1261
+ "links": null
1262
+ }
1263
+ ],
1264
+ "title": "User LoRAs",
1265
+ "properties": {
1266
+ "Show Strengths": "Single Strength",
1267
+ "Match": "",
1268
+ "Node name for S&R": "Power Lora Loader (rgthree)"
1269
+ },
1270
+ "widgets_values": [
1271
+ {},
1272
+ {
1273
+ "type": "PowerLoraLoaderHeaderWidget"
1274
+ },
1275
+ {
1276
+ "on": false,
1277
+ "lora": "Qwen_LoRA_Skin_Fix_v2.safetensors",
1278
+ "strength": 1,
1279
+ "strengthTwo": null
1280
+ },
1281
+ {
1282
+ "on": false,
1283
+ "lora": "Qwen_LoRA_Amateur_Photo_v1.safetensors",
1284
+ "strength": 1,
1285
+ "strengthTwo": null
1286
+ },
1287
+ {},
1288
+ ""
1289
+ ]
1290
+ },
1291
+ {
1292
+ "id": 53,
1293
+ "type": "1d34541d-8946-4ca5-940f-bec6de702157",
1294
+ "pos": [
1295
+ 700,
1296
+ -560
1297
+ ],
1298
+ "size": [
1299
+ 280,
1300
+ 110
1301
+ ],
1302
+ "flags": {},
1303
+ "order": 27,
1304
+ "mode": 0,
1305
+ "inputs": [
1306
+ {
1307
+ "name": "model",
1308
+ "type": "MODEL",
1309
+ "link": 2
1310
+ },
1311
+ {
1312
+ "name": "mode",
1313
+ "type": "INT",
1314
+ "link": 3
1315
+ }
1316
+ ],
1317
+ "outputs": [
1318
+ {
1319
+ "name": "model",
1320
+ "type": "MODEL",
1321
+ "links": [
1322
+ 4
1323
+ ]
1324
+ },
1325
+ {
1326
+ "name": "steps",
1327
+ "type": "INT",
1328
+ "links": [
1329
+ 5
1330
+ ]
1331
+ },
1332
+ {
1333
+ "name": "cfg",
1334
+ "type": "FLOAT",
1335
+ "links": [
1336
+ 6
1337
+ ]
1338
+ }
1339
+ ],
1340
+ "title": "Sampling mode",
1341
+ "properties": {},
1342
+ "widgets_values": []
1343
+ },
1344
+ {
1345
+ "id": 54,
1346
+ "type": "a0b24eeb-863c-44db-89ab-7e9353dc3ae4",
1347
+ "pos": [
1348
+ -880,
1349
+ 40
1350
+ ],
1351
+ "size": [
1352
+ 300,
1353
+ 130
1354
+ ],
1355
+ "flags": {},
1356
+ "order": 28,
1357
+ "mode": 0,
1358
+ "inputs": [
1359
+ {
1360
+ "name": "image",
1361
+ "type": "IMAGE",
1362
+ "link": 12
1363
+ },
1364
+ {
1365
+ "name": "max_size",
1366
+ "type": "INT",
1367
+ "link": 14
1368
+ },
1369
+ {
1370
+ "name": "upscale",
1371
+ "type": "BOOLEAN",
1372
+ "link": 15
1373
+ },
1374
+ {
1375
+ "name": "downscale",
1376
+ "type": "BOOLEAN",
1377
+ "link": 16
1378
+ }
1379
+ ],
1380
+ "outputs": [
1381
+ {
1382
+ "name": "longest_edge",
1383
+ "type": "INT",
1384
+ "links": [
1385
+ 17
1386
+ ]
1387
+ }
1388
+ ],
1389
+ "title": "Input size limiter (main)",
1390
+ "properties": {},
1391
+ "widgets_values": []
1392
+ },
1393
+ {
1394
+ "id": 55,
1395
+ "type": "a0b24eeb-863c-44db-89ab-7e9353dc3ae4",
1396
+ "pos": [
1397
+ -880,
1398
+ 560
1399
+ ],
1400
+ "size": [
1401
+ 300,
1402
+ 130
1403
+ ],
1404
+ "flags": {},
1405
+ "order": 29,
1406
+ "mode": 0,
1407
+ "inputs": [
1408
+ {
1409
+ "name": "image",
1410
+ "type": "IMAGE",
1411
+ "link": 18
1412
+ },
1413
+ {
1414
+ "name": "max_size",
1415
+ "type": "INT",
1416
+ "link": 20
1417
+ },
1418
+ {
1419
+ "name": "upscale",
1420
+ "type": "BOOLEAN",
1421
+ "link": 21
1422
+ },
1423
+ {
1424
+ "name": "downscale",
1425
+ "type": "BOOLEAN",
1426
+ "link": 22
1427
+ }
1428
+ ],
1429
+ "outputs": [
1430
+ {
1431
+ "name": "longest_edge",
1432
+ "type": "INT",
1433
+ "links": [
1434
+ 23
1435
+ ]
1436
+ }
1437
+ ],
1438
+ "title": "Input size limiter (ref 2)",
1439
+ "properties": {},
1440
+ "widgets_values": []
1441
+ },
1442
+ {
1443
+ "id": 56,
1444
+ "type": "PrimitiveBoolean",
1445
+ "pos": [
1446
+ -1500,
1447
+ 340
1448
+ ],
1449
+ "size": [
1450
+ 300,
1451
+ 58
1452
+ ],
1453
+ "flags": {},
1454
+ "order": 0,
1455
+ "mode": 0,
1456
+ "inputs": [],
1457
+ "outputs": [
1458
+ {
1459
+ "name": "value",
1460
+ "type": "BOOLEAN",
1461
+ "slot_index": 0,
1462
+ "links": [
1463
+ 41
1464
+ ]
1465
+ }
1466
+ ],
1467
+ "title": "Use Reference Image 2",
1468
+ "properties": {
1469
+ "Node name for S&R": "PrimitiveBoolean",
1470
+ "cnr_id": "comfy-core",
1471
+ "ver": "0.3.48"
1472
+ },
1473
+ "widgets_values": [
1474
+ true
1475
+ ]
1476
+ },
1477
+ {
1478
+ "id": 57,
1479
+ "type": "ComfySwitchNode",
1480
+ "pos": [
1481
+ -220,
1482
+ 300
1483
+ ],
1484
+ "size": [
1485
+ 280,
1486
+ 100
1487
+ ],
1488
+ "flags": {},
1489
+ "order": 0,
1490
+ "mode": 0,
1491
+ "inputs": [
1492
+ {
1493
+ "name": "on_false",
1494
+ "type": "LIST",
1495
+ "link": 40
1496
+ },
1497
+ {
1498
+ "name": "on_true",
1499
+ "type": "LIST",
1500
+ "link": 25
1501
+ },
1502
+ {
1503
+ "name": "switch",
1504
+ "type": "BOOLEAN",
1505
+ "widget": {
1506
+ "name": "switch"
1507
+ },
1508
+ "link": 41
1509
+ }
1510
+ ],
1511
+ "outputs": [
1512
+ {
1513
+ "name": "output",
1514
+ "type": "LIST",
1515
+ "slot_index": 0,
1516
+ "links": [
1517
+ 42
1518
+ ]
1519
+ }
1520
+ ],
1521
+ "title": "Ref 2 on/off switch",
1522
+ "properties": {
1523
+ "Node name for S&R": "ComfySwitchNode",
1524
+ "cnr_id": "comfy-core",
1525
+ "ver": "0.3.48"
1526
+ },
1527
+ "widgets_values": [
1528
+ false
1529
+ ]
1530
+ }
1531
+ ],
1532
+ "links": [
1533
+ [
1534
+ 1,
1535
+ 1,
1536
+ 0,
1537
+ 52,
1538
+ 0,
1539
+ "MODEL"
1540
+ ],
1541
+ [
1542
+ 2,
1543
+ 52,
1544
+ 0,
1545
+ 53,
1546
+ 0,
1547
+ "MODEL"
1548
+ ],
1549
+ [
1550
+ 3,
1551
+ 5,
1552
+ 0,
1553
+ 53,
1554
+ 1,
1555
+ "INT"
1556
+ ],
1557
+ [
1558
+ 4,
1559
+ 53,
1560
+ 0,
1561
+ 13,
1562
+ 0,
1563
+ "MODEL"
1564
+ ],
1565
+ [
1566
+ 5,
1567
+ 53,
1568
+ 1,
1569
+ 43,
1570
+ 4,
1571
+ "INT"
1572
+ ],
1573
+ [
1574
+ 6,
1575
+ 53,
1576
+ 2,
1577
+ 43,
1578
+ 5,
1579
+ "FLOAT"
1580
+ ],
1581
+ [
1582
+ 7,
1583
+ 13,
1584
+ 0,
1585
+ 14,
1586
+ 0,
1587
+ "MODEL"
1588
+ ],
1589
+ [
1590
+ 8,
1591
+ 14,
1592
+ 0,
1593
+ 43,
1594
+ 0,
1595
+ "MODEL"
1596
+ ],
1597
+ [
1598
+ 9,
1599
+ 3,
1600
+ 0,
1601
+ 40,
1602
+ 0,
1603
+ "CLIP"
1604
+ ],
1605
+ [
1606
+ 10,
1607
+ 4,
1608
+ 0,
1609
+ 40,
1610
+ 1,
1611
+ "VAE"
1612
+ ],
1613
+ [
1614
+ 11,
1615
+ 4,
1616
+ 0,
1617
+ 44,
1618
+ 1,
1619
+ "VAE"
1620
+ ],
1621
+ [
1622
+ 12,
1623
+ 20,
1624
+ 0,
1625
+ 54,
1626
+ 0,
1627
+ "IMAGE"
1628
+ ],
1629
+ [
1630
+ 13,
1631
+ 20,
1632
+ 0,
1633
+ 27,
1634
+ 0,
1635
+ "IMAGE"
1636
+ ],
1637
+ [
1638
+ 14,
1639
+ 21,
1640
+ 0,
1641
+ 54,
1642
+ 1,
1643
+ "INT"
1644
+ ],
1645
+ [
1646
+ 15,
1647
+ 15,
1648
+ 0,
1649
+ 54,
1650
+ 2,
1651
+ "BOOLEAN"
1652
+ ],
1653
+ [
1654
+ 16,
1655
+ 16,
1656
+ 0,
1657
+ 54,
1658
+ 3,
1659
+ "BOOLEAN"
1660
+ ],
1661
+ [
1662
+ 17,
1663
+ 54,
1664
+ 0,
1665
+ 27,
1666
+ 3,
1667
+ "INT"
1668
+ ],
1669
+ [
1670
+ 18,
1671
+ 30,
1672
+ 0,
1673
+ 55,
1674
+ 0,
1675
+ "IMAGE"
1676
+ ],
1677
+ [
1678
+ 19,
1679
+ 30,
1680
+ 0,
1681
+ 37,
1682
+ 0,
1683
+ "IMAGE"
1684
+ ],
1685
+ [
1686
+ 20,
1687
+ 31,
1688
+ 0,
1689
+ 55,
1690
+ 1,
1691
+ "INT"
1692
+ ],
1693
+ [
1694
+ 21,
1695
+ 15,
1696
+ 0,
1697
+ 55,
1698
+ 2,
1699
+ "BOOLEAN"
1700
+ ],
1701
+ [
1702
+ 22,
1703
+ 16,
1704
+ 0,
1705
+ 55,
1706
+ 3,
1707
+ "BOOLEAN"
1708
+ ],
1709
+ [
1710
+ 23,
1711
+ 55,
1712
+ 0,
1713
+ 37,
1714
+ 3,
1715
+ "INT"
1716
+ ],
1717
+ [
1718
+ 24,
1719
+ 27,
1720
+ 0,
1721
+ 37,
1722
+ 1,
1723
+ "LIST"
1724
+ ],
1725
+ [
1726
+ 25,
1727
+ 37,
1728
+ 0,
1729
+ 57,
1730
+ 1,
1731
+ "LIST"
1732
+ ],
1733
+ [
1734
+ 26,
1735
+ 40,
1736
+ 0,
1737
+ 43,
1738
+ 1,
1739
+ "CONDITIONING"
1740
+ ],
1741
+ [
1742
+ 27,
1743
+ 40,
1744
+ 0,
1745
+ 42,
1746
+ 0,
1747
+ "CONDITIONING"
1748
+ ],
1749
+ [
1750
+ 28,
1751
+ 40,
1752
+ 1,
1753
+ 43,
1754
+ 3,
1755
+ "LATENT"
1756
+ ],
1757
+ [
1758
+ 29,
1759
+ 40,
1760
+ 2,
1761
+ 41,
1762
+ 0,
1763
+ "ANY"
1764
+ ],
1765
+ [
1766
+ 30,
1767
+ 41,
1768
+ 0,
1769
+ 45,
1770
+ 1,
1771
+ "ANY"
1772
+ ],
1773
+ [
1774
+ 31,
1775
+ 42,
1776
+ 0,
1777
+ 43,
1778
+ 2,
1779
+ "CONDITIONING"
1780
+ ],
1781
+ [
1782
+ 32,
1783
+ 43,
1784
+ 0,
1785
+ 44,
1786
+ 0,
1787
+ "LATENT"
1788
+ ],
1789
+ [
1790
+ 33,
1791
+ 44,
1792
+ 0,
1793
+ 45,
1794
+ 0,
1795
+ "IMAGE"
1796
+ ],
1797
+ [
1798
+ 34,
1799
+ 45,
1800
+ 0,
1801
+ 48,
1802
+ 0,
1803
+ "IMAGE"
1804
+ ],
1805
+ [
1806
+ 35,
1807
+ 45,
1808
+ 0,
1809
+ 49,
1810
+ 0,
1811
+ "IMAGE"
1812
+ ],
1813
+ [
1814
+ 36,
1815
+ 46,
1816
+ 0,
1817
+ 49,
1818
+ 2,
1819
+ "BOOLEAN"
1820
+ ],
1821
+ [
1822
+ 37,
1823
+ 47,
1824
+ 0,
1825
+ 48,
1826
+ 1,
1827
+ "INT"
1828
+ ],
1829
+ [
1830
+ 38,
1831
+ 48,
1832
+ 0,
1833
+ 49,
1834
+ 1,
1835
+ "IMAGE"
1836
+ ],
1837
+ [
1838
+ 39,
1839
+ 49,
1840
+ 0,
1841
+ 50,
1842
+ 0,
1843
+ "IMAGE"
1844
+ ],
1845
+ [
1846
+ 40,
1847
+ 27,
1848
+ 0,
1849
+ 57,
1850
+ 0,
1851
+ "LIST"
1852
+ ],
1853
+ [
1854
+ 41,
1855
+ 56,
1856
+ 0,
1857
+ 57,
1858
+ 2,
1859
+ "BOOLEAN"
1860
+ ],
1861
+ [
1862
+ 42,
1863
+ 57,
1864
+ 0,
1865
+ 40,
1866
+ 2,
1867
+ "LIST"
1868
+ ]
1869
+ ],
1870
+ "groups": [
1871
+ {
1872
+ "id": 1,
1873
+ "title": "Models",
1874
+ "bounding": [
1875
+ -60,
1876
+ -700,
1877
+ 380,
1878
+ 640
1879
+ ],
1880
+ "color": "#3f789e",
1881
+ "flags": {}
1882
+ },
1883
+ {
1884
+ "id": 2,
1885
+ "title": "Lightning Toggle",
1886
+ "bounding": [
1887
+ 340,
1888
+ -700,
1889
+ 660,
1890
+ 600
1891
+ ],
1892
+ "color": "#8A8",
1893
+ "flags": {}
1894
+ },
1895
+ {
1896
+ "id": 3,
1897
+ "title": "Input Size Toggles (both images)",
1898
+ "bounding": [
1899
+ -1520,
1900
+ -340,
1901
+ 380,
1902
+ 240
1903
+ ],
1904
+ "color": "#8A8",
1905
+ "flags": {}
1906
+ },
1907
+ {
1908
+ "id": 4,
1909
+ "title": "Main Image + Preprocessing",
1910
+ "bounding": [
1911
+ -1520,
1912
+ -100,
1913
+ 1600,
1914
+ 500
1915
+ ],
1916
+ "color": "#3f789e",
1917
+ "flags": {}
1918
+ },
1919
+ {
1920
+ "id": 5,
1921
+ "title": "Optional 2nd Reference (Ctrl+B to enable)",
1922
+ "bounding": [
1923
+ -1520,
1924
+ 420,
1925
+ 1600,
1926
+ 500
1927
+ ],
1928
+ "color": "#a363d9",
1929
+ "flags": {}
1930
+ },
1931
+ {
1932
+ "id": 6,
1933
+ "title": "Encode",
1934
+ "bounding": [
1935
+ 100,
1936
+ -40,
1937
+ 780,
1938
+ 640
1939
+ ],
1940
+ "color": "#3f789e",
1941
+ "flags": {}
1942
+ },
1943
+ {
1944
+ "id": 7,
1945
+ "title": "Sample + Output",
1946
+ "bounding": [
1947
+ 1000,
1948
+ -100,
1949
+ 1480,
1950
+ 680
1951
+ ],
1952
+ "color": "#b58b2a",
1953
+ "flags": {}
1954
+ }
1955
+ ],
1956
+ "definitions": {
1957
+ "subgraphs": [
1958
+ {
1959
+ "id": "a0b24eeb-863c-44db-89ab-7e9353dc3ae4",
1960
+ "version": 1,
1961
+ "state": {
1962
+ "lastGroupId": 0,
1963
+ "lastNodeId": 5,
1964
+ "lastLinkId": 12,
1965
+ "lastRerouteId": 0
1966
+ },
1967
+ "revision": 0,
1968
+ "config": {},
1969
+ "name": "Input size limiter",
1970
+ "inputNode": {
1971
+ "id": -10,
1972
+ "bounding": [
1973
+ -860,
1974
+ -60,
1975
+ 120,
1976
+ 140
1977
+ ]
1978
+ },
1979
+ "outputNode": {
1980
+ "id": -20,
1981
+ "bounding": [
1982
+ 460,
1983
+ -40,
1984
+ 120,
1985
+ 60
1986
+ ]
1987
+ },
1988
+ "inputs": [
1989
+ {
1990
+ "id": "86d39c2c-7336-43b1-869c-d6cce3109036",
1991
+ "name": "image",
1992
+ "type": "IMAGE",
1993
+ "linkIds": [
1994
+ 1,
1995
+ 2
1996
+ ]
1997
+ },
1998
+ {
1999
+ "id": "663da3f0-febb-4d46-8479-69fb30e69700",
2000
+ "name": "max_size",
2001
+ "type": "INT",
2002
+ "linkIds": [
2003
+ 3,
2004
+ 4
2005
+ ]
2006
+ },
2007
+ {
2008
+ "id": "1b3aa028-2d6e-43d5-a094-5eb90735dfda",
2009
+ "name": "upscale",
2010
+ "type": "BOOLEAN",
2011
+ "linkIds": [
2012
+ 7
2013
+ ]
2014
+ },
2015
+ {
2016
+ "id": "8a64ed2f-990b-4471-9eb5-7c1328993ae8",
2017
+ "name": "downscale",
2018
+ "type": "BOOLEAN",
2019
+ "linkIds": [
2020
+ 11
2021
+ ]
2022
+ }
2023
+ ],
2024
+ "outputs": [
2025
+ {
2026
+ "id": "a034626a-cb85-4de3-9bf9-446c6f1683ae",
2027
+ "name": "longest_edge",
2028
+ "type": "INT",
2029
+ "linkIds": [
2030
+ 12
2031
+ ]
2032
+ }
2033
+ ],
2034
+ "widgets": [],
2035
+ "nodes": [
2036
+ {
2037
+ "id": 1,
2038
+ "type": "MathExpression|pysssss",
2039
+ "pos": [
2040
+ -560,
2041
+ -140
2042
+ ],
2043
+ "size": [
2044
+ 260,
2045
+ 128
2046
+ ],
2047
+ "flags": {},
2048
+ "order": 0,
2049
+ "mode": 0,
2050
+ "inputs": [
2051
+ {
2052
+ "name": "a",
2053
+ "shape": 7,
2054
+ "type": "INT,FLOAT,IMAGE,LATENT",
2055
+ "link": 1
2056
+ },
2057
+ {
2058
+ "name": "b",
2059
+ "shape": 7,
2060
+ "type": "INT,FLOAT,IMAGE,LATENT",
2061
+ "link": null
2062
+ },
2063
+ {
2064
+ "name": "c",
2065
+ "shape": 7,
2066
+ "type": "INT,FLOAT,IMAGE,LATENT",
2067
+ "link": null
2068
+ }
2069
+ ],
2070
+ "outputs": [
2071
+ {
2072
+ "name": "INT",
2073
+ "type": "INT",
2074
+ "slot_index": 0,
2075
+ "links": [
2076
+ 5
2077
+ ]
2078
+ },
2079
+ {
2080
+ "name": "FLOAT",
2081
+ "type": "FLOAT",
2082
+ "links": []
2083
+ }
2084
+ ],
2085
+ "title": "native edge",
2086
+ "properties": {
2087
+ "cnr_id": "comfyui-custom-scripts",
2088
+ "ver": "1.0.0",
2089
+ "Node name for S&R": "MathExpression|pysssss"
2090
+ },
2091
+ "widgets_values": [
2092
+ "max(a.width, a.height)"
2093
+ ]
2094
+ },
2095
+ {
2096
+ "id": 2,
2097
+ "type": "MathExpression|pysssss",
2098
+ "pos": [
2099
+ -560,
2100
+ 60
2101
+ ],
2102
+ "size": [
2103
+ 260,
2104
+ 128
2105
+ ],
2106
+ "flags": {},
2107
+ "order": 1,
2108
+ "mode": 0,
2109
+ "inputs": [
2110
+ {
2111
+ "name": "a",
2112
+ "shape": 7,
2113
+ "type": "INT,FLOAT,IMAGE,LATENT",
2114
+ "link": 2
2115
+ },
2116
+ {
2117
+ "name": "b",
2118
+ "shape": 7,
2119
+ "type": "INT,FLOAT,IMAGE,LATENT",
2120
+ "link": null
2121
+ },
2122
+ {
2123
+ "name": "c",
2124
+ "shape": 7,
2125
+ "type": "INT,FLOAT,IMAGE,LATENT",
2126
+ "link": 3
2127
+ }
2128
+ ],
2129
+ "outputs": [
2130
+ {
2131
+ "name": "INT",
2132
+ "type": "INT",
2133
+ "slot_index": 0,
2134
+ "links": [
2135
+ 6
2136
+ ]
2137
+ },
2138
+ {
2139
+ "name": "FLOAT",
2140
+ "type": "FLOAT",
2141
+ "links": []
2142
+ }
2143
+ ],
2144
+ "title": "upscaled edge",
2145
+ "properties": {
2146
+ "cnr_id": "comfyui-custom-scripts",
2147
+ "ver": "1.0.0",
2148
+ "Node name for S&R": "MathExpression|pysssss"
2149
+ },
2150
+ "widgets_values": [
2151
+ "max(a.width, a.height, c)"
2152
+ ]
2153
+ },
2154
+ {
2155
+ "id": 3,
2156
+ "type": "ComfySwitchNode",
2157
+ "pos": [
2158
+ -220,
2159
+ -40
2160
+ ],
2161
+ "size": [
2162
+ 260,
2163
+ 100
2164
+ ],
2165
+ "flags": {},
2166
+ "order": 2,
2167
+ "mode": 0,
2168
+ "inputs": [
2169
+ {
2170
+ "name": "on_false",
2171
+ "type": "INT",
2172
+ "link": 5
2173
+ },
2174
+ {
2175
+ "name": "on_true",
2176
+ "type": "INT",
2177
+ "link": 6
2178
+ },
2179
+ {
2180
+ "name": "switch",
2181
+ "type": "BOOLEAN",
2182
+ "widget": {
2183
+ "name": "switch"
2184
+ },
2185
+ "link": 7
2186
+ }
2187
+ ],
2188
+ "outputs": [
2189
+ {
2190
+ "name": "output",
2191
+ "type": "INT",
2192
+ "slot_index": 0,
2193
+ "links": [
2194
+ 8,
2195
+ 9
2196
+ ]
2197
+ }
2198
+ ],
2199
+ "title": "apply upscale",
2200
+ "properties": {
2201
+ "Node name for S&R": "ComfySwitchNode",
2202
+ "cnr_id": "comfy-core",
2203
+ "ver": "0.3.48"
2204
+ },
2205
+ "widgets_values": [
2206
+ false
2207
+ ]
2208
+ },
2209
+ {
2210
+ "id": 4,
2211
+ "type": "MathExpression|pysssss",
2212
+ "pos": [
2213
+ -220,
2214
+ 120
2215
+ ],
2216
+ "size": [
2217
+ 260,
2218
+ 128
2219
+ ],
2220
+ "flags": {},
2221
+ "order": 3,
2222
+ "mode": 0,
2223
+ "inputs": [
2224
+ {
2225
+ "name": "a",
2226
+ "shape": 7,
2227
+ "type": "INT,FLOAT,IMAGE,LATENT",
2228
+ "link": 8
2229
+ },
2230
+ {
2231
+ "name": "b",
2232
+ "shape": 7,
2233
+ "type": "INT,FLOAT,IMAGE,LATENT",
2234
+ "link": null
2235
+ },
2236
+ {
2237
+ "name": "c",
2238
+ "shape": 7,
2239
+ "type": "INT,FLOAT,IMAGE,LATENT",
2240
+ "link": 4
2241
+ }
2242
+ ],
2243
+ "outputs": [
2244
+ {
2245
+ "name": "INT",
2246
+ "type": "INT",
2247
+ "slot_index": 0,
2248
+ "links": [
2249
+ 10
2250
+ ]
2251
+ },
2252
+ {
2253
+ "name": "FLOAT",
2254
+ "type": "FLOAT",
2255
+ "links": []
2256
+ }
2257
+ ],
2258
+ "title": "downscaled edge",
2259
+ "properties": {
2260
+ "cnr_id": "comfyui-custom-scripts",
2261
+ "ver": "1.0.0",
2262
+ "Node name for S&R": "MathExpression|pysssss"
2263
+ },
2264
+ "widgets_values": [
2265
+ "min(a, c)"
2266
+ ]
2267
+ },
2268
+ {
2269
+ "id": 5,
2270
+ "type": "ComfySwitchNode",
2271
+ "pos": [
2272
+ 120,
2273
+ -40
2274
+ ],
2275
+ "size": [
2276
+ 260,
2277
+ 100
2278
+ ],
2279
+ "flags": {},
2280
+ "order": 4,
2281
+ "mode": 0,
2282
+ "inputs": [
2283
+ {
2284
+ "name": "on_false",
2285
+ "type": "INT",
2286
+ "link": 9
2287
+ },
2288
+ {
2289
+ "name": "on_true",
2290
+ "type": "INT",
2291
+ "link": 10
2292
+ },
2293
+ {
2294
+ "name": "switch",
2295
+ "type": "BOOLEAN",
2296
+ "widget": {
2297
+ "name": "switch"
2298
+ },
2299
+ "link": 11
2300
+ }
2301
+ ],
2302
+ "outputs": [
2303
+ {
2304
+ "name": "output",
2305
+ "type": "INT",
2306
+ "slot_index": 0,
2307
+ "links": [
2308
+ 12
2309
+ ]
2310
+ }
2311
+ ],
2312
+ "title": "apply downscale",
2313
+ "properties": {
2314
+ "Node name for S&R": "ComfySwitchNode",
2315
+ "cnr_id": "comfy-core",
2316
+ "ver": "0.3.48"
2317
+ },
2318
+ "widgets_values": [
2319
+ false
2320
+ ]
2321
+ }
2322
+ ],
2323
+ "links": [
2324
+ {
2325
+ "id": 1,
2326
+ "origin_id": -10,
2327
+ "origin_slot": 0,
2328
+ "target_id": 1,
2329
+ "target_slot": 0,
2330
+ "type": "IMAGE"
2331
+ },
2332
+ {
2333
+ "id": 2,
2334
+ "origin_id": -10,
2335
+ "origin_slot": 0,
2336
+ "target_id": 2,
2337
+ "target_slot": 0,
2338
+ "type": "IMAGE"
2339
+ },
2340
+ {
2341
+ "id": 3,
2342
+ "origin_id": -10,
2343
+ "origin_slot": 1,
2344
+ "target_id": 2,
2345
+ "target_slot": 2,
2346
+ "type": "INT"
2347
+ },
2348
+ {
2349
+ "id": 4,
2350
+ "origin_id": -10,
2351
+ "origin_slot": 1,
2352
+ "target_id": 4,
2353
+ "target_slot": 2,
2354
+ "type": "INT"
2355
+ },
2356
+ {
2357
+ "id": 5,
2358
+ "origin_id": 1,
2359
+ "origin_slot": 0,
2360
+ "target_id": 3,
2361
+ "target_slot": 0,
2362
+ "type": "INT"
2363
+ },
2364
+ {
2365
+ "id": 6,
2366
+ "origin_id": 2,
2367
+ "origin_slot": 0,
2368
+ "target_id": 3,
2369
+ "target_slot": 1,
2370
+ "type": "INT"
2371
+ },
2372
+ {
2373
+ "id": 7,
2374
+ "origin_id": -10,
2375
+ "origin_slot": 2,
2376
+ "target_id": 3,
2377
+ "target_slot": 2,
2378
+ "type": "BOOLEAN"
2379
+ },
2380
+ {
2381
+ "id": 8,
2382
+ "origin_id": 3,
2383
+ "origin_slot": 0,
2384
+ "target_id": 4,
2385
+ "target_slot": 0,
2386
+ "type": "INT"
2387
+ },
2388
+ {
2389
+ "id": 9,
2390
+ "origin_id": 3,
2391
+ "origin_slot": 0,
2392
+ "target_id": 5,
2393
+ "target_slot": 0,
2394
+ "type": "INT"
2395
+ },
2396
+ {
2397
+ "id": 10,
2398
+ "origin_id": 4,
2399
+ "origin_slot": 0,
2400
+ "target_id": 5,
2401
+ "target_slot": 1,
2402
+ "type": "INT"
2403
+ },
2404
+ {
2405
+ "id": 11,
2406
+ "origin_id": -10,
2407
+ "origin_slot": 3,
2408
+ "target_id": 5,
2409
+ "target_slot": 2,
2410
+ "type": "BOOLEAN"
2411
+ },
2412
+ {
2413
+ "id": 12,
2414
+ "origin_id": 5,
2415
+ "origin_slot": 0,
2416
+ "target_id": -20,
2417
+ "target_slot": 0,
2418
+ "type": "INT"
2419
+ }
2420
+ ],
2421
+ "groups": [],
2422
+ "reroutes": [],
2423
+ "extra": {}
2424
+ },
2425
+ {
2426
+ "id": "1d34541d-8946-4ca5-940f-bec6de702157",
2427
+ "version": 1,
2428
+ "state": {
2429
+ "lastGroupId": 0,
2430
+ "lastNodeId": 8,
2431
+ "lastLinkId": 15,
2432
+ "lastRerouteId": 0
2433
+ },
2434
+ "revision": 0,
2435
+ "config": {},
2436
+ "name": "Sampling mode",
2437
+ "inputNode": {
2438
+ "id": -10,
2439
+ "bounding": [
2440
+ -860,
2441
+ -120,
2442
+ 120,
2443
+ 100
2444
+ ]
2445
+ },
2446
+ "outputNode": {
2447
+ "id": -20,
2448
+ "bounding": [
2449
+ 280,
2450
+ -120,
2451
+ 120,
2452
+ 100
2453
+ ]
2454
+ },
2455
+ "inputs": [
2456
+ {
2457
+ "id": "56c601e2-e699-4a56-94f3-045178af707d",
2458
+ "name": "model",
2459
+ "type": "MODEL",
2460
+ "linkIds": [
2461
+ 1,
2462
+ 2,
2463
+ 9
2464
+ ]
2465
+ },
2466
+ {
2467
+ "id": "bc48e8ca-c010-46f1-a49c-049664483cb1",
2468
+ "name": "mode",
2469
+ "type": "INT",
2470
+ "label": "sampling_mode",
2471
+ "linkIds": [
2472
+ 3,
2473
+ 4
2474
+ ]
2475
+ }
2476
+ ],
2477
+ "outputs": [
2478
+ {
2479
+ "id": "28819275-800a-45c6-8e03-223f609d88fb",
2480
+ "name": "model",
2481
+ "type": "MODEL",
2482
+ "linkIds": [
2483
+ 20
2484
+ ]
2485
+ },
2486
+ {
2487
+ "id": "ba3500a4-1d64-4c28-af17-00fbe8a20768",
2488
+ "name": "steps",
2489
+ "type": "INT",
2490
+ "linkIds": [
2491
+ 21
2492
+ ]
2493
+ },
2494
+ {
2495
+ "id": "9ab46698-9fbb-46fe-9bd5-86308401aaf3",
2496
+ "name": "cfg",
2497
+ "type": "FLOAT",
2498
+ "linkIds": [
2499
+ 22
2500
+ ]
2501
+ }
2502
+ ],
2503
+ "widgets": [],
2504
+ "nodes": [
2505
+ {
2506
+ "id": 1,
2507
+ "type": "LoraLoaderModelOnly",
2508
+ "pos": [
2509
+ -620,
2510
+ -260
2511
+ ],
2512
+ "size": [
2513
+ 340,
2514
+ 82
2515
+ ],
2516
+ "flags": {},
2517
+ "order": 2,
2518
+ "mode": 0,
2519
+ "inputs": [
2520
+ {
2521
+ "name": "model",
2522
+ "type": "MODEL",
2523
+ "link": 1
2524
+ }
2525
+ ],
2526
+ "outputs": [
2527
+ {
2528
+ "name": "MODEL",
2529
+ "type": "MODEL",
2530
+ "slot_index": 0,
2531
+ "links": [
2532
+ 5
2533
+ ]
2534
+ }
2535
+ ],
2536
+ "title": "LoRA: Lightning 4 steps",
2537
+ "properties": {
2538
+ "Node name for S&R": "LoraLoaderModelOnly",
2539
+ "cnr_id": "comfy-core",
2540
+ "ver": "0.3.48"
2541
+ },
2542
+ "widgets_values": [
2543
+ "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors",
2544
+ 1
2545
+ ]
2546
+ },
2547
+ {
2548
+ "id": 2,
2549
+ "type": "LoraLoaderModelOnly",
2550
+ "pos": [
2551
+ -620,
2552
+ -120
2553
+ ],
2554
+ "size": [
2555
+ 340,
2556
+ 82
2557
+ ],
2558
+ "flags": {},
2559
+ "order": 3,
2560
+ "mode": 0,
2561
+ "inputs": [
2562
+ {
2563
+ "name": "model",
2564
+ "type": "MODEL",
2565
+ "link": 2
2566
+ }
2567
+ ],
2568
+ "outputs": [
2569
+ {
2570
+ "name": "MODEL",
2571
+ "type": "MODEL",
2572
+ "slot_index": 0,
2573
+ "links": [
2574
+ 6
2575
+ ]
2576
+ }
2577
+ ],
2578
+ "title": "LoRA: Lightning 8 steps",
2579
+ "properties": {
2580
+ "Node name for S&R": "LoraLoaderModelOnly",
2581
+ "cnr_id": "comfy-core",
2582
+ "ver": "0.3.48"
2583
+ },
2584
+ "widgets_values": [
2585
+ "Qwen-Image-Edit-2511-Lightning-8steps-V1.0-bf16.safetensors",
2586
+ 1
2587
+ ]
2588
+ },
2589
+ {
2590
+ "id": 3,
2591
+ "type": "ComfyMathExpression",
2592
+ "pos": [
2593
+ -620,
2594
+ 20
2595
+ ],
2596
+ "size": [
2597
+ 230,
2598
+ 80
2599
+ ],
2600
+ "flags": {
2601
+ "collapsed": true
2602
+ },
2603
+ "order": 0,
2604
+ "mode": 0,
2605
+ "inputs": [
2606
+ {
2607
+ "label": "a",
2608
+ "localized_name": "values.a",
2609
+ "name": "values.a",
2610
+ "type": "FLOAT,INT,BOOLEAN",
2611
+ "link": 3
2612
+ }
2613
+ ],
2614
+ "outputs": [
2615
+ {
2616
+ "localized_name": "FLOAT",
2617
+ "name": "FLOAT",
2618
+ "type": "FLOAT",
2619
+ "links": []
2620
+ },
2621
+ {
2622
+ "localized_name": "INT",
2623
+ "name": "INT",
2624
+ "type": "INT",
2625
+ "links": []
2626
+ },
2627
+ {
2628
+ "localized_name": "BOOL",
2629
+ "name": "BOOL",
2630
+ "type": "BOOLEAN",
2631
+ "links": [
2632
+ 7,
2633
+ 13
2634
+ ]
2635
+ }
2636
+ ],
2637
+ "properties": {
2638
+ "Node name for S&R": "ComfyMathExpression",
2639
+ "cnr_id": "comfy-core",
2640
+ "ver": "0.24.0"
2641
+ },
2642
+ "widgets_values": [
2643
+ "a == 2"
2644
+ ],
2645
+ "title": "is 8-step (mode == 2)"
2646
+ },
2647
+ {
2648
+ "id": 4,
2649
+ "type": "ComfyMathExpression",
2650
+ "pos": [
2651
+ -620,
2652
+ 120
2653
+ ],
2654
+ "size": [
2655
+ 230,
2656
+ 80
2657
+ ],
2658
+ "flags": {
2659
+ "collapsed": true
2660
+ },
2661
+ "order": 1,
2662
+ "mode": 0,
2663
+ "inputs": [
2664
+ {
2665
+ "label": "a",
2666
+ "localized_name": "values.a",
2667
+ "name": "values.a",
2668
+ "type": "FLOAT,INT,BOOLEAN",
2669
+ "link": 4
2670
+ }
2671
+ ],
2672
+ "outputs": [
2673
+ {
2674
+ "localized_name": "FLOAT",
2675
+ "name": "FLOAT",
2676
+ "type": "FLOAT",
2677
+ "links": []
2678
+ },
2679
+ {
2680
+ "localized_name": "INT",
2681
+ "name": "INT",
2682
+ "type": "INT",
2683
+ "links": []
2684
+ },
2685
+ {
2686
+ "localized_name": "BOOL",
2687
+ "name": "BOOL",
2688
+ "type": "BOOLEAN",
2689
+ "links": [
2690
+ 10,
2691
+ 16,
2692
+ 19
2693
+ ]
2694
+ }
2695
+ ],
2696
+ "properties": {
2697
+ "Node name for S&R": "ComfyMathExpression",
2698
+ "cnr_id": "comfy-core",
2699
+ "ver": "0.24.0"
2700
+ },
2701
+ "widgets_values": [
2702
+ "a == 3"
2703
+ ],
2704
+ "title": "is quality (mode == 3)"
2705
+ },
2706
+ {
2707
+ "id": 5,
2708
+ "type": "ComfySwitchNode",
2709
+ "pos": [
2710
+ -220,
2711
+ -220
2712
+ ],
2713
+ "size": [
2714
+ 280,
2715
+ 100
2716
+ ],
2717
+ "flags": {},
2718
+ "order": 4,
2719
+ "mode": 0,
2720
+ "inputs": [
2721
+ {
2722
+ "name": "on_false",
2723
+ "type": "MODEL",
2724
+ "link": 5
2725
+ },
2726
+ {
2727
+ "name": "on_true",
2728
+ "type": "MODEL",
2729
+ "link": 6
2730
+ },
2731
+ {
2732
+ "name": "switch",
2733
+ "type": "BOOLEAN",
2734
+ "widget": {
2735
+ "name": "switch"
2736
+ },
2737
+ "link": 7
2738
+ }
2739
+ ],
2740
+ "outputs": [
2741
+ {
2742
+ "name": "output",
2743
+ "type": "MODEL",
2744
+ "slot_index": 0,
2745
+ "links": [
2746
+ 8
2747
+ ]
2748
+ }
2749
+ ],
2750
+ "title": "Model switch 4/8",
2751
+ "properties": {
2752
+ "Node name for S&R": "ComfySwitchNode",
2753
+ "cnr_id": "comfy-core",
2754
+ "ver": "0.3.48"
2755
+ },
2756
+ "widgets_values": [
2757
+ false
2758
+ ]
2759
+ },
2760
+ {
2761
+ "id": 6,
2762
+ "type": "ComfySwitchNode",
2763
+ "pos": [
2764
+ 120,
2765
+ -220
2766
+ ],
2767
+ "size": [
2768
+ 280,
2769
+ 100
2770
+ ],
2771
+ "flags": {},
2772
+ "order": 5,
2773
+ "mode": 0,
2774
+ "inputs": [
2775
+ {
2776
+ "name": "on_false",
2777
+ "type": "MODEL",
2778
+ "link": 8
2779
+ },
2780
+ {
2781
+ "name": "on_true",
2782
+ "type": "MODEL",
2783
+ "link": 9
2784
+ },
2785
+ {
2786
+ "name": "switch",
2787
+ "type": "BOOLEAN",
2788
+ "widget": {
2789
+ "name": "switch"
2790
+ },
2791
+ "link": 10
2792
+ }
2793
+ ],
2794
+ "outputs": [
2795
+ {
2796
+ "name": "output",
2797
+ "type": "MODEL",
2798
+ "slot_index": 0,
2799
+ "links": [
2800
+ 20
2801
+ ]
2802
+ }
2803
+ ],
2804
+ "title": "Model switch quality",
2805
+ "properties": {
2806
+ "Node name for S&R": "ComfySwitchNode",
2807
+ "cnr_id": "comfy-core",
2808
+ "ver": "0.3.48"
2809
+ },
2810
+ "widgets_values": [
2811
+ false
2812
+ ]
2813
+ },
2814
+ {
2815
+ "id": 7,
2816
+ "type": "PrimitiveInt",
2817
+ "pos": [
2818
+ -620,
2819
+ 220
2820
+ ],
2821
+ "size": [
2822
+ 260,
2823
+ 58
2824
+ ],
2825
+ "flags": {},
2826
+ "order": 6,
2827
+ "mode": 0,
2828
+ "inputs": [],
2829
+ "outputs": [
2830
+ {
2831
+ "name": "value",
2832
+ "type": "INT",
2833
+ "slot_index": 0,
2834
+ "links": [
2835
+ 11
2836
+ ]
2837
+ }
2838
+ ],
2839
+ "title": "Steps (4-step)",
2840
+ "properties": {
2841
+ "Node name for S&R": "PrimitiveInt",
2842
+ "cnr_id": "comfy-core",
2843
+ "ver": "0.3.48"
2844
+ },
2845
+ "widgets_values": [
2846
+ 4,
2847
+ "fixed"
2848
+ ]
2849
+ },
2850
+ {
2851
+ "id": 8,
2852
+ "type": "PrimitiveInt",
2853
+ "pos": [
2854
+ -620,
2855
+ 320
2856
+ ],
2857
+ "size": [
2858
+ 260,
2859
+ 58
2860
+ ],
2861
+ "flags": {},
2862
+ "order": 7,
2863
+ "mode": 0,
2864
+ "inputs": [],
2865
+ "outputs": [
2866
+ {
2867
+ "name": "value",
2868
+ "type": "INT",
2869
+ "slot_index": 0,
2870
+ "links": [
2871
+ 12
2872
+ ]
2873
+ }
2874
+ ],
2875
+ "title": "Steps (8-step)",
2876
+ "properties": {
2877
+ "Node name for S&R": "PrimitiveInt",
2878
+ "cnr_id": "comfy-core",
2879
+ "ver": "0.3.48"
2880
+ },
2881
+ "widgets_values": [
2882
+ 8,
2883
+ "fixed"
2884
+ ]
2885
+ },
2886
+ {
2887
+ "id": 9,
2888
+ "type": "PrimitiveInt",
2889
+ "pos": [
2890
+ -620,
2891
+ 420
2892
+ ],
2893
+ "size": [
2894
+ 260,
2895
+ 58
2896
+ ],
2897
+ "flags": {},
2898
+ "order": 8,
2899
+ "mode": 0,
2900
+ "inputs": [],
2901
+ "outputs": [
2902
+ {
2903
+ "name": "value",
2904
+ "type": "INT",
2905
+ "slot_index": 0,
2906
+ "links": [
2907
+ 15
2908
+ ]
2909
+ }
2910
+ ],
2911
+ "title": "Steps (quality)",
2912
+ "properties": {
2913
+ "Node name for S&R": "PrimitiveInt",
2914
+ "cnr_id": "comfy-core",
2915
+ "ver": "0.3.48"
2916
+ },
2917
+ "widgets_values": [
2918
+ 12,
2919
+ "fixed"
2920
+ ]
2921
+ },
2922
+ {
2923
+ "id": 10,
2924
+ "type": "ComfySwitchNode",
2925
+ "pos": [
2926
+ -220,
2927
+ 220
2928
+ ],
2929
+ "size": [
2930
+ 280,
2931
+ 100
2932
+ ],
2933
+ "flags": {},
2934
+ "order": 9,
2935
+ "mode": 0,
2936
+ "inputs": [
2937
+ {
2938
+ "name": "on_false",
2939
+ "type": "INT",
2940
+ "link": 11
2941
+ },
2942
+ {
2943
+ "name": "on_true",
2944
+ "type": "INT",
2945
+ "link": 12
2946
+ },
2947
+ {
2948
+ "name": "switch",
2949
+ "type": "BOOLEAN",
2950
+ "widget": {
2951
+ "name": "switch"
2952
+ },
2953
+ "link": 13
2954
+ }
2955
+ ],
2956
+ "outputs": [
2957
+ {
2958
+ "name": "output",
2959
+ "type": "INT",
2960
+ "slot_index": 0,
2961
+ "links": [
2962
+ 14
2963
+ ]
2964
+ }
2965
+ ],
2966
+ "title": "Steps switch 4/8",
2967
+ "properties": {
2968
+ "Node name for S&R": "ComfySwitchNode",
2969
+ "cnr_id": "comfy-core",
2970
+ "ver": "0.3.48"
2971
+ },
2972
+ "widgets_values": [
2973
+ false
2974
+ ]
2975
+ },
2976
+ {
2977
+ "id": 11,
2978
+ "type": "ComfySwitchNode",
2979
+ "pos": [
2980
+ 120,
2981
+ 220
2982
+ ],
2983
+ "size": [
2984
+ 280,
2985
+ 100
2986
+ ],
2987
+ "flags": {},
2988
+ "order": 10,
2989
+ "mode": 0,
2990
+ "inputs": [
2991
+ {
2992
+ "name": "on_false",
2993
+ "type": "INT",
2994
+ "link": 14
2995
+ },
2996
+ {
2997
+ "name": "on_true",
2998
+ "type": "INT",
2999
+ "link": 15
3000
+ },
3001
+ {
3002
+ "name": "switch",
3003
+ "type": "BOOLEAN",
3004
+ "widget": {
3005
+ "name": "switch"
3006
+ },
3007
+ "link": 16
3008
+ }
3009
+ ],
3010
+ "outputs": [
3011
+ {
3012
+ "name": "output",
3013
+ "type": "INT",
3014
+ "slot_index": 0,
3015
+ "links": [
3016
+ 21
3017
+ ]
3018
+ }
3019
+ ],
3020
+ "title": "Steps switch quality",
3021
+ "properties": {
3022
+ "Node name for S&R": "ComfySwitchNode",
3023
+ "cnr_id": "comfy-core",
3024
+ "ver": "0.3.48"
3025
+ },
3026
+ "widgets_values": [
3027
+ false
3028
+ ]
3029
+ },
3030
+ {
3031
+ "id": 12,
3032
+ "type": "PrimitiveFloat",
3033
+ "pos": [
3034
+ -620,
3035
+ 520
3036
+ ],
3037
+ "size": [
3038
+ 260,
3039
+ 58
3040
+ ],
3041
+ "flags": {},
3042
+ "order": 11,
3043
+ "mode": 0,
3044
+ "inputs": [],
3045
+ "outputs": [
3046
+ {
3047
+ "name": "value",
3048
+ "type": "FLOAT",
3049
+ "slot_index": 0,
3050
+ "links": [
3051
+ 17
3052
+ ]
3053
+ }
3054
+ ],
3055
+ "title": "CFG (lightning)",
3056
+ "properties": {
3057
+ "Node name for S&R": "PrimitiveFloat",
3058
+ "cnr_id": "comfy-core",
3059
+ "ver": "0.3.48"
3060
+ },
3061
+ "widgets_values": [
3062
+ 1.0
3063
+ ]
3064
+ },
3065
+ {
3066
+ "id": 13,
3067
+ "type": "PrimitiveFloat",
3068
+ "pos": [
3069
+ -620,
3070
+ 620
3071
+ ],
3072
+ "size": [
3073
+ 260,
3074
+ 58
3075
+ ],
3076
+ "flags": {},
3077
+ "order": 12,
3078
+ "mode": 0,
3079
+ "inputs": [],
3080
+ "outputs": [
3081
+ {
3082
+ "name": "value",
3083
+ "type": "FLOAT",
3084
+ "slot_index": 0,
3085
+ "links": [
3086
+ 18
3087
+ ]
3088
+ }
3089
+ ],
3090
+ "title": "CFG (quality)",
3091
+ "properties": {
3092
+ "Node name for S&R": "PrimitiveFloat",
3093
+ "cnr_id": "comfy-core",
3094
+ "ver": "0.3.48"
3095
+ },
3096
+ "widgets_values": [
3097
+ 3.0
3098
+ ]
3099
+ },
3100
+ {
3101
+ "id": 14,
3102
+ "type": "ComfySwitchNode",
3103
+ "pos": [
3104
+ -220,
3105
+ 520
3106
+ ],
3107
+ "size": [
3108
+ 280,
3109
+ 100
3110
+ ],
3111
+ "flags": {},
3112
+ "order": 13,
3113
+ "mode": 0,
3114
+ "inputs": [
3115
+ {
3116
+ "name": "on_false",
3117
+ "type": "FLOAT",
3118
+ "link": 17
3119
+ },
3120
+ {
3121
+ "name": "on_true",
3122
+ "type": "FLOAT",
3123
+ "link": 18
3124
+ },
3125
+ {
3126
+ "name": "switch",
3127
+ "type": "BOOLEAN",
3128
+ "widget": {
3129
+ "name": "switch"
3130
+ },
3131
+ "link": 19
3132
+ }
3133
+ ],
3134
+ "outputs": [
3135
+ {
3136
+ "name": "output",
3137
+ "type": "FLOAT",
3138
+ "slot_index": 0,
3139
+ "links": [
3140
+ 22
3141
+ ]
3142
+ }
3143
+ ],
3144
+ "title": "CFG switch",
3145
+ "properties": {
3146
+ "Node name for S&R": "ComfySwitchNode",
3147
+ "cnr_id": "comfy-core",
3148
+ "ver": "0.3.48"
3149
+ },
3150
+ "widgets_values": [
3151
+ false
3152
+ ]
3153
+ }
3154
+ ],
3155
+ "links": [
3156
+ {
3157
+ "id": 1,
3158
+ "origin_id": -10,
3159
+ "origin_slot": 0,
3160
+ "target_id": 1,
3161
+ "target_slot": 0,
3162
+ "type": "MODEL"
3163
+ },
3164
+ {
3165
+ "id": 2,
3166
+ "origin_id": -10,
3167
+ "origin_slot": 0,
3168
+ "target_id": 2,
3169
+ "target_slot": 0,
3170
+ "type": "MODEL"
3171
+ },
3172
+ {
3173
+ "id": 3,
3174
+ "origin_id": -10,
3175
+ "origin_slot": 1,
3176
+ "target_id": 3,
3177
+ "target_slot": 0,
3178
+ "type": "INT"
3179
+ },
3180
+ {
3181
+ "id": 4,
3182
+ "origin_id": -10,
3183
+ "origin_slot": 1,
3184
+ "target_id": 4,
3185
+ "target_slot": 0,
3186
+ "type": "INT"
3187
+ },
3188
+ {
3189
+ "id": 5,
3190
+ "origin_id": 1,
3191
+ "origin_slot": 0,
3192
+ "target_id": 5,
3193
+ "target_slot": 0,
3194
+ "type": "MODEL"
3195
+ },
3196
+ {
3197
+ "id": 6,
3198
+ "origin_id": 2,
3199
+ "origin_slot": 0,
3200
+ "target_id": 5,
3201
+ "target_slot": 1,
3202
+ "type": "MODEL"
3203
+ },
3204
+ {
3205
+ "id": 7,
3206
+ "origin_id": 3,
3207
+ "origin_slot": 2,
3208
+ "target_id": 5,
3209
+ "target_slot": 2,
3210
+ "type": "BOOLEAN"
3211
+ },
3212
+ {
3213
+ "id": 8,
3214
+ "origin_id": 5,
3215
+ "origin_slot": 0,
3216
+ "target_id": 6,
3217
+ "target_slot": 0,
3218
+ "type": "MODEL"
3219
+ },
3220
+ {
3221
+ "id": 9,
3222
+ "origin_id": -10,
3223
+ "origin_slot": 0,
3224
+ "target_id": 6,
3225
+ "target_slot": 1,
3226
+ "type": "MODEL"
3227
+ },
3228
+ {
3229
+ "id": 10,
3230
+ "origin_id": 4,
3231
+ "origin_slot": 2,
3232
+ "target_id": 6,
3233
+ "target_slot": 2,
3234
+ "type": "BOOLEAN"
3235
+ },
3236
+ {
3237
+ "id": 11,
3238
+ "origin_id": 7,
3239
+ "origin_slot": 0,
3240
+ "target_id": 10,
3241
+ "target_slot": 0,
3242
+ "type": "INT"
3243
+ },
3244
+ {
3245
+ "id": 12,
3246
+ "origin_id": 8,
3247
+ "origin_slot": 0,
3248
+ "target_id": 10,
3249
+ "target_slot": 1,
3250
+ "type": "INT"
3251
+ },
3252
+ {
3253
+ "id": 13,
3254
+ "origin_id": 3,
3255
+ "origin_slot": 2,
3256
+ "target_id": 10,
3257
+ "target_slot": 2,
3258
+ "type": "BOOLEAN"
3259
+ },
3260
+ {
3261
+ "id": 14,
3262
+ "origin_id": 10,
3263
+ "origin_slot": 0,
3264
+ "target_id": 11,
3265
+ "target_slot": 0,
3266
+ "type": "INT"
3267
+ },
3268
+ {
3269
+ "id": 15,
3270
+ "origin_id": 9,
3271
+ "origin_slot": 0,
3272
+ "target_id": 11,
3273
+ "target_slot": 1,
3274
+ "type": "INT"
3275
+ },
3276
+ {
3277
+ "id": 16,
3278
+ "origin_id": 4,
3279
+ "origin_slot": 2,
3280
+ "target_id": 11,
3281
+ "target_slot": 2,
3282
+ "type": "BOOLEAN"
3283
+ },
3284
+ {
3285
+ "id": 17,
3286
+ "origin_id": 12,
3287
+ "origin_slot": 0,
3288
+ "target_id": 14,
3289
+ "target_slot": 0,
3290
+ "type": "FLOAT"
3291
+ },
3292
+ {
3293
+ "id": 18,
3294
+ "origin_id": 13,
3295
+ "origin_slot": 0,
3296
+ "target_id": 14,
3297
+ "target_slot": 1,
3298
+ "type": "FLOAT"
3299
+ },
3300
+ {
3301
+ "id": 19,
3302
+ "origin_id": 4,
3303
+ "origin_slot": 2,
3304
+ "target_id": 14,
3305
+ "target_slot": 2,
3306
+ "type": "BOOLEAN"
3307
+ },
3308
+ {
3309
+ "id": 20,
3310
+ "origin_id": 6,
3311
+ "origin_slot": 0,
3312
+ "target_id": -20,
3313
+ "target_slot": 0,
3314
+ "type": "MODEL"
3315
+ },
3316
+ {
3317
+ "id": 21,
3318
+ "origin_id": 11,
3319
+ "origin_slot": 0,
3320
+ "target_id": -20,
3321
+ "target_slot": 1,
3322
+ "type": "INT"
3323
+ },
3324
+ {
3325
+ "id": 22,
3326
+ "origin_id": 14,
3327
+ "origin_slot": 0,
3328
+ "target_id": -20,
3329
+ "target_slot": 2,
3330
+ "type": "FLOAT"
3331
+ }
3332
+ ],
3333
+ "groups": [],
3334
+ "reroutes": [],
3335
+ "extra": {}
3336
+ }
3337
+ ]
3338
+ },
3339
+ "config": {},
3340
+ "extra": {
3341
+ "frontendVersion": "1.45.20",
3342
+ "ds": {
3343
+ "scale": 0.6671438826332355,
3344
+ "offset": [
3345
+ 2000.4578757053227,
3346
+ 266.946208069002
3347
+ ]
3348
+ }
3349
+ },
3350
+ "version": 0.4
3351
+ }