aleph65 commited on
Commit
4b2a08b
·
verified ·
1 Parent(s): fe6f836

Add qwen-bg-inpaint-true workflow

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