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