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