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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "7baa172e-31bb-403d-b10e-0e7015fddbbd",
3
+ "revision": 0,
4
+ "last_node_id": 33,
5
+ "last_link_id": 45,
6
+ "nodes": [
7
+ {
8
+ "id": 9,
9
+ "type": "LoadImage",
10
+ "pos": [
11
+ -725.686935876291,
12
+ 4162.157400614222
13
+ ],
14
+ "size": [
15
+ 282.798828125,
16
+ 314.00000000000045
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 4,
21
+ "inputs": [],
22
+ "outputs": [
23
+ {
24
+ "name": "IMAGE",
25
+ "type": "IMAGE",
26
+ "links": [
27
+ 5
28
+ ]
29
+ },
30
+ {
31
+ "name": "MASK",
32
+ "type": "MASK",
33
+ "links": null
34
+ }
35
+ ],
36
+ "properties": {
37
+ "Node name for S&R": "LoadImage"
38
+ },
39
+ "widgets_values": [
40
+ "078efc1befa664693e811c9f25fbc23f.jpg",
41
+ "image"
42
+ ]
43
+ },
44
+ {
45
+ "id": 19,
46
+ "type": "VAEDecode",
47
+ "pos": [
48
+ -580.3234713911962,
49
+ 3545.188313126401
50
+ ],
51
+ "size": [
52
+ 140,
53
+ 46
54
+ ],
55
+ "flags": {},
56
+ "order": 11,
57
+ "mode": 0,
58
+ "inputs": [
59
+ {
60
+ "name": "samples",
61
+ "type": "LATENT",
62
+ "link": 19
63
+ },
64
+ {
65
+ "name": "vae",
66
+ "type": "VAE",
67
+ "link": 18
68
+ }
69
+ ],
70
+ "outputs": [
71
+ {
72
+ "name": "IMAGE",
73
+ "type": "IMAGE",
74
+ "links": [
75
+ 20
76
+ ]
77
+ }
78
+ ],
79
+ "properties": {
80
+ "Node name for S&R": "VAEDecode"
81
+ },
82
+ "widgets_values": []
83
+ },
84
+ {
85
+ "id": 8,
86
+ "type": "LoadImage",
87
+ "pos": [
88
+ -1024.112527448469,
89
+ 4161.043872287467
90
+ ],
91
+ "size": [
92
+ 282.798828125,
93
+ 314.00000000000045
94
+ ],
95
+ "flags": {},
96
+ "order": 1,
97
+ "mode": 4,
98
+ "inputs": [],
99
+ "outputs": [
100
+ {
101
+ "name": "IMAGE",
102
+ "type": "IMAGE",
103
+ "links": [
104
+ 4
105
+ ]
106
+ },
107
+ {
108
+ "name": "MASK",
109
+ "type": "MASK",
110
+ "links": null
111
+ }
112
+ ],
113
+ "properties": {
114
+ "Node name for S&R": "LoadImage"
115
+ },
116
+ "widgets_values": [
117
+ "078efc1befa664693e811c9f25fbc23f.jpg",
118
+ "image"
119
+ ]
120
+ },
121
+ {
122
+ "id": 20,
123
+ "type": "SaveImage",
124
+ "pos": [
125
+ -413.7095794247287,
126
+ 3632.0435226138343
127
+ ],
128
+ "size": [
129
+ 270,
130
+ 270
131
+ ],
132
+ "flags": {},
133
+ "order": 12,
134
+ "mode": 0,
135
+ "inputs": [
136
+ {
137
+ "name": "images",
138
+ "type": "IMAGE",
139
+ "link": 20
140
+ }
141
+ ],
142
+ "outputs": [
143
+ {
144
+ "name": "images",
145
+ "type": "IMAGE",
146
+ "links": [
147
+ 34
148
+ ]
149
+ }
150
+ ],
151
+ "properties": {},
152
+ "widgets_values": [
153
+ "ComfyUI"
154
+ ]
155
+ },
156
+ {
157
+ "id": 23,
158
+ "type": "GetImageSize",
159
+ "pos": [
160
+ -1502.2560896534533,
161
+ 4673.650067048624
162
+ ],
163
+ "size": [
164
+ 140,
165
+ 124.00000000000045
166
+ ],
167
+ "flags": {},
168
+ "order": 8,
169
+ "mode": 0,
170
+ "inputs": [
171
+ {
172
+ "name": "image",
173
+ "type": "IMAGE",
174
+ "link": 23
175
+ }
176
+ ],
177
+ "outputs": [
178
+ {
179
+ "name": "width",
180
+ "type": "INT",
181
+ "links": [
182
+ 24
183
+ ]
184
+ },
185
+ {
186
+ "name": "height",
187
+ "type": "INT",
188
+ "links": [
189
+ 25
190
+ ]
191
+ },
192
+ {
193
+ "name": "batch_size",
194
+ "type": "INT",
195
+ "links": null
196
+ }
197
+ ],
198
+ "properties": {
199
+ "Node name for S&R": "GetImageSize"
200
+ },
201
+ "widgets_values": []
202
+ },
203
+ {
204
+ "id": 27,
205
+ "type": "Image Comparer (rgthree)",
206
+ "pos": [
207
+ -121.88699986314089,
208
+ 3632.9026341638487
209
+ ],
210
+ "size": [
211
+ 269.9349976708419,
212
+ 276.4105018593855
213
+ ],
214
+ "flags": {},
215
+ "order": 13,
216
+ "mode": 0,
217
+ "inputs": [
218
+ {
219
+ "dir": 3,
220
+ "name": "image_a",
221
+ "type": "IMAGE",
222
+ "link": 34
223
+ },
224
+ {
225
+ "dir": 3,
226
+ "name": "image_b",
227
+ "type": "IMAGE",
228
+ "link": 35
229
+ }
230
+ ],
231
+ "outputs": [
232
+ {
233
+ "dir": 4,
234
+ "name": "images",
235
+ "shape": 3,
236
+ "type": "IMAGE",
237
+ "links": null
238
+ }
239
+ ],
240
+ "properties": {
241
+ "comparer_mode": "Slide"
242
+ },
243
+ "widgets_values": [
244
+ [
245
+ {
246
+ "name": "A",
247
+ "selected": true,
248
+ "url": "/api/view?filename=rgthree.compare._temp_hgsyc_00105_.png&type=temp&subfolder=&rand=0.1260988924837797"
249
+ },
250
+ {
251
+ "name": "B",
252
+ "selected": true,
253
+ "url": "/api/view?filename=rgthree.compare._temp_hgsyc_00106_.png&type=temp&subfolder=&rand=0.7922682209266418"
254
+ }
255
+ ]
256
+ ]
257
+ },
258
+ {
259
+ "id": 6,
260
+ "type": "LoadImage",
261
+ "pos": [
262
+ -1640.988537038276,
263
+ 4157.87478934865
264
+ ],
265
+ "size": [
266
+ 282.798828125,
267
+ 314.00000000000045
268
+ ],
269
+ "flags": {},
270
+ "order": 2,
271
+ "mode": 0,
272
+ "inputs": [],
273
+ "outputs": [
274
+ {
275
+ "name": "IMAGE",
276
+ "type": "IMAGE",
277
+ "links": [
278
+ 41
279
+ ]
280
+ },
281
+ {
282
+ "name": "MASK",
283
+ "type": "MASK",
284
+ "links": null
285
+ }
286
+ ],
287
+ "properties": {
288
+ "Node name for S&R": "LoadImage"
289
+ },
290
+ "widgets_values": [
291
+ "branislav-rodman-nA_2ERFmSuU-unsplash.jpg",
292
+ "image"
293
+ ]
294
+ },
295
+ {
296
+ "id": 4,
297
+ "type": "CLIPLoader",
298
+ "pos": [
299
+ -1641.03645198773,
300
+ 3755.3414773407417
301
+ ],
302
+ "size": [
303
+ 270,
304
+ 106
305
+ ],
306
+ "flags": {},
307
+ "order": 3,
308
+ "mode": 0,
309
+ "inputs": [],
310
+ "outputs": [
311
+ {
312
+ "name": "CLIP",
313
+ "type": "CLIP",
314
+ "links": [
315
+ 1
316
+ ]
317
+ }
318
+ ],
319
+ "properties": {
320
+ "Node name for S&R": "CLIPLoader"
321
+ },
322
+ "widgets_values": [
323
+ "qwen3vl_4b_bf16.safetensors",
324
+ "mage",
325
+ "default"
326
+ ]
327
+ },
328
+ {
329
+ "id": 5,
330
+ "type": "VAELoader",
331
+ "pos": [
332
+ -1639.922923660968,
333
+ 3903.9975089634486
334
+ ],
335
+ "size": [
336
+ 270,
337
+ 58
338
+ ],
339
+ "flags": {},
340
+ "order": 4,
341
+ "mode": 0,
342
+ "inputs": [],
343
+ "outputs": [
344
+ {
345
+ "name": "VAE",
346
+ "type": "VAE",
347
+ "links": [
348
+ 18,
349
+ 27
350
+ ]
351
+ }
352
+ ],
353
+ "properties": {
354
+ "Node name for S&R": "VAELoader"
355
+ },
356
+ "widgets_values": [
357
+ "mage_flow_vae_bf16.safetensors"
358
+ ]
359
+ },
360
+ {
361
+ "id": 3,
362
+ "type": "UNETLoader",
363
+ "pos": [
364
+ -1646.6040936215413,
365
+ 3626.1721914363693
366
+ ],
367
+ "size": [
368
+ 270,
369
+ 82
370
+ ],
371
+ "flags": {},
372
+ "order": 5,
373
+ "mode": 0,
374
+ "inputs": [],
375
+ "outputs": [
376
+ {
377
+ "name": "MODEL",
378
+ "type": "MODEL",
379
+ "links": [
380
+ 45
381
+ ]
382
+ }
383
+ ],
384
+ "properties": {
385
+ "Node name for S&R": "UNETLoader"
386
+ },
387
+ "widgets_values": [
388
+ "mage_flow_edit_bf16.safetensors",
389
+ "default"
390
+ ]
391
+ },
392
+ {
393
+ "id": 22,
394
+ "type": "ImageScaleToTotalPixels",
395
+ "pos": [
396
+ -1634.4169777313737,
397
+ 4522.529088629858
398
+ ],
399
+ "size": [
400
+ 276.4927734375,
401
+ 106
402
+ ],
403
+ "flags": {},
404
+ "order": 7,
405
+ "mode": 0,
406
+ "inputs": [
407
+ {
408
+ "name": "image",
409
+ "type": "IMAGE",
410
+ "link": 41
411
+ }
412
+ ],
413
+ "outputs": [
414
+ {
415
+ "name": "IMAGE",
416
+ "type": "IMAGE",
417
+ "links": [
418
+ 22,
419
+ 23,
420
+ 35
421
+ ]
422
+ }
423
+ ],
424
+ "properties": {
425
+ "Node name for S&R": "ImageScaleToTotalPixels"
426
+ },
427
+ "widgets_values": [
428
+ "lanczos",
429
+ 1,
430
+ 16
431
+ ]
432
+ },
433
+ {
434
+ "id": 7,
435
+ "type": "LoadImage",
436
+ "pos": [
437
+ -1328.105760654454,
438
+ 4159.930343960706
439
+ ],
440
+ "size": [
441
+ 282.798828125,
442
+ 314.00000000000045
443
+ ],
444
+ "flags": {},
445
+ "order": 6,
446
+ "mode": 4,
447
+ "inputs": [],
448
+ "outputs": [
449
+ {
450
+ "name": "IMAGE",
451
+ "type": "IMAGE",
452
+ "links": [
453
+ 3
454
+ ]
455
+ },
456
+ {
457
+ "name": "MASK",
458
+ "type": "MASK",
459
+ "links": null
460
+ }
461
+ ],
462
+ "properties": {
463
+ "Node name for S&R": "LoadImage"
464
+ },
465
+ "widgets_values": [
466
+ "5c82c0b20a5611aca83c92d5efac0f27.jpg",
467
+ "image"
468
+ ]
469
+ },
470
+ {
471
+ "id": 18,
472
+ "type": "KSampler",
473
+ "pos": [
474
+ -709.9081143433845,
475
+ 3631.132453982844
476
+ ],
477
+ "size": [
478
+ 270,
479
+ 262
480
+ ],
481
+ "flags": {},
482
+ "order": 10,
483
+ "mode": 0,
484
+ "inputs": [
485
+ {
486
+ "name": "model",
487
+ "type": "MODEL",
488
+ "link": 45
489
+ },
490
+ {
491
+ "name": "positive",
492
+ "type": "CONDITIONING",
493
+ "link": 15
494
+ },
495
+ {
496
+ "name": "negative",
497
+ "type": "CONDITIONING",
498
+ "link": 16
499
+ },
500
+ {
501
+ "name": "latent_image",
502
+ "type": "LATENT",
503
+ "link": 17
504
+ }
505
+ ],
506
+ "outputs": [
507
+ {
508
+ "name": "LATENT",
509
+ "type": "LATENT",
510
+ "links": [
511
+ 19
512
+ ]
513
+ }
514
+ ],
515
+ "properties": {
516
+ "Node name for S&R": "KSampler"
517
+ },
518
+ "widgets_values": [
519
+ 1068174720014690,
520
+ "randomize",
521
+ 40,
522
+ 5,
523
+ "euler",
524
+ "simple",
525
+ 1
526
+ ]
527
+ },
528
+ {
529
+ "id": 1,
530
+ "type": "TextEncodeMageFlowEdit",
531
+ "pos": [
532
+ -1336.8744704045296,
533
+ 3631.2491535920362
534
+ ],
535
+ "size": [
536
+ 603.8647660635593,
537
+ 479.6495051404504
538
+ ],
539
+ "flags": {},
540
+ "order": 9,
541
+ "mode": 0,
542
+ "inputs": [
543
+ {
544
+ "name": "clip",
545
+ "type": "CLIP",
546
+ "link": 1
547
+ },
548
+ {
549
+ "label": "image_1",
550
+ "name": "images.image_1",
551
+ "shape": 7,
552
+ "type": "IMAGE",
553
+ "link": 22
554
+ },
555
+ {
556
+ "label": "image_2",
557
+ "name": "images.image_2",
558
+ "shape": 7,
559
+ "type": "IMAGE",
560
+ "link": 3
561
+ },
562
+ {
563
+ "label": "image_3",
564
+ "name": "images.image_3",
565
+ "shape": 7,
566
+ "type": "IMAGE",
567
+ "link": 4
568
+ },
569
+ {
570
+ "label": "image_4",
571
+ "name": "images.image_4",
572
+ "shape": 7,
573
+ "type": "IMAGE",
574
+ "link": 5
575
+ },
576
+ {
577
+ "label": "image_5",
578
+ "name": "images.image_5",
579
+ "shape": 7,
580
+ "type": "IMAGE",
581
+ "link": null
582
+ },
583
+ {
584
+ "name": "vae",
585
+ "shape": 7,
586
+ "type": "VAE",
587
+ "link": 27
588
+ },
589
+ {
590
+ "name": "width",
591
+ "type": "INT",
592
+ "widget": {
593
+ "name": "width"
594
+ },
595
+ "link": 24
596
+ },
597
+ {
598
+ "name": "height",
599
+ "type": "INT",
600
+ "widget": {
601
+ "name": "height"
602
+ },
603
+ "link": 25
604
+ }
605
+ ],
606
+ "outputs": [
607
+ {
608
+ "name": "positive",
609
+ "type": "CONDITIONING",
610
+ "links": [
611
+ 15
612
+ ]
613
+ },
614
+ {
615
+ "name": "negative",
616
+ "type": "CONDITIONING",
617
+ "links": [
618
+ 16
619
+ ]
620
+ },
621
+ {
622
+ "name": "latent",
623
+ "type": "LATENT",
624
+ "links": [
625
+ 17
626
+ ]
627
+ }
628
+ ],
629
+ "properties": {
630
+ "Node name for S&R": "TextEncodeMageFlowEdit"
631
+ },
632
+ "widgets_values": [
633
+ "Make the woman wear a yellow T-shirt, ensuring it fits naturally.\n",
634
+ "bad quality",
635
+ 1024,
636
+ 1024,
637
+ 1
638
+ ]
639
+ }
640
+ ],
641
+ "links": [
642
+ [
643
+ 1,
644
+ 4,
645
+ 0,
646
+ 1,
647
+ 0,
648
+ "CLIP"
649
+ ],
650
+ [
651
+ 3,
652
+ 7,
653
+ 0,
654
+ 1,
655
+ 2,
656
+ "IMAGE"
657
+ ],
658
+ [
659
+ 4,
660
+ 8,
661
+ 0,
662
+ 1,
663
+ 3,
664
+ "IMAGE"
665
+ ],
666
+ [
667
+ 5,
668
+ 9,
669
+ 0,
670
+ 1,
671
+ 4,
672
+ "IMAGE"
673
+ ],
674
+ [
675
+ 15,
676
+ 1,
677
+ 0,
678
+ 18,
679
+ 1,
680
+ "CONDITIONING"
681
+ ],
682
+ [
683
+ 16,
684
+ 1,
685
+ 1,
686
+ 18,
687
+ 2,
688
+ "CONDITIONING"
689
+ ],
690
+ [
691
+ 17,
692
+ 1,
693
+ 2,
694
+ 18,
695
+ 3,
696
+ "LATENT"
697
+ ],
698
+ [
699
+ 18,
700
+ 5,
701
+ 0,
702
+ 19,
703
+ 1,
704
+ "VAE"
705
+ ],
706
+ [
707
+ 19,
708
+ 18,
709
+ 0,
710
+ 19,
711
+ 0,
712
+ "LATENT"
713
+ ],
714
+ [
715
+ 20,
716
+ 19,
717
+ 0,
718
+ 20,
719
+ 0,
720
+ "IMAGE"
721
+ ],
722
+ [
723
+ 22,
724
+ 22,
725
+ 0,
726
+ 1,
727
+ 1,
728
+ "IMAGE"
729
+ ],
730
+ [
731
+ 23,
732
+ 22,
733
+ 0,
734
+ 23,
735
+ 0,
736
+ "IMAGE"
737
+ ],
738
+ [
739
+ 24,
740
+ 23,
741
+ 0,
742
+ 1,
743
+ 7,
744
+ "INT"
745
+ ],
746
+ [
747
+ 25,
748
+ 23,
749
+ 1,
750
+ 1,
751
+ 8,
752
+ "INT"
753
+ ],
754
+ [
755
+ 27,
756
+ 5,
757
+ 0,
758
+ 1,
759
+ 6,
760
+ "VAE"
761
+ ],
762
+ [
763
+ 34,
764
+ 20,
765
+ 0,
766
+ 27,
767
+ 0,
768
+ "IMAGE"
769
+ ],
770
+ [
771
+ 35,
772
+ 22,
773
+ 0,
774
+ 27,
775
+ 1,
776
+ "IMAGE"
777
+ ],
778
+ [
779
+ 41,
780
+ 6,
781
+ 0,
782
+ 22,
783
+ 0,
784
+ "IMAGE"
785
+ ],
786
+ [
787
+ 45,
788
+ 3,
789
+ 0,
790
+ 18,
791
+ 0,
792
+ "MODEL"
793
+ ]
794
+ ],
795
+ "groups": [],
796
+ "config": {},
797
+ "extra": {
798
+ "ds": {
799
+ "scale": 0.9878509361309414,
800
+ "offset": [
801
+ 1950.5018695934034,
802
+ -3437.3616974292136
803
+ ]
804
+ },
805
+ "frontendVersion": "1.47.10",
806
+ "VHS_latentpreview": false,
807
+ "VHS_latentpreviewrate": 0,
808
+ "VHS_MetadataImage": true,
809
+ "VHS_KeepIntermediate": true
810
+ },
811
+ "version": 0.4
812
+ }