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