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