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