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