Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ninjaneural
GitHub Repository: ninjaneural/webui
Path: blob/master/memo/comfyui_anidiff_facedetail/workflow3.json
3275 views
1
{
2
"last_node_id": 46,
3
"last_link_id": 70,
4
"nodes": [
5
{
6
"id": 24,
7
"type": "VAELoader",
8
"pos": [
9
152,
10
358
11
],
12
"size": {
13
"0": 315,
14
"1": 58
15
},
16
"flags": {},
17
"order": 0,
18
"mode": 0,
19
"outputs": [
20
{
21
"name": "VAE",
22
"type": "VAE",
23
"links": [
24
50
25
],
26
"shape": 3,
27
"slot_index": 0
28
}
29
],
30
"properties": {
31
"Node name for S&R": "VAELoader"
32
},
33
"widgets_values": [
34
"vae-ft-mse-840000-ema-pruned.safetensors"
35
]
36
},
37
{
38
"id": 27,
39
"type": "CLIPTextEncode",
40
"pos": [
41
590,
42
320
43
],
44
"size": {
45
"0": 409.20001220703125,
46
"1": 92.4000015258789
47
},
48
"flags": {},
49
"order": 8,
50
"mode": 0,
51
"inputs": [
52
{
53
"name": "clip",
54
"type": "CLIP",
55
"link": 32
56
}
57
],
58
"outputs": [
59
{
60
"name": "CONDITIONING",
61
"type": "CONDITIONING",
62
"links": [
63
52
64
],
65
"shape": 3,
66
"slot_index": 0
67
}
68
],
69
"properties": {
70
"Node name for S&R": "CLIPTextEncode"
71
},
72
"widgets_values": [
73
"(worst quality, low quality:1.3), "
74
]
75
},
76
{
77
"id": 29,
78
"type": "UltralyticsDetectorProvider",
79
"pos": [
80
713,
81
600
82
],
83
"size": {
84
"0": 315,
85
"1": 78
86
},
87
"flags": {},
88
"order": 1,
89
"mode": 0,
90
"outputs": [
91
{
92
"name": "BBOX_DETECTOR",
93
"type": "BBOX_DETECTOR",
94
"links": [
95
53
96
],
97
"shape": 3,
98
"slot_index": 0
99
},
100
{
101
"name": "SEGM_DETECTOR",
102
"type": "SEGM_DETECTOR",
103
"links": null,
104
"shape": 3
105
}
106
],
107
"properties": {
108
"Node name for S&R": "UltralyticsDetectorProvider"
109
},
110
"widgets_values": [
111
"bbox/face_yolov8m.pt"
112
]
113
},
114
{
115
"id": 30,
116
"type": "SAMLoader",
117
"pos": [
118
711,
119
732
120
],
121
"size": {
122
"0": 315,
123
"1": 82
124
},
125
"flags": {},
126
"order": 2,
127
"mode": 0,
128
"outputs": [
129
{
130
"name": "SAM_MODEL",
131
"type": "SAM_MODEL",
132
"links": [
133
54
134
],
135
"shape": 3,
136
"slot_index": 0
137
}
138
],
139
"properties": {
140
"Node name for S&R": "SAMLoader"
141
},
142
"widgets_values": [
143
"sam_vit_b_01ec64.pth",
144
"AUTO"
145
]
146
},
147
{
148
"id": 32,
149
"type": "ImpactSEGSToMaskList",
150
"pos": [
151
748,
152
929
153
],
154
"size": {
155
"0": 210,
156
"1": 26
157
},
158
"flags": {},
159
"order": 13,
160
"mode": 0,
161
"inputs": [
162
{
163
"name": "segs",
164
"type": "SEGS",
165
"link": 56
166
}
167
],
168
"outputs": [
169
{
170
"name": "MASK",
171
"type": "MASK",
172
"links": [
173
41
174
],
175
"shape": 6,
176
"slot_index": 0
177
}
178
],
179
"properties": {
180
"Node name for S&R": "ImpactSEGSToMaskList"
181
}
182
},
183
{
184
"id": 36,
185
"type": "ToBasicPipe",
186
"pos": [
187
1175,
188
292
189
],
190
"size": {
191
"0": 241.79998779296875,
192
"1": 106
193
},
194
"flags": {},
195
"order": 11,
196
"mode": 0,
197
"inputs": [
198
{
199
"name": "model",
200
"type": "MODEL",
201
"link": 61
202
},
203
{
204
"name": "clip",
205
"type": "CLIP",
206
"link": 49
207
},
208
{
209
"name": "vae",
210
"type": "VAE",
211
"link": 50
212
},
213
{
214
"name": "positive",
215
"type": "CONDITIONING",
216
"link": 51
217
},
218
{
219
"name": "negative",
220
"type": "CONDITIONING",
221
"link": 52
222
}
223
],
224
"outputs": [
225
{
226
"name": "basic_pipe",
227
"type": "BASIC_PIPE",
228
"links": [
229
58
230
],
231
"shape": 3,
232
"slot_index": 0
233
}
234
],
235
"properties": {
236
"Node name for S&R": "ToBasicPipe"
237
}
238
},
239
{
240
"id": 10,
241
"type": "CheckpointLoaderSimple",
242
"pos": [
243
153,
244
203
245
],
246
"size": {
247
"0": 315,
248
"1": 98
249
},
250
"flags": {},
251
"order": 3,
252
"mode": 0,
253
"outputs": [
254
{
255
"name": "MODEL",
256
"type": "MODEL",
257
"links": [
258
60
259
],
260
"slot_index": 0
261
},
262
{
263
"name": "CLIP",
264
"type": "CLIP",
265
"links": [
266
29,
267
32,
268
49
269
],
270
"slot_index": 1
271
},
272
{
273
"name": "VAE",
274
"type": "VAE",
275
"links": [],
276
"slot_index": 2
277
}
278
],
279
"properties": {
280
"Node name for S&R": "CheckpointLoaderSimple"
281
},
282
"widgets_values": [
283
"sd15\\caramelapple_v12.safetensors"
284
]
285
},
286
{
287
"id": 40,
288
"type": "ADE_StandardStaticContextOptions",
289
"pos": [
290
202,
291
1224
292
],
293
"size": {
294
"0": 319.20001220703125,
295
"1": 198
296
},
297
"flags": {},
298
"order": 4,
299
"mode": 0,
300
"inputs": [
301
{
302
"name": "prev_context",
303
"type": "CONTEXT_OPTIONS",
304
"link": null
305
},
306
{
307
"name": "view_opts",
308
"type": "VIEW_OPTS",
309
"link": null
310
}
311
],
312
"outputs": [
313
{
314
"name": "CONTEXT_OPTS",
315
"type": "CONTEXT_OPTIONS",
316
"links": [
317
62
318
],
319
"shape": 3
320
}
321
],
322
"properties": {
323
"Node name for S&R": "ADE_StandardStaticContextOptions"
324
},
325
"widgets_values": [
326
16,
327
4,
328
"pyramid",
329
false,
330
0,
331
1
332
]
333
},
334
{
335
"id": 42,
336
"type": "VHS_LoadImagesPath",
337
"pos": [
338
-191,
339
794
340
],
341
"size": [
342
226.8000030517578,
343
194
344
],
345
"flags": {},
346
"order": 5,
347
"mode": 0,
348
"outputs": [
349
{
350
"name": "IMAGE",
351
"type": "IMAGE",
352
"links": null,
353
"shape": 3
354
},
355
{
356
"name": "MASK",
357
"type": "MASK",
358
"links": null,
359
"shape": 3
360
},
361
{
362
"name": "INT",
363
"type": "INT",
364
"links": null,
365
"shape": 3
366
}
367
],
368
"properties": {
369
"Node name for S&R": "VHS_LoadImagesPath"
370
},
371
"widgets_values": {
372
"directory": "X://path/to/images",
373
"image_load_cap": 0,
374
"skip_first_images": 0,
375
"select_every_nth": 1,
376
"choose folder to upload": "image",
377
"videopreview": {
378
"hidden": false,
379
"paused": false,
380
"params": {
381
"frame_load_cap": 0,
382
"skip_first_images": 0,
383
"filename": "X://path/to/images",
384
"type": "path",
385
"format": "folder",
386
"select_every_nth": 1
387
}
388
}
389
}
390
},
391
{
392
"id": 43,
393
"type": "ConstrainImageforVideo|pysssss",
394
"pos": [
395
215,
396
573
397
],
398
"size": {
399
"0": 315,
400
"1": 154
401
},
402
"flags": {},
403
"order": 10,
404
"mode": 0,
405
"inputs": [
406
{
407
"name": "images",
408
"type": "IMAGE",
409
"link": 63
410
}
411
],
412
"outputs": [
413
{
414
"name": "IMAGE",
415
"type": "IMAGE",
416
"links": [
417
64,
418
65,
419
66
420
],
421
"shape": 3,
422
"slot_index": 0
423
}
424
],
425
"properties": {
426
"Node name for S&R": "ConstrainImageforVideo|pysssss"
427
},
428
"widgets_values": [
429
720,
430
1280,
431
0,
432
0,
433
"no"
434
]
435
},
436
{
437
"id": 39,
438
"type": "ADE_AnimateDiffLoaderGen1",
439
"pos": [
440
208,
441
949
442
],
443
"size": {
444
"0": 315,
445
"1": 222
446
},
447
"flags": {},
448
"order": 9,
449
"mode": 0,
450
"inputs": [
451
{
452
"name": "model",
453
"type": "MODEL",
454
"link": 60
455
},
456
{
457
"name": "context_options",
458
"type": "CONTEXT_OPTIONS",
459
"link": 62,
460
"slot_index": 1
461
},
462
{
463
"name": "motion_lora",
464
"type": "MOTION_LORA",
465
"link": null
466
},
467
{
468
"name": "ad_settings",
469
"type": "AD_SETTINGS",
470
"link": null
471
},
472
{
473
"name": "ad_keyframes",
474
"type": "AD_KEYFRAMES",
475
"link": null
476
},
477
{
478
"name": "sample_settings",
479
"type": "SAMPLE_SETTINGS",
480
"link": null
481
},
482
{
483
"name": "scale_multival",
484
"type": "MULTIVAL",
485
"link": null
486
},
487
{
488
"name": "effect_multival",
489
"type": "MULTIVAL",
490
"link": null
491
}
492
],
493
"outputs": [
494
{
495
"name": "MODEL",
496
"type": "MODEL",
497
"links": [
498
61
499
],
500
"shape": 3,
501
"slot_index": 0
502
}
503
],
504
"properties": {
505
"Node name for S&R": "ADE_AnimateDiffLoaderGen1"
506
},
507
"widgets_values": [
508
"mm_sd15_v3.safetensors",
509
"autoselect"
510
]
511
},
512
{
513
"id": 44,
514
"type": "VHS_VideoCombine",
515
"pos": [
516
1722,
517
572
518
],
519
"size": [
520
315,
521
828.4444444444445
522
],
523
"flags": {},
524
"order": 18,
525
"mode": 0,
526
"inputs": [
527
{
528
"name": "images",
529
"type": "IMAGE",
530
"link": 67
531
},
532
{
533
"name": "audio",
534
"type": "VHS_AUDIO",
535
"link": null
536
},
537
{
538
"name": "batch_manager",
539
"type": "VHS_BatchManager",
540
"link": null
541
}
542
],
543
"outputs": [
544
{
545
"name": "Filenames",
546
"type": "VHS_FILENAMES",
547
"links": null,
548
"shape": 3
549
}
550
],
551
"properties": {
552
"Node name for S&R": "VHS_VideoCombine"
553
},
554
"widgets_values": {
555
"frame_rate": 15,
556
"loop_count": 0,
557
"filename_prefix": "AnimateDiff",
558
"format": "video/h264-mp4",
559
"pix_fmt": "yuv420p",
560
"crf": 19,
561
"save_metadata": true,
562
"pingpong": false,
563
"save_output": true,
564
"videopreview": {
565
"hidden": false,
566
"paused": false,
567
"params": {
568
"filename": "AnimateDiff_01466.mp4",
569
"subfolder": "",
570
"type": "output",
571
"format": "video/h264-mp4"
572
}
573
}
574
}
575
},
576
{
577
"id": 35,
578
"type": "SEGSPaste",
579
"pos": [
580
1182,
581
1336
582
],
583
"size": {
584
"0": 315,
585
"1": 122
586
},
587
"flags": {},
588
"order": 16,
589
"mode": 0,
590
"inputs": [
591
{
592
"name": "image",
593
"type": "IMAGE",
594
"link": 66
595
},
596
{
597
"name": "segs",
598
"type": "SEGS",
599
"link": 59
600
},
601
{
602
"name": "ref_image_opt",
603
"type": "IMAGE",
604
"link": null
605
}
606
],
607
"outputs": [
608
{
609
"name": "IMAGE",
610
"type": "IMAGE",
611
"links": [
612
67
613
],
614
"shape": 3,
615
"slot_index": 0
616
}
617
],
618
"properties": {
619
"Node name for S&R": "SEGSPaste"
620
},
621
"widgets_values": [
622
5,
623
255
624
]
625
},
626
{
627
"id": 37,
628
"type": "ImpactSimpleDetectorSEGS_for_AD",
629
"pos": [
630
1204,
631
479
632
],
633
"size": {
634
"0": 319.20001220703125,
635
"1": 334
636
},
637
"flags": {},
638
"order": 12,
639
"mode": 0,
640
"inputs": [
641
{
642
"name": "bbox_detector",
643
"type": "BBOX_DETECTOR",
644
"link": 53
645
},
646
{
647
"name": "image_frames",
648
"type": "IMAGE",
649
"link": 64
650
},
651
{
652
"name": "sam_model_opt",
653
"type": "SAM_MODEL",
654
"link": 54
655
},
656
{
657
"name": "segm_detector_opt",
658
"type": "SEGM_DETECTOR",
659
"link": null
660
}
661
],
662
"outputs": [
663
{
664
"name": "SEGS",
665
"type": "SEGS",
666
"links": [
667
56,
668
68
669
],
670
"shape": 3,
671
"slot_index": 0
672
}
673
],
674
"properties": {
675
"Node name for S&R": "ImpactSimpleDetectorSEGS_for_AD"
676
},
677
"widgets_values": [
678
0.7000000000000001,
679
0,
680
1,
681
10,
682
0.5,
683
0,
684
0,
685
0.7,
686
"Pivot SEGS",
687
"Combined mask"
688
]
689
},
690
{
691
"id": 38,
692
"type": "SEGSDetailerForAnimateDiff",
693
"pos": [
694
1138,
695
903
696
],
697
"size": {
698
"0": 430.8000183105469,
699
"1": 358
700
},
701
"flags": {},
702
"order": 14,
703
"mode": 0,
704
"inputs": [
705
{
706
"name": "image_frames",
707
"type": "IMAGE",
708
"link": 65
709
},
710
{
711
"name": "segs",
712
"type": "SEGS",
713
"link": 68
714
},
715
{
716
"name": "basic_pipe",
717
"type": "BASIC_PIPE",
718
"link": 58
719
},
720
{
721
"name": "refiner_basic_pipe_opt",
722
"type": "BASIC_PIPE",
723
"link": null
724
}
725
],
726
"outputs": [
727
{
728
"name": "segs",
729
"type": "SEGS",
730
"links": [
731
59,
732
70
733
],
734
"shape": 3,
735
"slot_index": 0
736
},
737
{
738
"name": "cnet_images",
739
"type": "IMAGE",
740
"links": null,
741
"shape": 6
742
}
743
],
744
"properties": {
745
"Node name for S&R": "SEGSDetailerForAnimateDiff"
746
},
747
"widgets_values": [
748
512,
749
true,
750
768,
751
145338225632700,
752
"randomize",
753
20,
754
8,
755
"euler",
756
"normal",
757
0.5,
758
0.2
759
]
760
},
761
{
762
"id": 46,
763
"type": "PreviewImage",
764
"pos": [
765
740,
766
1580
767
],
768
"size": {
769
"0": 210,
770
"1": 246
771
},
772
"flags": {},
773
"order": 19,
774
"mode": 2,
775
"inputs": [
776
{
777
"name": "images",
778
"type": "IMAGE",
779
"link": 69
780
}
781
],
782
"properties": {
783
"Node name for S&R": "PreviewImage"
784
}
785
},
786
{
787
"id": 33,
788
"type": "MaskPreview+",
789
"pos": [
790
676,
791
1005
792
],
793
"size": {
794
"0": 342.3247375488281,
795
"1": 399.5501403808594
796
},
797
"flags": {},
798
"order": 15,
799
"mode": 0,
800
"inputs": [
801
{
802
"name": "mask",
803
"type": "MASK",
804
"link": 41
805
}
806
],
807
"properties": {
808
"Node name for S&R": "MaskPreview+"
809
}
810
},
811
{
812
"id": 45,
813
"type": "SEGSToImageList",
814
"pos": [
815
700,
816
1480
817
],
818
"size": {
819
"0": 304.79998779296875,
820
"1": 46
821
},
822
"flags": {},
823
"order": 17,
824
"mode": 2,
825
"inputs": [
826
{
827
"name": "segs",
828
"type": "SEGS",
829
"link": 70
830
},
831
{
832
"name": "fallback_image_opt",
833
"type": "IMAGE",
834
"link": null
835
}
836
],
837
"outputs": [
838
{
839
"name": "IMAGE",
840
"type": "IMAGE",
841
"links": [
842
69
843
],
844
"shape": 6,
845
"slot_index": 0
846
}
847
],
848
"properties": {
849
"Node name for S&R": "SEGSToImageList"
850
}
851
},
852
{
853
"id": 41,
854
"type": "VHS_LoadVideoPath",
855
"pos": [
856
-220,
857
523
858
],
859
"size": [
860
317.4000244140625,
861
218
862
],
863
"flags": {},
864
"order": 6,
865
"mode": 0,
866
"inputs": [
867
{
868
"name": "batch_manager",
869
"type": "VHS_BatchManager",
870
"link": null
871
}
872
],
873
"outputs": [
874
{
875
"name": "IMAGE",
876
"type": "IMAGE",
877
"links": [
878
63
879
],
880
"shape": 3,
881
"slot_index": 0
882
},
883
{
884
"name": "frame_count",
885
"type": "INT",
886
"links": null,
887
"shape": 3
888
},
889
{
890
"name": "audio",
891
"type": "VHS_AUDIO",
892
"links": null,
893
"shape": 3
894
}
895
],
896
"properties": {
897
"Node name for S&R": "VHS_LoadVideoPath"
898
},
899
"widgets_values": {
900
"video": "E:\\work2\\night_karia\\output.mp4",
901
"force_rate": 0,
902
"force_size": "Disabled",
903
"custom_width": 512,
904
"custom_height": 512,
905
"frame_load_cap": 0,
906
"skip_first_frames": 0,
907
"select_every_nth": 1,
908
"videopreview": {
909
"hidden": false,
910
"paused": false,
911
"params": {
912
"frame_load_cap": 0,
913
"skip_first_frames": 0,
914
"force_rate": 0,
915
"filename": "E:\\work2\\night_karia\\output.mp4",
916
"type": "path",
917
"format": "video/mp4",
918
"select_every_nth": 1
919
}
920
}
921
}
922
},
923
{
924
"id": 26,
925
"type": "CLIPTextEncode",
926
"pos": [
927
594,
928
176
929
],
930
"size": {
931
"0": 409.20001220703125,
932
"1": 92.4000015258789
933
},
934
"flags": {},
935
"order": 7,
936
"mode": 0,
937
"inputs": [
938
{
939
"name": "clip",
940
"type": "CLIP",
941
"link": 29
942
}
943
],
944
"outputs": [
945
{
946
"name": "CONDITIONING",
947
"type": "CONDITIONING",
948
"links": [
949
51
950
],
951
"shape": 3,
952
"slot_index": 0
953
}
954
],
955
"properties": {
956
"Node name for S&R": "CLIPTextEncode"
957
},
958
"widgets_values": [
959
" (masterpiece, best quality, high quality:1.2), girls, cute, (smile:0.7)"
960
]
961
}
962
],
963
"links": [
964
[
965
29,
966
10,
967
1,
968
26,
969
0,
970
"CLIP"
971
],
972
[
973
32,
974
10,
975
1,
976
27,
977
0,
978
"CLIP"
979
],
980
[
981
41,
982
32,
983
0,
984
33,
985
0,
986
"MASK"
987
],
988
[
989
49,
990
10,
991
1,
992
36,
993
1,
994
"CLIP"
995
],
996
[
997
50,
998
24,
999
0,
1000
36,
1001
2,
1002
"VAE"
1003
],
1004
[
1005
51,
1006
26,
1007
0,
1008
36,
1009
3,
1010
"CONDITIONING"
1011
],
1012
[
1013
52,
1014
27,
1015
0,
1016
36,
1017
4,
1018
"CONDITIONING"
1019
],
1020
[
1021
53,
1022
29,
1023
0,
1024
37,
1025
0,
1026
"BBOX_DETECTOR"
1027
],
1028
[
1029
54,
1030
30,
1031
0,
1032
37,
1033
2,
1034
"SAM_MODEL"
1035
],
1036
[
1037
56,
1038
37,
1039
0,
1040
32,
1041
0,
1042
"SEGS"
1043
],
1044
[
1045
58,
1046
36,
1047
0,
1048
38,
1049
2,
1050
"BASIC_PIPE"
1051
],
1052
[
1053
59,
1054
38,
1055
0,
1056
35,
1057
1,
1058
"SEGS"
1059
],
1060
[
1061
60,
1062
10,
1063
0,
1064
39,
1065
0,
1066
"MODEL"
1067
],
1068
[
1069
61,
1070
39,
1071
0,
1072
36,
1073
0,
1074
"MODEL"
1075
],
1076
[
1077
62,
1078
40,
1079
0,
1080
39,
1081
1,
1082
"CONTEXT_OPTIONS"
1083
],
1084
[
1085
63,
1086
41,
1087
0,
1088
43,
1089
0,
1090
"IMAGE"
1091
],
1092
[
1093
64,
1094
43,
1095
0,
1096
37,
1097
1,
1098
"IMAGE"
1099
],
1100
[
1101
65,
1102
43,
1103
0,
1104
38,
1105
0,
1106
"IMAGE"
1107
],
1108
[
1109
66,
1110
43,
1111
0,
1112
35,
1113
0,
1114
"IMAGE"
1115
],
1116
[
1117
67,
1118
35,
1119
0,
1120
44,
1121
0,
1122
"IMAGE"
1123
],
1124
[
1125
68,
1126
37,
1127
0,
1128
38,
1129
1,
1130
"SEGS"
1131
],
1132
[
1133
69,
1134
45,
1135
0,
1136
46,
1137
0,
1138
"IMAGE"
1139
],
1140
[
1141
70,
1142
38,
1143
0,
1144
45,
1145
0,
1146
"SEGS"
1147
]
1148
],
1149
"groups": [],
1150
"config": {},
1151
"extra": {
1152
"ds": {
1153
"scale": 0.6830134553650705,
1154
"offset": {
1155
"0": 630.2824614937383,
1156
"1": 61.76265844238158
1157
}
1158
}
1159
},
1160
"version": 0.4
1161
}
1162