工作流 /
视频 /
Wan2.2 Animate, 角色动画与替换

Wan2.2 Animate, 角色动画与替换
Wan2.2 Animate, Character Animation and Replacement
统一的角色动画与替换框架,精准还原动作与表情。
视频
40 个节点 2 个输入 115 次使用 ComfyUI ≥ 0.8.0 ComfyUI 134 KB
需要的权重
这个工作流引用了 8 个权重文件,其中 6 个能在本站模型库里找到。
Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors
在模型库查看
WanAnimate_relight_lora_fp16.safetensors
模型库暂未收录
clip_vision_h.safetensors
在模型库查看
dw-ll_ucoco_384_bs5.torchscript.pt
模型库暂未收录
lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors
在模型库查看
sam2_hiera_base_plus.safetensors
在模型库查看
umt5_xxl_fp8_e4m3fn_scaled.safetensors
在模型库查看
wan_2.1_vae.safetensors
在模型库查看
节点构成
MarkdownNote
× 6
SaveVideo
× 3
DWPreprocessor
× 2
CLIPTextEncode
× 2
LoraLoaderModelOnly
× 2
PrimitiveInt
× 2
PixelPerfectResolution
× 1
LoadVideo
× 1
DownloadAndLoadSAM2Model
× 1
PreviewImage
× 1
MaskPreview
× 1
Note
× 1
PointsEditor
× 1
ImageScale
× 1
GetVideoComponents
× 1
CLIPVisionEncode
× 1
官方标注的模型
Wanwan2.2 Animate
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "ba1df054-50a8-4da2-b45a-25b4dde3cc2f",
3 "revision": 1,
4 "last_node_id": 283,
5 "last_link_id": 714,
6 "nodes": [
7 {
8 "id": 158,
9 "type": "PixelPerfectResolution",
10 "pos": [
11 -1320,
12 800
13 ],
14 "size": [
15 291.71484375,
16 106
17 ],
18 "flags": [],
19 "order": 25,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "original_image",
24 "type": "IMAGE",
25 "link": 347
26 },
27 {
28 "name": "image_gen_width",
29 "type": "INT",
30 "link": 448,
31 "widget": {
32 "name": "image_gen_width"
33 }
34 },
35 {
36 "name": "image_gen_height",
37 "type": "INT",
38 "link": 449,
39 "widget": {
40 "name": "image_gen_height"
41 }
42 }
43 ],
44 "outputs": [
45 {
46 "name": "RESOLUTION (INT)",
47 "type": "INT",
48 "links": [
49 360,
50 361
51 ]
52 }
53 ],
54 "properties": {
55 "Node name for S&R": "PixelPerfectResolution",
56 "cnr_id": "comfyui_controlnet_aux",
57 "ver": "59b027e088c1c8facf7258f6e392d16d204b4d27"
58 },
59 "widgets_values": [
60 512,
61 512,
62 "Just Resize"
63 ]
64 },
65 {
66 "id": 145,
67 "type": "LoadVideo",
68 "pos": [
69 -1730,
70 410
71 ],
72 "size": [
73 360,
74 434
75 ],
76 "flags": [],
77 "order": 0,
78 "mode": 0,
79 "inputs": [],
80 "outputs": [
81 {
82 "name": "VIDEO",
83 "type": "VIDEO",
84 "links": [
85 297
86 ]
87 }
88 ],
89 "properties": {
90 "Node name for S&R": "LoadVideo",
91 "cnr_id": "comfy-core",
92 "ver": "0.3.59"
93 },
94 "widgets_values": [
95 "video_wan2_2_14B_animate_original_video.mp4",
96 "image"
97 ]
98 },
99 {
100 "id": 108,
101 "type": "DownloadAndLoadSAM2Model",
102 "pos": [
103 -1310,
104 1130
105 ],
106 "size": [
107 320,
108 140
109 ],
110 "flags": [],
111 "order": 3,
112 "mode": 0,
113 "inputs": [],
114 "outputs": [
115 {
116 "name": "sam2_model",
117 "type": "SAM2MODEL",
118 "links": [
119 235
120 ]
121 }
122 ],
123 "properties": {
124 "Node name for S&R": "DownloadAndLoadSAM2Model",
125 "cnr_id": "ComfyUI-segment-anything-2",
126 "ver": "c59676b008a76237002926f684d0ca3a9b29ac54"
127 },
128 "widgets_values": [
129 "sam2_hiera_base_plus.safetensors",
130 "video",
131 "cuda",
132 "fp16"
133 ]
134 },
135 {
136 "id": 124,
137 "type": "PreviewImage",
138 "pos": [
139 -860,
140 1900
141 ],
142 "size": [
143 250,
144 270
145 ],
146 "flags": [],
147 "order": 33,
148 "mode": 4,
149 "inputs": [
150 {
151 "name": "images",
152 "type": "IMAGE",
153 "link": 675
154 }
155 ],
156 "outputs": [],
157 "properties": {
158 "Node name for S&R": "PreviewImage",
159 "cnr_id": "comfy-core",
160 "ver": "0.3.59"
161 },
162 "widgets_values": []
163 },
164 {
165 "id": 127,
166 "type": "MaskPreview",
167 "pos": [
168 -870,
169 1540
170 ],
171 "size": [
172 260,
173 260
174 ],
175 "flags": [],
176 "order": 32,
177 "mode": 4,
178 "inputs": [
179 {
180 "name": "mask",
181 "type": "MASK",
182 "link": 691
183 }
184 ],
185 "outputs": [],
186 "properties": {
187 "Node name for S&R": "MaskPreview",
188 "cnr_id": "comfy-core",
189 "ver": "0.3.59"
190 },
191 "widgets_values": []
192 },
193 {
194 "id": 103,
195 "type": "Note",
196 "pos": [
197 -1300,
198 660
199 ],
200 "size": [
201 260,
202 88
203 ],
204 "flags": [],
205 "order": 2,
206 "mode": 0,
207 "inputs": [],
208 "outputs": [],
209 "properties": [],
210 "widgets_values": [
211 "The Image Scale node is to prevent you from inputting an oversized video. A large size video will take a very long time to preprocess.\n\nPlease update this setting according to the video size you input\n"
212 ],
213 "color": "#222",
214 "bgcolor": "#000"
215 },
216 {
217 "id": 227,
218 "type": "MarkdownNote",
219 "pos": [
220 -1300,
221 2100
222 ],
223 "size": [
224 400,
225 240
226 ],
227 "flags": [],
228 "order": 3,
229 "mode": 0,
230 "inputs": [],
231 "outputs": [],
232 "title": "Note: Switch to Move mode",
233 "properties": [],
234 "widgets_values": [
235 "The model has two modes:\n- Mix: character replace\n- Move: Pose transfer\n\nIf you want to switch to **Move** mode, please disconnect **Background_video** and **Character_mask** output from the **WanAnimateToVideo** node.\n\nBypass will still pass the input video to the **WanAnimateToVideo** node, so please disconnect them."
236 ],
237 "color": "#222",
238 "bgcolor": "#000"
239 },
240 {
241 "id": 229,
242 "type": "PointsEditor",
243 "pos": [
244 -2150,
245 1100
246 ],
247 "size": [
248 685,
249 940
250 ],
251 "flags": [],
252 "order": 26,
253 "mode": 0,
254 "inputs": [
255 {
256 "name": "bg_image",
257 "shape": 7,
258 "type": "IMAGE",
259 "link": 456
260 }
261 ],
262 "outputs": [
263 {
264 "name": "positive_coords",
265 "type": "STRING",
266 "links": [
267 438
268 ]
269 },
270 {
271 "name": "negative_coords",
272 "type": "STRING",
273 "links": null
274 },
275 {
276 "name": "bbox",
277 "type": "BBOX",
278 "links": null
279 },
280 {
281 "name": "bbox_mask",
282 "type": "MASK",
283 "links": null
284 },
285 {
286 "name": "cropped_image",
287 "type": "IMAGE",
288 "links": null
289 }
290 ],
291 "properties": {
292 "Node name for S&R": "PointsEditor",
293 "cnr_id": "comfyui-kjnodes",
294 "ver": "e81f33508b0821ea2f53f4f46a833fa6215626bd",
295 "points": "PointsEditor",
296 "neg_points": "PointsEditor",
297 "imgData": {
298 "name": "bg_image",
299 "base64": [
300 ""
301 ]
302 }
303 },
304 "widgets_values": [
305 "{\"positive\":[{\"x\":256,\"y\":256}],\"negative\":[{\"x\":0,\"y\":0}]}",
306 "[{\"x\":256,\"y\":256}]",
307 "[{\"x\":0,\"y\":0}]",
308 "[{}]",
309 "[{}]",
310 "xyxy",
311 640,
312 640,
313 false
314 ]
315 },
316 {
317 "id": 212,
318 "type": "ImageScale",
319 "pos": [
320 -1300,
321 490
322 ],
323 "size": [
324 270,
325 130
326 ],
327 "flags": [],
328 "order": 22,
329 "mode": 0,
330 "inputs": [
331 {
332 "name": "image",
333 "type": "IMAGE",
334 "link": 425
335 },
336 {
337 "name": "width",
338 "type": "INT",
339 "widget": {
340 "name": "width"
341 },
342 "link": 446
343 },
344 {
345 "name": "height",
346 "type": "INT",
347 "widget": {
348 "name": "height"
349 },
350 "link": 447
351 }
352 ],
353 "outputs": [
354 {
355 "name": "IMAGE",
356 "type": "IMAGE",
357 "links": [
358 422,
359 423,
360 456,
361 457,
362 662
363 ]
364 }
365 ],
366 "properties": {
367 "Node name for S&R": "ImageScale",
368 "cnr_id": "comfy-core",
369 "ver": "0.3.59"
370 },
371 "widgets_values": [
372 "lanczos",
373 512,
374 512,
375 "center"
376 ]
377 },
378 {
379 "id": 100,
380 "type": "DWPreprocessor",
381 "pos": [
382 -960,
383 400
384 ],
385 "size": [
386 294.72265625,
387 222
388 ],
389 "flags": [],
390 "order": 28,
391 "mode": 0,
392 "inputs": [
393 {
394 "name": "image",
395 "type": "IMAGE",
396 "link": 422
397 },
398 {
399 "name": "resolution",
400 "type": "INT",
401 "link": 360,
402 "shape": 7,
403 "widget": {
404 "name": "resolution"
405 }
406 }
407 ],
408 "outputs": [
409 {
410 "name": "IMAGE",
411 "type": "IMAGE",
412 "links": [
413 484,
414 532,
415 704
416 ]
417 },
418 {
419 "name": "POSE_KEYPOINT",
420 "type": "POSE_KEYPOINT",
421 "links": null
422 }
423 ],
424 "properties": {
425 "Node name for S&R": "DWPreprocessor",
426 "cnr_id": "comfyui_controlnet_aux",
427 "ver": "59b027e088c1c8facf7258f6e392d16d204b4d27"
428 },
429 "widgets_values": [
430 "disable",
431 "disable",
432 "enable",
433 512,
434 "yolox_l.onnx",
435 "dw-ll_ucoco_384_bs5.torchscript.pt",
436 "disable"
437 ]
438 },
439 {
440 "id": 101,
441 "type": "DWPreprocessor",
442 "pos": [
443 -960,
444 690
445 ],
446 "size": [
447 294.72265625,
448 222
449 ],
450 "flags": [],
451 "order": 29,
452 "mode": 0,
453 "inputs": [
454 {
455 "name": "image",
456 "type": "IMAGE",
457 "link": 423
458 },
459 {
460 "name": "resolution",
461 "type": "INT",
462 "link": 361,
463 "shape": 7,
464 "widget": {
465 "name": "resolution"
466 }
467 }
468 ],
469 "outputs": [
470 {
471 "name": "IMAGE",
472 "type": "IMAGE",
473 "links": [
474 485,
475 533,
476 705
477 ]
478 },
479 {
480 "name": "POSE_KEYPOINT",
481 "type": "POSE_KEYPOINT",
482 "links": null
483 }
484 ],
485 "properties": {
486 "Node name for S&R": "DWPreprocessor",
487 "cnr_id": "comfyui_controlnet_aux",
488 "ver": "59b027e088c1c8facf7258f6e392d16d204b4d27"
489 },
490 "widgets_values": [
491 "enable",
492 "enable",
493 "disable",
494 512,
495 "yolox_l.onnx",
496 "dw-ll_ucoco_384_bs5.torchscript.pt",
497 "disable"
498 ]
499 },
500 {
501 "id": 23,
502 "type": "GetVideoComponents",
503 "pos": [
504 -1730,
505 780
506 ],
507 "size": [
508 190,
509 70
510 ],
511 "flags": {
512 "collapsed": false
513 },
514 "order": 16,
515 "mode": 0,
516 "inputs": [
517 {
518 "name": "video",
519 "type": "VIDEO",
520 "link": 297
521 }
522 ],
523 "outputs": [
524 {
525 "name": "images",
526 "type": "IMAGE",
527 "links": [
528 347,
529 425
530 ]
531 },
532 {
533 "name": "audio",
534 "type": "AUDIO",
535 "links": [
536 478,
537 526,
538 698
539 ]
540 },
541 {
542 "name": "fps",
543 "type": "FLOAT",
544 "links": []
545 }
546 ],
547 "properties": {
548 "Node name for S&R": "GetVideoComponents",
549 "cnr_id": "comfy-core",
550 "ver": "0.3.59"
551 },
552 "widgets_values": []
553 },
554 {
555 "id": 21,
556 "type": "CLIPTextEncode",
557 "pos": [
558 -990,
559 -280
560 ],
561 "size": [
562 420,
563 230
564 ],
565 "flags": [],
566 "order": 18,
567 "mode": 0,
568 "inputs": [
569 {
570 "name": "clip",
571 "type": "CLIP",
572 "link": 18
573 }
574 ],
575 "outputs": [
576 {
577 "name": "CONDITIONING",
578 "type": "CONDITIONING",
579 "slot_index": 0,
580 "links": [
581 480,
582 528,
583 700
584 ]
585 }
586 ],
587 "title": "CLIP Text Encode (Positive Prompt)",
588 "properties": {
589 "Node name for S&R": "CLIPTextEncode",
590 "cnr_id": "comfy-core",
591 "ver": "0.3.59"
592 },
593 "widgets_values": [
594 "The character is dancing in the room"
595 ],
596 "color": "#232",
597 "bgcolor": "#353"
598 },
599 {
600 "id": 1,
601 "type": "CLIPTextEncode",
602 "pos": [
603 -990,
604 50
605 ],
606 "size": [
607 425.27801513671875,
608 180.6060791015625
609 ],
610 "flags": [],
611 "order": 17,
612 "mode": 0,
613 "inputs": [
614 {
615 "name": "clip",
616 "type": "CLIP",
617 "link": 1
618 }
619 ],
620 "outputs": [
621 {
622 "name": "CONDITIONING",
623 "type": "CONDITIONING",
624 "slot_index": 0,
625 "links": [
626 481,
627 529,
628 701
629 ]
630 }
631 ],
632 "title": "CLIP Text Encode (Negative Prompt)",
633 "properties": {
634 "Node name for S&R": "CLIPTextEncode",
635 "cnr_id": "comfy-core",
636 "ver": "0.3.59"
637 },
638 "widgets_values": [
639 "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
640 ],
641 "color": "#322",
642 "bgcolor": "#533"
643 },
644 {
645 "id": 9,
646 "type": "CLIPVisionEncode",
647 "pos": [
648 -2150,
649 860
650 ],
651 "size": [
652 253.60000610351562,
653 78
654 ],
655 "flags": {
656 "collapsed": false
657 },
658 "order": 19,
659 "mode": 0,
660 "inputs": [
661 {
662 "name": "clip_vision",
663 "type": "CLIP_VISION",
664 "link": 4
665 },
666 {
667 "name": "image",
668 "type": "IMAGE",
669 "link": 344
670 }
671 ],
672 "outputs": [
673 {
674 "name": "CLIP_VISION_OUTPUT",
675 "type": "CLIP_VISION_OUTPUT",
676 "slot_index": 0,
677 "links": [
678 482,
679 530,
680 702
681 ]
682 }
683 ],
684 "properties": {
685 "Node name for S&R": "CLIPVisionEncode",
686 "cnr_id": "comfy-core",
687 "ver": "0.3.59"
688 },
689 "widgets_values": [
690 "none"
691 ]
692 },
693 {
694 "id": 10,
695 "type": "LoadImage",
696 "pos": [
697 -2150,
698 380
699 ],
700 "size": [
701 340,
702 440
703 ],
704 "flags": [],
705 "order": 4,
706 "mode": 0,
707 "inputs": [],
708 "outputs": [
709 {
710 "name": "IMAGE",
711 "type": "IMAGE",
712 "slot_index": 0,
713 "links": [
714 344,
715 483,
716 531,
717 703
718 ]
719 },
720 {
721 "name": "MASK",
722 "type": "MASK",
723 "slot_index": 1,
724 "links": null
725 }
726 ],
727 "properties": {
728 "Node name for S&R": "LoadImage",
729 "cnr_id": "comfy-core",
730 "ver": "0.3.59"
731 },
732 "widgets_values": [
733 "video_wan2_2_14B_animate_reference_image.png",
734 "image"
735 ]
736 },
737 {
738 "id": 126,
739 "type": "MarkdownNote",
740 "pos": [
741 -2150,
742 2110
743 ],
744 "size": [
745 760,
746 240
747 ],
748 "flags": [],
749 "order": 5,
750 "mode": 0,
751 "inputs": [],
752 "outputs": [],
753 "title": "Note: About Points Editor",
754 "properties": [],
755 "widgets_values": [
756 "## How to load image \n\nYou can right-click on the canvas, then choose Load Image. Or you can run the workflow once, and it will automatically get the first frame of the input video.\n\n## Add new green points\n\nGreen points are used to mark the area that you want to detect.\nPress the Shift key, then use the left click to add new green points.\n\n## Add new red points\n\nRed points are used to mark the area you want to exclude.\nPress the Shift key, then use the right click to add new red points.\n\n## Clear all points\n\nClick the **New canvas** to clear all points"
757 ],
758 "color": "#222",
759 "bgcolor": "#000"
760 },
761 {
762 "id": 107,
763 "type": "Sam2Segmentation",
764 "pos": [
765 -1310,
766 1330
767 ],
768 "size": [
769 320,
770 190
771 ],
772 "flags": [],
773 "order": 32,
774 "mode": 0,
775 "inputs": [
776 {
777 "name": "sam2_model",
778 "type": "SAM2MODEL",
779 "link": 235
780 },
781 {
782 "name": "image",
783 "type": "IMAGE",
784 "link": 457
785 },
786 {
787 "name": "coordinates_positive",
788 "type": "STRING",
789 "link": 438,
790 "shape": 7
791 },
792 {
793 "name": "coordinates_negative",
794 "type": "STRING",
795 "link": null,
796 "shape": 7
797 },
798 {
799 "name": "bboxes",
800 "type": "BBOX",
801 "link": null,
802 "shape": 7
803 },
804 {
805 "name": "mask",
806 "type": "MASK",
807 "link": null,
808 "shape": 7
809 }
810 ],
811 "outputs": [
812 {
813 "name": "mask",
814 "type": "MASK",
815 "links": [
816 661
817 ]
818 }
819 ],
820 "properties": {
821 "Node name for S&R": "Sam2Segmentation",
822 "cnr_id": "ComfyUI-segment-anything-2",
823 "ver": "c59676b008a76237002926f684d0ca3a9b29ac54"
824 },
825 "widgets_values": [
826 true,
827 false
828 ]
829 },
830 {
831 "id": 274,
832 "type": "GrowMask",
833 "pos": [
834 -1280,
835 1610
836 ],
837 "size": [
838 270,
839 82
840 ],
841 "flags": {
842 "collapsed": false
843 },
844 "order": 29,
845 "mode": 0,
846 "inputs": [
847 {
848 "name": "mask",
849 "type": "MASK",
850 "link": 661
851 }
852 ],
853 "outputs": [
854 {
855 "name": "MASK",
856 "type": "MASK",
857 "links": [
858 660
859 ]
860 }
861 ],
862 "properties": {
863 "Node name for S&R": "GrowMask",
864 "cnr_id": "comfy-core",
865 "ver": "0.3.59"
866 },
867 "widgets_values": [
868 10,
869 true
870 ]
871 },
872 {
873 "id": 275,
874 "type": "DrawMaskOnImage",
875 "pos": [
876 -1280,
877 1920
878 ],
879 "size": [
880 270,
881 78
882 ],
883 "flags": [],
884 "order": 35,
885 "mode": 0,
886 "inputs": [
887 {
888 "name": "image",
889 "type": "IMAGE",
890 "link": 662
891 },
892 {
893 "name": "mask",
894 "type": "MASK",
895 "link": 659
896 }
897 ],
898 "outputs": [
899 {
900 "name": "images",
901 "type": "IMAGE",
902 "links": [
903 675,
904 676,
905 677,
906 706
907 ]
908 }
909 ],
910 "properties": {
911 "Node name for S&R": "DrawMaskOnImage",
912 "cnr_id": "comfyui-kjnodes",
913 "ver": "623b5913dc7f240fd8b26422e99f8849a21c5473"
914 },
915 "widgets_values": [
916 "0, 0, 0"
917 ]
918 },
919 {
920 "id": 276,
921 "type": "BlockifyMask",
922 "pos": [
923 -1280,
924 1750
925 ],
926 "size": [
927 270,
928 60
929 ],
930 "flags": [],
931 "order": 34,
932 "mode": 0,
933 "inputs": [
934 {
935 "name": "masks",
936 "type": "MASK",
937 "link": 660
938 }
939 ],
940 "outputs": [
941 {
942 "name": "mask",
943 "type": "MASK",
944 "links": [
945 659,
946 691,
947 692,
948 693,
949 707
950 ]
951 }
952 ],
953 "properties": {
954 "Node name for S&R": "BlockifyMask",
955 "cnr_id": "comfyui-kjnodes",
956 "ver": "00da1910634fbf314d407608efb281ae6f7f1ba2"
957 },
958 "widgets_values": [
959 32
960 ]
961 },
962 {
963 "id": 278,
964 "type": "063b0ee8-c72b-442b-8029-dd3d5f4b6650",
965 "pos": [
966 610,
967 -190
968 ],
969 "size": [
970 410,
971 446
972 ],
973 "flags": [],
974 "order": 37,
975 "mode": 4,
976 "inputs": [
977 {
978 "name": "model",
979 "type": "MODEL",
980 "link": 696
981 },
982 {
983 "name": "vae",
984 "type": "VAE",
985 "link": 697
986 },
987 {
988 "name": "audio",
989 "type": "AUDIO",
990 "link": 698
991 },
992 {
993 "label": "last_batch_images",
994 "name": "image1",
995 "type": "IMAGE",
996 "link": 710
997 },
998 {
999 "name": "positive",
1000 "type": "CONDITIONING",
1001 "link": 700
1002 },
1003 {
1004 "name": "negative",
1005 "type": "CONDITIONING",
1006 "link": 701
1007 },
1008 {
1009 "name": "clip_vision_output",
1010 "type": "CLIP_VISION_OUTPUT",
1011 "link": 702
1012 },
1013 {
1014 "name": "reference_image",
1015 "type": "IMAGE",
1016 "link": 703
1017 },
1018 {
1019 "name": "face_video",
1020 "type": "IMAGE",
1021 "link": 704
1022 },
1023 {
1024 "name": "pose_video",
1025 "type": "IMAGE",
1026 "link": 705
1027 },
1028 {
1029 "name": "background_video",
1030 "type": "IMAGE",
1031 "link": 706
1032 },
1033 {
1034 "name": "character_mask",
1035 "type": "MASK",
1036 "link": 707
1037 },
1038 {
1039 "name": "width",
1040 "type": "INT",
1041 "widget": {
1042 "name": "width"
1043 },
1044 "link": 708
1045 },
1046 {
1047 "name": "video_frame_offset",
1048 "type": "INT",
1049 "widget": {
1050 "name": "video_frame_offset"
1051 },
1052 "link": 711
1053 }
1054 ],
1055 "outputs": [
1056 {
1057 "label": "batch image output",
1058 "name": "IMAGE",
1059 "type": "IMAGE",
1060 "links": []
1061 },
1062 {
1063 "name": "video_frame_offset",
1064 "type": "INT",
1065 "links": []
1066 },
1067 {
1068 "name": "VIDEO",
1069 "type": "VIDEO",
1070 "links": [
1071 695
1072 ]
1073 }
1074 ],
1075 "properties": {
1076 "proxyWidgets": [
1077 [
1078 "-1",
1079 "width"
1080 ],
1081 [
1082 "-1",
1083 "video_frame_offset"
1084 ],
1085 [
1086 "-1",
1087 "seed"
1088 ],
1089 [
1090 "-1",
1091 "steps"
1092 ],
1093 [
1094 "-1",
1095 "cfg"
1096 ],
1097 [
1098 "-1",
1099 "sampler_name"
1100 ],
1101 [
1102 "-1",
1103 "scheduler"
1104 ],
1105 [
1106 "-1",
1107 "fps"
1108 ]
1109 ],
1110 "cnr_id": "comfy-core",
1111 "ver": "0.3.60"
1112 },
1113 "widgets_values": []
1114 },
1115 {
1116 "id": 242,
1117 "type": "975ed319-ca2b-461e-b42a-8e2704ba902f",
1118 "pos": [
1119 130,
1120 -180
1121 ],
1122 "size": [
1123 410,
1124 446
1125 ],
1126 "flags": [],
1127 "order": 36,
1128 "mode": 0,
1129 "inputs": [
1130 {
1131 "name": "model",
1132 "type": "MODEL",
1133 "link": 524
1134 },
1135 {
1136 "name": "vae",
1137 "type": "VAE",
1138 "link": 525
1139 },
1140 {
1141 "name": "audio",
1142 "type": "AUDIO",
1143 "link": 526
1144 },
1145 {
1146 "label": "last_batch_images",
1147 "name": "image1",
1148 "type": "IMAGE",
1149 "link": 527
1150 },
1151 {
1152 "name": "positive",
1153 "type": "CONDITIONING",
1154 "link": 528
1155 },
1156 {
1157 "name": "negative",
1158 "type": "CONDITIONING",
1159 "link": 529
1160 },
1161 {
1162 "name": "clip_vision_output",
1163 "type": "CLIP_VISION_OUTPUT",
1164 "link": 530
1165 },
1166 {
1167 "name": "reference_image",
1168 "type": "IMAGE",
1169 "link": 531
1170 },
1171 {
1172 "name": "face_video",
1173 "type": "IMAGE",
1174 "link": 532
1175 },
1176 {
1177 "name": "pose_video",
1178 "type": "IMAGE",
1179 "link": 533
1180 },
1181 {
1182 "name": "background_video",
1183 "type": "IMAGE",
1184 "link": 677
1185 },
1186 {
1187 "name": "character_mask",
1188 "type": "MASK",
1189 "link": 693
1190 },
1191 {
1192 "name": "width",
1193 "type": "INT",
1194 "widget": {
1195 "name": "width"
1196 },
1197 "link": 536
1198 },
1199 {
1200 "name": "video_frame_offset",
1201 "type": "INT",
1202 "widget": {
1203 "name": "video_frame_offset"
1204 },
1205 "link": 537
1206 }
1207 ],
1208 "outputs": [
1209 {
1210 "label": "batch_images",
1211 "name": "IMAGE",
1212 "type": "IMAGE",
1213 "links": [
1214 710
1215 ]
1216 },
1217 {
1218 "name": "video_frame_offset",
1219 "type": "INT",
1220 "links": [
1221 711
1222 ]
1223 },
1224 {
1225 "name": "VIDEO",
1226 "type": "VIDEO",
1227 "links": [
1228 540
1229 ]
1230 }
1231 ],
1232 "properties": {
1233 "proxyWidgets": [
1234 [
1235 "-1",
1236 "width"
1237 ],
1238 [
1239 "-1",
1240 "video_frame_offset"
1241 ],
1242 [
1243 "-1",
1244 "seed"
1245 ],
1246 [
1247 "-1",
1248 "steps"
1249 ],
1250 [
1251 "-1",
1252 "cfg"
1253 ],
1254 [
1255 "-1",
1256 "sampler_name"
1257 ],
1258 [
1259 "-1",
1260 "scheduler"
1261 ],
1262 [
1263 "-1",
1264 "fps"
1265 ]
1266 ],
1267 "cnr_id": "comfy-core",
1268 "ver": "0.3.60"
1269 },
1270 "widgets_values": []
1271 },
1272 {
1273 "id": 277,
1274 "type": "SaveVideo",
1275 "pos": [
1276 610,
1277 320
1278 ],
1279 "size": [
1280 420,
1281 558
1282 ],
1283 "flags": [],
1284 "order": 39,
1285 "mode": 4,
1286 "inputs": [
1287 {
1288 "name": "video",
1289 "type": "VIDEO",
1290 "link": 695
1291 }
1292 ],
1293 "outputs": [],
1294 "properties": {
1295 "Node name for S&R": "SaveVideo",
1296 "cnr_id": "comfy-core",
1297 "ver": "0.3.60"
1298 },
1299 "widgets_values": [
1300 "video/ComfyUI",
1301 "auto",
1302 "auto"
1303 ]
1304 },
1305 {
1306 "id": 238,
1307 "type": "MarkdownNote",
1308 "pos": [
1309 110,
1310 1110
1311 ],
1312 "size": [
1313 420,
1314 120
1315 ],
1316 "flags": [],
1317 "order": 6,
1318 "mode": 0,
1319 "inputs": [],
1320 "outputs": [],
1321 "title": "Note: Extend video length",
1322 "properties": [],
1323 "widgets_values": [
1324 "Copy this group then link the \"Batch images\" and the \"video_frame_offset\" to the next extend subgraph"
1325 ],
1326 "color": "#222",
1327 "bgcolor": "#000"
1328 },
1329 {
1330 "id": 243,
1331 "type": "SaveVideo",
1332 "pos": [
1333 140,
1334 330
1335 ],
1336 "size": [
1337 420,
1338 558
1339 ],
1340 "flags": [],
1341 "order": 38,
1342 "mode": 0,
1343 "inputs": [
1344 {
1345 "name": "video",
1346 "type": "VIDEO",
1347 "link": 540
1348 }
1349 ],
1350 "outputs": [],
1351 "properties": {
1352 "Node name for S&R": "SaveVideo",
1353 "cnr_id": "comfy-core",
1354 "ver": "0.3.60"
1355 },
1356 "widgets_values": [
1357 "video/ComfyUI",
1358 "auto",
1359 "auto"
1360 ]
1361 },
1362 {
1363 "id": 232,
1364 "type": "90db3fa1-b7fd-4c97-90a4-3e9533589dce",
1365 "pos": [
1366 -420,
1367 -180
1368 ],
1369 "size": [
1370 450,
1371 430
1372 ],
1373 "flags": [],
1374 "order": 34,
1375 "mode": 0,
1376 "inputs": [
1377 {
1378 "name": "model",
1379 "type": "MODEL",
1380 "link": 477
1381 },
1382 {
1383 "name": "audio",
1384 "type": "AUDIO",
1385 "link": 478
1386 },
1387 {
1388 "name": "vae",
1389 "type": "VAE",
1390 "link": 479
1391 },
1392 {
1393 "name": "positive",
1394 "type": "CONDITIONING",
1395 "link": 480
1396 },
1397 {
1398 "name": "negative",
1399 "type": "CONDITIONING",
1400 "link": 481
1401 },
1402 {
1403 "name": "clip_vision_output",
1404 "type": "CLIP_VISION_OUTPUT",
1405 "link": 482
1406 },
1407 {
1408 "name": "reference_image",
1409 "type": "IMAGE",
1410 "link": 483
1411 },
1412 {
1413 "name": "face_video",
1414 "type": "IMAGE",
1415 "link": 484
1416 },
1417 {
1418 "name": "pose_video",
1419 "type": "IMAGE",
1420 "link": 485
1421 },
1422 {
1423 "name": "background_video",
1424 "type": "IMAGE",
1425 "link": 676
1426 },
1427 {
1428 "name": "character_mask",
1429 "type": "MASK",
1430 "link": 692
1431 },
1432 {
1433 "name": "width",
1434 "type": "INT",
1435 "widget": {
1436 "name": "width"
1437 },
1438 "link": 488
1439 },
1440 {
1441 "name": "height",
1442 "type": "INT",
1443 "widget": {
1444 "name": "height"
1445 },
1446 "link": 489
1447 }
1448 ],
1449 "outputs": [
1450 {
1451 "name": "VIDEO",
1452 "type": "VIDEO",
1453 "links": [
1454 490
1455 ]
1456 },
1457 {
1458 "name": "IMAGE",
1459 "type": "IMAGE",
1460 "links": [
1461 527
1462 ]
1463 },
1464 {
1465 "name": "video_frame_offset",
1466 "type": "INT",
1467 "links": [
1468 537
1469 ]
1470 }
1471 ],
1472 "properties": {
1473 "proxyWidgets": [
1474 [
1475 "-1",
1476 "width"
1477 ],
1478 [
1479 "-1",
1480 "height"
1481 ],
1482 [
1483 "-1",
1484 "fps"
1485 ],
1486 [
1487 "-1",
1488 "seed"
1489 ],
1490 [
1491 "-1",
1492 "steps"
1493 ],
1494 [
1495 "-1",
1496 "cfg"
1497 ],
1498 [
1499 "-1",
1500 "sampler_name"
1501 ],
1502 [
1503 "-1",
1504 "scheduler"
1505 ]
1506 ],
1507 "cnr_id": "comfy-core",
1508 "ver": "0.3.60"
1509 },
1510 "widgets_values": []
1511 },
1512 {
1513 "id": 19,
1514 "type": "SaveVideo",
1515 "pos": [
1516 -410,
1517 330
1518 ],
1519 "size": [
1520 460,
1521 558
1522 ],
1523 "flags": [],
1524 "order": 35,
1525 "mode": 0,
1526 "inputs": [
1527 {
1528 "name": "video",
1529 "type": "VIDEO",
1530 "link": 490
1531 }
1532 ],
1533 "outputs": [],
1534 "properties": {
1535 "Node name for S&R": "SaveVideo",
1536 "cnr_id": "comfy-core",
1537 "ver": "0.3.59"
1538 },
1539 "widgets_values": [
1540 "video/ComfyUI",
1541 "auto",
1542 "auto"
1543 ]
1544 },
1545 {
1546 "id": 99,
1547 "type": "LoraLoaderModelOnly",
1548 "pos": [
1549 -1800,
1550 -50
1551 ],
1552 "size": [
1553 306.36004638671875,
1554 82
1555 ],
1556 "flags": [],
1557 "order": 23,
1558 "mode": 0,
1559 "inputs": [
1560 {
1561 "name": "model",
1562 "type": "MODEL",
1563 "link": 226
1564 }
1565 ],
1566 "outputs": [
1567 {
1568 "name": "MODEL",
1569 "type": "MODEL",
1570 "links": [
1571 227
1572 ]
1573 }
1574 ],
1575 "properties": {
1576 "Node name for S&R": "LoraLoaderModelOnly",
1577 "cnr_id": "comfy-core",
1578 "ver": "0.3.59",
1579 "models": [
1580 {
1581 "name": "WanAnimate_relight_lora_fp16.safetensors",
1582 "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/LoRAs/Wan22_relight/WanAnimate_relight_lora_fp16.safetensors",
1583 "directory": "loras"
1584 }
1585 ]
1586 },
1587 "widgets_values": [
1588 "WanAnimate_relight_lora_fp16.safetensors",
1589 1
1590 ]
1591 },
1592 {
1593 "id": 226,
1594 "type": "MarkdownNote",
1595 "pos": [
1596 -2830,
1597 -380
1598 ],
1599 "size": [
1600 590,
1601 160
1602 ],
1603 "flags": [],
1604 "order": 7,
1605 "mode": 0,
1606 "inputs": [],
1607 "outputs": [],
1608 "title": "Note: Make sure these custom nodes are installed.",
1609 "properties": [],
1610 "widgets_values": [
1611 "In this template, we have used three custom nodes. For users who don't know how to install a custom node, please refer to [How to install custom node](https://docs.comfy.org/installation/install_custom_node).\n\n## Custom nodes\n\n- [comfyui_controlnet_aux](https://github.com/Fannovel16/comfyui_controlnet_aux)\n- [ComfyUI-KJNodes](https://github.com/kijai/ComfyUI-KJNodes/)\n- [ComfyUI-segment-anything-2](https://github.com/kijai/ComfyUI-segment-anything-2)\n"
1612 ],
1613 "color": "#222",
1614 "bgcolor": "#000"
1615 },
1616 {
1617 "id": 44,
1618 "type": "MarkdownNote",
1619 "pos": [
1620 -2830,
1621 -170
1622 ],
1623 "size": [
1624 590,
1625 590
1626 ],
1627 "flags": [],
1628 "order": 8,
1629 "mode": 0,
1630 "inputs": [],
1631 "outputs": [],
1632 "title": "Note: Model links",
1633 "properties": [],
1634 "widgets_values": [
1635 "[Tutorial](https://docs.comfy.org/tutorials/video/wan/wan2-2-animate\n) \n\n## Model links\n\n- [Hugging Face:Comfy-Org/Wan_2.2_ComfyUI_Repackaged](https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged)\n- [Hugging Face:Comfy-Org/Wan_2.1_ComfyUI_repackaged](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged)\n\n**ModelScope mirrors** (alternative repo location)\n\n- [ModelScope:Comfy-Org/Wan_2.2_ComfyUI_Repackaged](https://modelscope.cn/models/Comfy-Org/Wan_2.2_ComfyUI_Repackaged)\n- [ModelScope:Comfy-Org/Wan_2.1_ComfyUI_repackaged](https://modelscope.cn/models/Comfy-Org/Wan_2.1_ComfyUI_repackaged)\n\n**diffusion_models** \n- [Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors](https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/resolve/main/Wan22Animate/Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors) (17.14 GB)\n- [wan2.2_animate_14B_bf16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_animate_14B_bf16.safetensors) (32.18 GB)\n\n**loras**\n- [lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors) (703.8 MB)\n- [WanAnimate_relight_lora_fp16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/LoRAs/Wan22_relight/WanAnimate_relight_lora_fp16.safetensors) (1.34 GB)\n\n**clip_visions**\n- [clip_vision_h.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors) (1.18 GB)\n\n**vae**\n- [wan_2.1_vae.safetensors](https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors) (242.1 MB)\n\n**text_encoders** \n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors) (6.27 GB)\n\n```\nComfyUI/\n├───📂 models/\n│ ├───📂 diffusion_models/\n│ │ ├─── Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors\n│ │ └─── wan2.2_animate_14B_bf16.safetensors\n│ ├───📂 loras/\n│ │ ├─── lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors\n│ │ └─── WanAnimate_relight_lora_fp16.safetensors\n│ ├───📂 text_encoders/\n│ │ └─── umt5_xxl_fp8_e4m3fn_scaled.safetensors \n│ ├───📂 clip_visions/ \n│ │ └─── clip_vision_h.safetensors\n│ └───📂 vae/\n│ └── wan_2.1_vae.safetensors\n```\n# Report issue\n\nIf you have any problems while using this workflow, please report template-related issues via this link: [report the template issue here](https://github.com/Comfy-Org/workflow_templates/issues)."
1636 ],
1637 "color": "#222",
1638 "bgcolor": "#000"
1639 },
1640 {
1641 "id": 2,
1642 "type": "CLIPLoader",
1643 "pos": [
1644 -1400,
1645 -260
1646 ],
1647 "size": [
1648 306.36004638671875,
1649 106
1650 ],
1651 "flags": [],
1652 "order": 9,
1653 "mode": 0,
1654 "inputs": [],
1655 "outputs": [
1656 {
1657 "name": "CLIP",
1658 "type": "CLIP",
1659 "slot_index": 0,
1660 "links": [
1661 1,
1662 18
1663 ]
1664 }
1665 ],
1666 "properties": {
1667 "Node name for S&R": "CLIPLoader",
1668 "cnr_id": "comfy-core",
1669 "ver": "0.3.59",
1670 "models": [
1671 {
1672 "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
1673 "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
1674 "directory": "text_encoders"
1675 }
1676 ]
1677 },
1678 "widgets_values": [
1679 "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
1680 "wan",
1681 "default"
1682 ]
1683 },
1684 {
1685 "id": 3,
1686 "type": "VAELoader",
1687 "pos": [
1688 -1400,
1689 180
1690 ],
1691 "size": [
1692 310,
1693 60
1694 ],
1695 "flags": [],
1696 "order": 10,
1697 "mode": 0,
1698 "inputs": [],
1699 "outputs": [
1700 {
1701 "name": "VAE",
1702 "type": "VAE",
1703 "slot_index": 0,
1704 "links": [
1705 479,
1706 525,
1707 697
1708 ]
1709 }
1710 ],
1711 "properties": {
1712 "Node name for S&R": "VAELoader",
1713 "cnr_id": "comfy-core",
1714 "ver": "0.3.59",
1715 "models": [
1716 {
1717 "name": "wan_2.1_vae.safetensors",
1718 "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
1719 "directory": "vae"
1720 }
1721 ]
1722 },
1723 "widgets_values": [
1724 "wan_2.1_vae.safetensors"
1725 ]
1726 },
1727 {
1728 "id": 60,
1729 "type": "ModelSamplingSD3",
1730 "pos": [
1731 -1380,
1732 -30
1733 ],
1734 "size": [
1735 315,
1736 58
1737 ],
1738 "flags": [],
1739 "order": 27,
1740 "mode": 0,
1741 "inputs": [
1742 {
1743 "name": "model",
1744 "type": "MODEL",
1745 "link": 227
1746 }
1747 ],
1748 "outputs": [
1749 {
1750 "name": "MODEL",
1751 "type": "MODEL",
1752 "slot_index": 0,
1753 "links": [
1754 477,
1755 524,
1756 696
1757 ]
1758 }
1759 ],
1760 "properties": {
1761 "Node name for S&R": "ModelSamplingSD3",
1762 "cnr_id": "comfy-core",
1763 "ver": "0.3.59"
1764 },
1765 "widgets_values": [
1766 8
1767 ]
1768 },
1769 {
1770 "id": 4,
1771 "type": "CLIPVisionLoader",
1772 "pos": [
1773 -2160,
1774 160
1775 ],
1776 "size": [
1777 306.36004638671875,
1778 58
1779 ],
1780 "flags": [],
1781 "order": 11,
1782 "mode": 0,
1783 "inputs": [],
1784 "outputs": [
1785 {
1786 "name": "CLIP_VISION",
1787 "type": "CLIP_VISION",
1788 "slot_index": 0,
1789 "links": [
1790 4
1791 ]
1792 }
1793 ],
1794 "properties": {
1795 "Node name for S&R": "CLIPVisionLoader",
1796 "cnr_id": "comfy-core",
1797 "ver": "0.3.59",
1798 "models": [
1799 {
1800 "name": "clip_vision_h.safetensors",
1801 "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors",
1802 "directory": "clip_vision"
1803 }
1804 ]
1805 },
1806 "widgets_values": [
1807 "clip_vision_h.safetensors"
1808 ]
1809 },
1810 {
1811 "id": 18,
1812 "type": "LoraLoaderModelOnly",
1813 "pos": [
1814 -1800,
1815 -190
1816 ],
1817 "size": [
1818 310,
1819 82
1820 ],
1821 "flags": [],
1822 "order": 20,
1823 "mode": 0,
1824 "inputs": [
1825 {
1826 "name": "model",
1827 "type": "MODEL",
1828 "link": 16
1829 }
1830 ],
1831 "outputs": [
1832 {
1833 "name": "MODEL",
1834 "type": "MODEL",
1835 "links": [
1836 226
1837 ]
1838 }
1839 ],
1840 "properties": {
1841 "Node name for S&R": "LoraLoaderModelOnly",
1842 "cnr_id": "comfy-core",
1843 "ver": "0.3.59",
1844 "models": [
1845 {
1846 "name": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
1847 "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
1848 "directory": "loras"
1849 }
1850 ]
1851 },
1852 "widgets_values": [
1853 "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
1854 1
1855 ]
1856 },
1857 {
1858 "id": 20,
1859 "type": "UNETLoader",
1860 "pos": [
1861 -2160,
1862 -90
1863 ],
1864 "size": [
1865 306.36004638671875,
1866 82
1867 ],
1868 "flags": [],
1869 "order": 12,
1870 "mode": 0,
1871 "inputs": [],
1872 "outputs": [
1873 {
1874 "name": "MODEL",
1875 "type": "MODEL",
1876 "slot_index": 0,
1877 "links": [
1878 16
1879 ]
1880 }
1881 ],
1882 "properties": {
1883 "Node name for S&R": "UNETLoader",
1884 "cnr_id": "comfy-core",
1885 "ver": "0.3.59",
1886 "models": [
1887 {
1888 "name": "Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors",
1889 "url": "https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/resolve/main/Wan22Animate/Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors",
1890 "directory": "diffusion_models"
1891 }
1892 ]
1893 },
1894 "widgets_values": [
1895 "Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors",
1896 "default"
1897 ]
1898 },
1899 {
1900 "id": 160,
1901 "type": "PrimitiveInt",
1902 "pos": [
1903 -1020,
1904 -500
1905 ],
1906 "size": [
1907 240,
1908 82
1909 ],
1910 "flags": [],
1911 "order": 13,
1912 "mode": 0,
1913 "inputs": [],
1914 "outputs": [
1915 {
1916 "name": "INT",
1917 "type": "INT",
1918 "links": [
1919 447,
1920 449,
1921 489
1922 ]
1923 }
1924 ],
1925 "title": "Height",
1926 "properties": {
1927 "Node name for S&R": "PrimitiveInt",
1928 "cnr_id": "comfy-core",
1929 "ver": "0.3.59"
1930 },
1931 "widgets_values": [
1932 640,
1933 "fixed"
1934 ]
1935 },
1936 {
1937 "id": 159,
1938 "type": "PrimitiveInt",
1939 "pos": [
1940 -750,
1941 -500
1942 ],
1943 "size": [
1944 240,
1945 82
1946 ],
1947 "flags": [],
1948 "order": 14,
1949 "mode": 0,
1950 "inputs": [],
1951 "outputs": [
1952 {
1953 "name": "INT",
1954 "type": "INT",
1955 "links": [
1956 446,
1957 448,
1958 488,
1959 536,
1960 708
1961 ]
1962 }
1963 ],
1964 "title": "Width",
1965 "properties": {
1966 "Node name for S&R": "PrimitiveInt",
1967 "cnr_id": "comfy-core",
1968 "ver": "0.3.59"
1969 },
1970 "widgets_values": [
1971 640,
1972 "fixed"
1973 ]
1974 },
1975 {
1976 "id": 161,
1977 "type": "MarkdownNote",
1978 "pos": [
1979 -460,
1980 -570
1981 ],
1982 "size": [
1983 370,
1984 88
1985 ],
1986 "flags": [],
1987 "order": 15,
1988 "mode": 0,
1989 "inputs": [],
1990 "outputs": [],
1991 "title": "Note: about size",
1992 "properties": [],
1993 "widgets_values": [
1994 "Due to the **WanAnimateToVideo** node input limit. The width and height must be multiples of 16.\n\nBy default, we set it to a smaller size. This is in case you don't have enough VRAM and input a large size, which may cause an out-of-memory issue."
1995 ],
1996 "color": "#222",
1997 "bgcolor": "#000"
1998 }
1999 ],
2000 "links": [
2001 [
2002 1,
2003 2,
2004 0,
2005 1,
2006 0,
2007 "CLIP"
2008 ],
2009 [
2010 4,
2011 4,
2012 0,
2013 9,
2014 0,
2015 "CLIP_VISION"
2016 ],
2017 [
2018 16,
2019 20,
2020 0,
2021 18,
2022 0,
2023 "MODEL"
2024 ],
2025 [
2026 18,
2027 2,
2028 0,
2029 21,
2030 0,
2031 "CLIP"
2032 ],
2033 [
2034 226,
2035 18,
2036 0,
2037 99,
2038 0,
2039 "MODEL"
2040 ],
2041 [
2042 227,
2043 99,
2044 0,
2045 60,
2046 0,
2047 "MODEL"
2048 ],
2049 [
2050 235,
2051 108,
2052 0,
2053 107,
2054 0,
2055 "SAM2MODEL"
2056 ],
2057 [
2058 297,
2059 145,
2060 0,
2061 23,
2062 0,
2063 "VIDEO"
2064 ],
2065 [
2066 344,
2067 10,
2068 0,
2069 9,
2070 1,
2071 "IMAGE"
2072 ],
2073 [
2074 347,
2075 23,
2076 0,
2077 158,
2078 0,
2079 "IMAGE"
2080 ],
2081 [
2082 360,
2083 158,
2084 0,
2085 100,
2086 1,
2087 "INT"
2088 ],
2089 [
2090 361,
2091 158,
2092 0,
2093 101,
2094 1,
2095 "INT"
2096 ],
2097 [
2098 422,
2099 212,
2100 0,
2101 100,
2102 0,
2103 "IMAGE"
2104 ],
2105 [
2106 423,
2107 212,
2108 0,
2109 101,
2110 0,
2111 "IMAGE"
2112 ],
2113 [
2114 425,
2115 23,
2116 0,
2117 212,
2118 0,
2119 "IMAGE"
2120 ],
2121 [
2122 438,
2123 229,
2124 0,
2125 107,
2126 2,
2127 "STRING"
2128 ],
2129 [
2130 446,
2131 159,
2132 0,
2133 212,
2134 1,
2135 "INT"
2136 ],
2137 [
2138 447,
2139 160,
2140 0,
2141 212,
2142 2,
2143 "INT"
2144 ],
2145 [
2146 448,
2147 159,
2148 0,
2149 158,
2150 1,
2151 "INT"
2152 ],
2153 [
2154 449,
2155 160,
2156 0,
2157 158,
2158 2,
2159 "INT"
2160 ],
2161 [
2162 456,
2163 212,
2164 0,
2165 229,
2166 0,
2167 "IMAGE"
2168 ],
2169 [
2170 457,
2171 212,
2172 0,
2173 107,
2174 1,
2175 "IMAGE"
2176 ],
2177 [
2178 477,
2179 60,
2180 0,
2181 232,
2182 0,
2183 "MODEL"
2184 ],
2185 [
2186 478,
2187 23,
2188 1,
2189 232,
2190 1,
2191 "AUDIO"
2192 ],
2193 [
2194 479,
2195 3,
2196 0,
2197 232,
2198 2,
2199 "VAE"
2200 ],
2201 [
2202 480,
2203 21,
2204 0,
2205 232,
2206 3,
2207 "CONDITIONING"
2208 ],
2209 [
2210 481,
2211 1,
2212 0,
2213 232,
2214 4,
2215 "CONDITIONING"
2216 ],
2217 [
2218 482,
2219 9,
2220 0,
2221 232,
2222 5,
2223 "CLIP_VISION_OUTPUT"
2224 ],
2225 [
2226 483,
2227 10,
2228 0,
2229 232,
2230 6,
2231 "IMAGE"
2232 ],
2233 [
2234 484,
2235 100,
2236 0,
2237 232,
2238 7,
2239 "IMAGE"
2240 ],
2241 [
2242 485,
2243 101,
2244 0,
2245 232,
2246 8,
2247 "IMAGE"
2248 ],
2249 [
2250 488,
2251 159,
2252 0,
2253 232,
2254 11,
2255 "INT"
2256 ],
2257 [
2258 489,
2259 160,
2260 0,
2261 232,
2262 12,
2263 "INT"
2264 ],
2265 [
2266 490,
2267 232,
2268 0,
2269 19,
2270 0,
2271 "VIDEO"
2272 ],
2273 [
2274 524,
2275 60,
2276 0,
2277 242,
2278 0,
2279 "MODEL"
2280 ],
2281 [
2282 525,
2283 3,
2284 0,
2285 242,
2286 1,
2287 "VAE"
2288 ],
2289 [
2290 526,
2291 23,
2292 1,
2293 242,
2294 2,
2295 "AUDIO"
2296 ],
2297 [
2298 527,
2299 232,
2300 1,
2301 242,
2302 3,
2303 "IMAGE"
2304 ],
2305 [
2306 528,
2307 21,
2308 0,
2309 242,
2310 4,
2311 "CONDITIONING"
2312 ],
2313 [
2314 529,
2315 1,
2316 0,
2317 242,
2318 5,
2319 "CONDITIONING"
2320 ],
2321 [
2322 530,
2323 9,
2324 0,
2325 242,
2326 6,
2327 "CLIP_VISION_OUTPUT"
2328 ],
2329 [
2330 531,
2331 10,
2332 0,
2333 242,
2334 7,
2335 "IMAGE"
2336 ],
2337 [
2338 532,
2339 100,
2340 0,
2341 242,
2342 8,
2343 "IMAGE"
2344 ],
2345 [
2346 533,
2347 101,
2348 0,
2349 242,
2350 9,
2351 "IMAGE"
2352 ],
2353 [
2354 536,
2355 159,
2356 0,
2357 242,
2358 12,
2359 "INT"
2360 ],
2361 [
2362 537,
2363 232,
2364 2,
2365 242,
2366 13,
2367 "INT"
2368 ],
2369 [
2370 540,
2371 242,
2372 2,
2373 243,
2374 0,
2375 "VIDEO"
2376 ],
2377 [
2378 659,
2379 276,
2380 0,
2381 275,
2382 1,
2383 "MASK"
2384 ],
2385 [
2386 660,
2387 274,
2388 0,
2389 276,
2390 0,
2391 "MASK"
2392 ],
2393 [
2394 661,
2395 107,
2396 0,
2397 274,
2398 0,
2399 "MASK"
2400 ],
2401 [
2402 662,
2403 212,
2404 0,
2405 275,
2406 0,
2407 "IMAGE"
2408 ],
2409 [
2410 675,
2411 275,
2412 0,
2413 124,
2414 0,
2415 "IMAGE"
2416 ],
2417 [
2418 676,
2419 275,
2420 0,
2421 232,
2422 9,
2423 "IMAGE"
2424 ],
2425 [
2426 677,
2427 275,
2428 0,
2429 242,
2430 10,
2431 "IMAGE"
2432 ],
2433 [
2434 691,
2435 276,
2436 0,
2437 127,
2438 0,
2439 "MASK"
2440 ],
2441 [
2442 692,
2443 276,
2444 0,
2445 232,
2446 10,
2447 "MASK"
2448 ],
2449 [
2450 693,
2451 276,
2452 0,
2453 242,
2454 11,
2455 "MASK"
2456 ],
2457 [
2458 695,
2459 278,
2460 2,
2461 277,
2462 0,
2463 "VIDEO"
2464 ],
2465 [
2466 696,
2467 60,
2468 0,
2469 278,
2470 0,
2471 "MODEL"
2472 ],
2473 [
2474 697,
2475 3,
2476 0,
2477 278,
2478 1,
2479 "VAE"
2480 ],
2481 [
2482 698,
2483 23,
2484 1,
2485 278,
2486 2,
2487 "AUDIO"
2488 ],
2489 [
2490 700,
2491 21,
2492 0,
2493 278,
2494 4,
2495 "CONDITIONING"
2496 ],
2497 [
2498 701,
2499 1,
2500 0,
2501 278,
2502 5,
2503 "CONDITIONING"
2504 ],
2505 [
2506 702,
2507 9,
2508 0,
2509 278,
2510 6,
2511 "CLIP_VISION_OUTPUT"
2512 ],
2513 [
2514 703,
2515 10,
2516 0,
2517 278,
2518 7,
2519 "IMAGE"
2520 ],
2521 [
2522 704,
2523 100,
2524 0,
2525 278,
2526 8,
2527 "IMAGE"
2528 ],
2529 [
2530 705,
2531 101,
2532 0,
2533 278,
2534 9,
2535 "IMAGE"
2536 ],
2537 [
2538 706,
2539 275,
2540 0,
2541 278,
2542 10,
2543 "IMAGE"
2544 ],
2545 [
2546 707,
2547 276,
2548 0,
2549 278,
2550 11,
2551 "MASK"
2552 ],
2553 [
2554 708,
2555 159,
2556 0,
2557 278,
2558 12,
2559 "INT"
2560 ],
2561 [
2562 710,
2563 242,
2564 0,
2565 278,
2566 3,
2567 "IMAGE"
2568 ],
2569 [
2570 711,
2571 242,
2572 1,
2573 278,
2574 13,
2575 "INT"
2576 ]
2577 ],
2578 "groups": [
2579 {
2580 "id": 1,
2581 "title": "Step 1 - Load models",
2582 "bounding": [
2583 -2190,
2584 -360,
2585 1130,
2586 640
2587 ],
2588 "color": "#3f789e",
2589 "font_size": 24,
2590 "flags": []
2591 },
2592 {
2593 "id": 2,
2594 "title": "Step 3 - Upload referece image",
2595 "bounding": [
2596 -2220,
2597 300,
2598 450,
2599 640
2600 ],
2601 "color": "#3f789e",
2602 "font_size": 24,
2603 "flags": []
2604 },
2605 {
2606 "id": 3,
2607 "title": "Step 2 - Prompt",
2608 "bounding": [
2609 -1050,
2610 -360,
2611 560,
2612 640
2613 ],
2614 "color": "#3f789e",
2615 "font_size": 24,
2616 "flags": []
2617 },
2618 {
2619 "id": 7,
2620 "title": "Step 4 - Load original video",
2621 "bounding": [
2622 -1750,
2623 300,
2624 1260,
2625 640
2626 ],
2627 "color": "#3f789e",
2628 "font_size": 24,
2629 "flags": []
2630 },
2631 {
2632 "id": 8,
2633 "title": "Sampling + video output",
2634 "bounding": [
2635 -470,
2636 -360,
2637 550,
2638 1400
2639 ],
2640 "color": "#3f789e",
2641 "font_size": 24,
2642 "flags": []
2643 },
2644 {
2645 "id": 13,
2646 "title": "Character Mask and Background Video Preprocessing",
2647 "bounding": [
2648 -2210,
2649 960,
2650 1720,
2651 1440
2652 ],
2653 "color": "#3f789e",
2654 "font_size": 24,
2655 "flags": []
2656 },
2657 {
2658 "id": 16,
2659 "title": "Video size",
2660 "bounding": [
2661 -1040,
2662 -600,
2663 550,
2664 220
2665 ],
2666 "color": "#3f789e",
2667 "font_size": 24,
2668 "flags": []
2669 },
2670 {
2671 "id": 14,
2672 "title": "Character mask",
2673 "bounding": [
2674 -1290,
2675 1540,
2676 290,
2677 283.6000061035156
2678 ],
2679 "color": "#3f789e",
2680 "font_size": 24,
2681 "flags": []
2682 },
2683 {
2684 "id": 15,
2685 "title": "Background_video",
2686 "bounding": [
2687 -1290,
2688 1840,
2689 290,
2690 170
2691 ],
2692 "color": "#3f789e",
2693 "font_size": 24,
2694 "flags": []
2695 },
2696 {
2697 "id": 17,
2698 "title": "Video extend",
2699 "bounding": [
2700 100,
2701 -360,
2702 480,
2703 1400
2704 ],
2705 "color": "#3f789e",
2706 "font_size": 24,
2707 "flags": []
2708 },
2709 {
2710 "id": 18,
2711 "title": "Video extend",
2712 "bounding": [
2713 600,
2714 -360,
2715 460,
2716 1400
2717 ],
2718 "color": "#3f789e",
2719 "font_size": 24,
2720 "flags": []
2721 }
2722 ],
2723 "definitions": {
2724 "subgraphs": [
2725 {
2726 "id": "90db3fa1-b7fd-4c97-90a4-3e9533589dce",
2727 "version": 1,
2728 "state": {
2729 "lastGroupId": 16,
2730 "lastNodeId": 231,
2731 "lastLinkId": 482,
2732 "lastRerouteId": 0
2733 },
2734 "revision": 0,
2735 "config": [],
2736 "name": "Video Sampling and output(Subgraph)",
2737 "inputNode": {
2738 "id": -10,
2739 "bounding": [
2740 -348.07421875,
2741 -104,
2742 138.07421875,
2743 420
2744 ]
2745 },
2746 "outputNode": {
2747 "id": -20,
2748 "bounding": [
2749 880,
2750 -4,
2751 141.841796875,
2752 100
2753 ]
2754 },
2755 "inputs": [
2756 {
2757 "id": "a65c1a6f-1c56-4db6-bc46-0d762e228140",
2758 "name": "model",
2759 "type": "MODEL",
2760 "linkIds": [
2761 454
2762 ],
2763 "localized_name": "model",
2764 "pos": [
2765 -230,
2766 -84
2767 ]
2768 },
2769 {
2770 "id": "f60a003a-5f70-4edb-87d2-49249b63ac60",
2771 "name": "audio",
2772 "type": "AUDIO",
2773 "linkIds": [
2774 463
2775 ],
2776 "localized_name": "audio",
2777 "shape": 7,
2778 "pos": [
2779 -230,
2780 -64
2781 ]
2782 },
2783 {
2784 "id": "3eba0674-9407-48ab-8416-23357fefa5e4",
2785 "name": "vae",
2786 "type": "VAE",
2787 "linkIds": [
2788 464,
2789 471
2790 ],
2791 "localized_name": "vae",
2792 "pos": [
2793 -230,
2794 -44
2795 ]
2796 },
2797 {
2798 "id": "8c5ba174-3dac-4830-989d-2ffd194a4638",
2799 "name": "positive",
2800 "type": "CONDITIONING",
2801 "linkIds": [
2802 467
2803 ],
2804 "localized_name": "positive",
2805 "pos": [
2806 -230,
2807 -24
2808 ]
2809 },
2810 {
2811 "id": "1047fa35-1365-4dfc-b7f1-a5869b601a89",
2812 "name": "negative",
2813 "type": "CONDITIONING",
2814 "linkIds": [
2815 470
2816 ],
2817 "localized_name": "negative",
2818 "pos": [
2819 -230,
2820 -4
2821 ]
2822 },
2823 {
2824 "id": "04a00ce5-40d1-46a0-9478-9aba0778b80b",
2825 "name": "clip_vision_output",
2826 "type": "CLIP_VISION_OUTPUT",
2827 "linkIds": [
2828 474
2829 ],
2830 "localized_name": "clip_vision_output",
2831 "shape": 7,
2832 "pos": [
2833 -230,
2834 16
2835 ]
2836 },
2837 {
2838 "id": "9ed8853f-bd73-4728-be35-ed4d4a177059",
2839 "name": "reference_image",
2840 "type": "IMAGE",
2841 "linkIds": [
2842 475
2843 ],
2844 "localized_name": "reference_image",
2845 "shape": 7,
2846 "pos": [
2847 -230,
2848 36
2849 ]
2850 },
2851 {
2852 "id": "2b62e853-eb8b-4d69-bf22-1f0822d3e56d",
2853 "name": "face_video",
2854 "type": "IMAGE",
2855 "linkIds": [
2856 459
2857 ],
2858 "localized_name": "face_video",
2859 "shape": 7,
2860 "pos": [
2861 -230,
2862 56
2863 ]
2864 },
2865 {
2866 "id": "3136835f-c045-4f05-a970-3adafd321465",
2867 "name": "pose_video",
2868 "type": "IMAGE",
2869 "linkIds": [
2870 461
2871 ],
2872 "localized_name": "pose_video",
2873 "shape": 7,
2874 "pos": [
2875 -230,
2876 76
2877 ]
2878 },
2879 {
2880 "id": "5ad7efd4-462f-41d0-8340-4afd50c5f348",
2881 "name": "background_video",
2882 "type": "IMAGE",
2883 "linkIds": [
2884 419
2885 ],
2886 "localized_name": "background_video",
2887 "shape": 7,
2888 "pos": [
2889 -230,
2890 96
2891 ]
2892 },
2893 {
2894 "id": "ca1d3a4d-4e24-4d7e-8f09-806712fd4bc9",
2895 "name": "character_mask",
2896 "type": "MASK",
2897 "linkIds": [
2898 418
2899 ],
2900 "localized_name": "character_mask",
2901 "shape": 7,
2902 "pos": [
2903 -230,
2904 116
2905 ]
2906 },
2907 {
2908 "id": "f39fd571-8756-4c88-bc40-9055450f6e00",
2909 "name": "width",
2910 "type": "INT",
2911 "linkIds": [
2912 450
2913 ],
2914 "localized_name": "width",
2915 "pos": [
2916 -230,
2917 136
2918 ]
2919 },
2920 {
2921 "id": "02628a20-dd6c-44e6-9012-b6d0bf61a93f",
2922 "name": "height",
2923 "type": "INT",
2924 "linkIds": [
2925 451
2926 ],
2927 "localized_name": "height",
2928 "pos": [
2929 -230,
2930 156
2931 ]
2932 },
2933 {
2934 "id": "066ae061-5d3e-473f-8a83-8517c605e63d",
2935 "name": "fps",
2936 "type": "FLOAT",
2937 "linkIds": [
2938 477
2939 ],
2940 "pos": [
2941 -230,
2942 176
2943 ]
2944 },
2945 {
2946 "id": "fbbe4cdd-2580-486a-8d7c-53f1dc0a4034",
2947 "name": "seed",
2948 "type": "INT",
2949 "linkIds": [
2950 478
2951 ],
2952 "pos": [
2953 -230,
2954 196
2955 ]
2956 },
2957 {
2958 "id": "4bf86876-244b-49d0-a6f5-f8b98de0ac50",
2959 "name": "steps",
2960 "type": "INT",
2961 "linkIds": [
2962 479
2963 ],
2964 "pos": [
2965 -230,
2966 216
2967 ]
2968 },
2969 {
2970 "id": "43112400-97ac-4ab9-8c6e-1bd62e32f8d4",
2971 "name": "cfg",
2972 "type": "FLOAT",
2973 "linkIds": [
2974 480
2975 ],
2976 "pos": [
2977 -230,
2978 236
2979 ]
2980 },
2981 {
2982 "id": "294b0d0a-7b7b-4953-8a86-37440b22099b",
2983 "name": "sampler_name",
2984 "type": "COMBO",
2985 "linkIds": [
2986 481
2987 ],
2988 "pos": [
2989 -230,
2990 256
2991 ]
2992 },
2993 {
2994 "id": "37d706a5-cf01-4275-917d-ffda1eb0af23",
2995 "name": "scheduler",
2996 "type": "COMBO",
2997 "linkIds": [
2998 482
2999 ],
3000 "pos": [
3001 -230,
3002 276
3003 ]
3004 }
3005 ],
3006 "outputs": [
3007 {
3008 "id": "321201d9-6a87-48bc-a8e3-2d13f32a546f",
3009 "name": "VIDEO",
3010 "type": "VIDEO",
3011 "linkIds": [
3012 17
3013 ],
3014 "localized_name": "VIDEO",
3015 "pos": [
3016 900,
3017 16
3018 ]
3019 },
3020 {
3021 "id": "bc8f831d-427d-4b69-9bfc-50760cbb1ee4",
3022 "name": "IMAGE",
3023 "type": "IMAGE",
3024 "linkIds": [
3025 187,
3026 208
3027 ],
3028 "localized_name": "IMAGE",
3029 "pos": [
3030 900,
3031 36
3032 ]
3033 },
3034 {
3035 "id": "2b09b619-743f-45f6-a120-44694d4018b6",
3036 "name": "video_frame_offset",
3037 "type": "INT",
3038 "linkIds": [
3039 439
3040 ],
3041 "localized_name": "video_frame_offset",
3042 "pos": [
3043 900,
3044 56
3045 ]
3046 }
3047 ],
3048 "widgets": [],
3049 "nodes": [
3050 {
3051 "id": 57,
3052 "type": "TrimVideoLatent",
3053 "pos": [
3054 240,
3055 110
3056 ],
3057 "size": [
3058 270,
3059 58
3060 ],
3061 "flags": [],
3062 "order": 1,
3063 "mode": 0,
3064 "inputs": [
3065 {
3066 "localized_name": "samples",
3067 "name": "samples",
3068 "type": "LATENT",
3069 "link": 157
3070 },
3071 {
3072 "localized_name": "trim_amount",
3073 "name": "trim_amount",
3074 "type": "INT",
3075 "widget": {
3076 "name": "trim_amount"
3077 },
3078 "link": 152
3079 }
3080 ],
3081 "outputs": [
3082 {
3083 "localized_name": "LATENT",
3084 "name": "LATENT",
3085 "type": "LATENT",
3086 "links": [
3087 127
3088 ]
3089 }
3090 ],
3091 "properties": {
3092 "Node name for S&R": "TrimVideoLatent",
3093 "cnr_id": "comfy-core",
3094 "ver": "0.3.59"
3095 },
3096 "widgets_values": [
3097 0
3098 ]
3099 },
3100 {
3101 "id": 58,
3102 "type": "VAEDecode",
3103 "pos": [
3104 290,
3105 230
3106 ],
3107 "size": [
3108 210,
3109 46
3110 ],
3111 "flags": [],
3112 "order": 2,
3113 "mode": 0,
3114 "inputs": [
3115 {
3116 "localized_name": "samples",
3117 "name": "samples",
3118 "type": "LATENT",
3119 "link": 127
3120 },
3121 {
3122 "localized_name": "vae",
3123 "name": "vae",
3124 "type": "VAE",
3125 "link": 464
3126 }
3127 ],
3128 "outputs": [
3129 {
3130 "localized_name": "IMAGE",
3131 "name": "IMAGE",
3132 "type": "IMAGE",
3133 "slot_index": 0,
3134 "links": [
3135 187,
3136 208,
3137 440
3138 ]
3139 }
3140 ],
3141 "properties": {
3142 "Node name for S&R": "VAEDecode",
3143 "cnr_id": "comfy-core",
3144 "ver": "0.3.59"
3145 },
3146 "widgets_values": []
3147 },
3148 {
3149 "id": 62,
3150 "type": "WanAnimateToVideo",
3151 "pos": [
3152 -150,
3153 -200
3154 ],
3155 "size": [
3156 324.751953125,
3157 358
3158 ],
3159 "flags": [],
3160 "order": 3,
3161 "mode": 0,
3162 "inputs": [
3163 {
3164 "localized_name": "positive",
3165 "name": "positive",
3166 "type": "CONDITIONING",
3167 "link": 467
3168 },
3169 {
3170 "localized_name": "negative",
3171 "name": "negative",
3172 "type": "CONDITIONING",
3173 "link": 470
3174 },
3175 {
3176 "localized_name": "vae",
3177 "name": "vae",
3178 "type": "VAE",
3179 "link": 471
3180 },
3181 {
3182 "localized_name": "clip_vision_output",
3183 "name": "clip_vision_output",
3184 "shape": 7,
3185 "type": "CLIP_VISION_OUTPUT",
3186 "link": 474
3187 },
3188 {
3189 "localized_name": "reference_image",
3190 "name": "reference_image",
3191 "shape": 7,
3192 "type": "IMAGE",
3193 "link": 475
3194 },
3195 {
3196 "localized_name": "face_video",
3197 "name": "face_video",
3198 "shape": 7,
3199 "type": "IMAGE",
3200 "link": 459
3201 },
3202 {
3203 "localized_name": "pose_video",
3204 "name": "pose_video",
3205 "shape": 7,
3206 "type": "IMAGE",
3207 "link": 461
3208 },
3209 {
3210 "localized_name": "background_video",
3211 "name": "background_video",
3212 "shape": 7,
3213 "type": "IMAGE",
3214 "link": 419
3215 },
3216 {
3217 "localized_name": "character_mask",
3218 "name": "character_mask",
3219 "shape": 7,
3220 "type": "MASK",
3221 "link": 418
3222 },
3223 {
3224 "localized_name": "continue_motion",
3225 "name": "continue_motion",
3226 "shape": 7,
3227 "type": "IMAGE",
3228 "link": null
3229 },
3230 {
3231 "localized_name": "width",
3232 "name": "width",
3233 "type": "INT",
3234 "widget": {
3235 "name": "width"
3236 },
3237 "link": 450
3238 },
3239 {
3240 "localized_name": "height",
3241 "name": "height",
3242 "type": "INT",
3243 "widget": {
3244 "name": "height"
3245 },
3246 "link": 451
3247 }
3248 ],
3249 "outputs": [
3250 {
3251 "localized_name": "positive",
3252 "name": "positive",
3253 "type": "CONDITIONING",
3254 "links": [
3255 154
3256 ]
3257 },
3258 {
3259 "localized_name": "negative",
3260 "name": "negative",
3261 "type": "CONDITIONING",
3262 "links": [
3263 155
3264 ]
3265 },
3266 {
3267 "localized_name": "latent",
3268 "name": "latent",
3269 "type": "LATENT",
3270 "links": [
3271 156
3272 ]
3273 },
3274 {
3275 "localized_name": "trim_latent",
3276 "name": "trim_latent",
3277 "type": "INT",
3278 "links": [
3279 152
3280 ]
3281 },
3282 {
3283 "localized_name": "trim_image",
3284 "name": "trim_image",
3285 "type": "INT",
3286 "links": [
3287 442
3288 ]
3289 },
3290 {
3291 "localized_name": "video_frame_offset",
3292 "name": "video_frame_offset",
3293 "type": "INT",
3294 "links": [
3295 439
3296 ]
3297 }
3298 ],
3299 "properties": {
3300 "Node name for S&R": "WanAnimateToVideo",
3301 "cnr_id": "comfy-core",
3302 "ver": "0.3.59"
3303 },
3304 "widgets_values": [
3305 640,
3306 640,
3307 77,
3308 1,
3309 5,
3310 0
3311 ]
3312 },
3313 {
3314 "id": 230,
3315 "type": "ImageFromBatch",
3316 "pos": [
3317 550,
3318 240
3319 ],
3320 "size": [
3321 270,
3322 82
3323 ],
3324 "flags": [],
3325 "order": 5,
3326 "mode": 0,
3327 "inputs": [
3328 {
3329 "localized_name": "image",
3330 "name": "image",
3331 "type": "IMAGE",
3332 "link": 440
3333 },
3334 {
3335 "localized_name": "batch_index",
3336 "name": "batch_index",
3337 "type": "INT",
3338 "widget": {
3339 "name": "batch_index"
3340 },
3341 "link": 442
3342 }
3343 ],
3344 "outputs": [
3345 {
3346 "localized_name": "IMAGE",
3347 "name": "IMAGE",
3348 "type": "IMAGE",
3349 "links": [
3350 441
3351 ]
3352 }
3353 ],
3354 "properties": {
3355 "Node name for S&R": "ImageFromBatch",
3356 "cnr_id": "comfy-core",
3357 "ver": "0.3.59"
3358 },
3359 "widgets_values": [
3360 0,
3361 4096
3362 ]
3363 },
3364 {
3365 "id": 15,
3366 "type": "CreateVideo",
3367 "pos": [
3368 550,
3369 100
3370 ],
3371 "size": [
3372 270,
3373 78
3374 ],
3375 "flags": [],
3376 "order": 0,
3377 "mode": 0,
3378 "inputs": [
3379 {
3380 "localized_name": "images",
3381 "name": "images",
3382 "type": "IMAGE",
3383 "link": 441
3384 },
3385 {
3386 "localized_name": "audio",
3387 "name": "audio",
3388 "shape": 7,
3389 "type": "AUDIO",
3390 "link": 463
3391 },
3392 {
3393 "localized_name": "fps",
3394 "name": "fps",
3395 "type": "FLOAT",
3396 "widget": {
3397 "name": "fps"
3398 },
3399 "link": 477
3400 }
3401 ],
3402 "outputs": [
3403 {
3404 "localized_name": "VIDEO",
3405 "name": "VIDEO",
3406 "type": "VIDEO",
3407 "links": [
3408 17
3409 ]
3410 }
3411 ],
3412 "properties": {
3413 "Node name for S&R": "CreateVideo",
3414 "cnr_id": "comfy-core",
3415 "ver": "0.3.59"
3416 },
3417 "widgets_values": [
3418 16
3419 ]
3420 },
3421 {
3422 "id": 63,
3423 "type": "KSampler",
3424 "pos": [
3425 240,
3426 -200
3427 ],
3428 "size": [
3429 270,
3430 262
3431 ],
3432 "flags": [],
3433 "order": 4,
3434 "mode": 0,
3435 "inputs": [
3436 {
3437 "localized_name": "model",
3438 "name": "model",
3439 "type": "MODEL",
3440 "link": 454
3441 },
3442 {
3443 "localized_name": "positive",
3444 "name": "positive",
3445 "type": "CONDITIONING",
3446 "link": 154
3447 },
3448 {
3449 "localized_name": "negative",
3450 "name": "negative",
3451 "type": "CONDITIONING",
3452 "link": 155
3453 },
3454 {
3455 "localized_name": "latent_image",
3456 "name": "latent_image",
3457 "type": "LATENT",
3458 "link": 156
3459 },
3460 {
3461 "localized_name": "seed",
3462 "name": "seed",
3463 "type": "INT",
3464 "widget": {
3465 "name": "seed"
3466 },
3467 "link": 478
3468 },
3469 {
3470 "localized_name": "steps",
3471 "name": "steps",
3472 "type": "INT",
3473 "widget": {
3474 "name": "steps"
3475 },
3476 "link": 479
3477 },
3478 {
3479 "localized_name": "cfg",
3480 "name": "cfg",
3481 "type": "FLOAT",
3482 "widget": {
3483 "name": "cfg"
3484 },
3485 "link": 480
3486 },
3487 {
3488 "localized_name": "sampler_name",
3489 "name": "sampler_name",
3490 "type": "COMBO",
3491 "widget": {
3492 "name": "sampler_name"
3493 },
3494 "link": 481
3495 },
3496 {
3497 "localized_name": "scheduler",
3498 "name": "scheduler",
3499 "type": "COMBO",
3500 "widget": {
3501 "name": "scheduler"
3502 },
3503 "link": 482
3504 }
3505 ],
3506 "outputs": [
3507 {
3508 "localized_name": "LATENT",
3509 "name": "LATENT",
3510 "type": "LATENT",
3511 "links": [
3512 157
3513 ]
3514 }
3515 ],
3516 "properties": {
3517 "Node name for S&R": "KSampler",
3518 "cnr_id": "comfy-core",
3519 "ver": "0.3.59"
3520 },
3521 "widgets_values": [
3522 1106558644923357,
3523 "randomize",
3524 6,
3525 1,
3526 "euler",
3527 "simple",
3528 1
3529 ]
3530 }
3531 ],
3532 "groups": [],
3533 "links": [
3534 {
3535 "id": 154,
3536 "origin_id": 62,
3537 "origin_slot": 0,
3538 "target_id": 63,
3539 "target_slot": 1,
3540 "type": "CONDITIONING"
3541 },
3542 {
3543 "id": 155,
3544 "origin_id": 62,
3545 "origin_slot": 1,
3546 "target_id": 63,
3547 "target_slot": 2,
3548 "type": "CONDITIONING"
3549 },
3550 {
3551 "id": 156,
3552 "origin_id": 62,
3553 "origin_slot": 2,
3554 "target_id": 63,
3555 "target_slot": 3,
3556 "type": "LATENT"
3557 },
3558 {
3559 "id": 157,
3560 "origin_id": 63,
3561 "origin_slot": 0,
3562 "target_id": 57,
3563 "target_slot": 0,
3564 "type": "LATENT"
3565 },
3566 {
3567 "id": 152,
3568 "origin_id": 62,
3569 "origin_slot": 3,
3570 "target_id": 57,
3571 "target_slot": 1,
3572 "type": "INT"
3573 },
3574 {
3575 "id": 441,
3576 "origin_id": 230,
3577 "origin_slot": 0,
3578 "target_id": 15,
3579 "target_slot": 0,
3580 "type": "IMAGE"
3581 },
3582 {
3583 "id": 127,
3584 "origin_id": 57,
3585 "origin_slot": 0,
3586 "target_id": 58,
3587 "target_slot": 0,
3588 "type": "LATENT"
3589 },
3590 {
3591 "id": 440,
3592 "origin_id": 58,
3593 "origin_slot": 0,
3594 "target_id": 230,
3595 "target_slot": 0,
3596 "type": "IMAGE"
3597 },
3598 {
3599 "id": 442,
3600 "origin_id": 62,
3601 "origin_slot": 4,
3602 "target_id": 230,
3603 "target_slot": 1,
3604 "type": "INT"
3605 },
3606 {
3607 "id": 454,
3608 "origin_id": -10,
3609 "origin_slot": 0,
3610 "target_id": 63,
3611 "target_slot": 0,
3612 "type": "MODEL"
3613 },
3614 {
3615 "id": 463,
3616 "origin_id": -10,
3617 "origin_slot": 1,
3618 "target_id": 15,
3619 "target_slot": 1,
3620 "type": "AUDIO"
3621 },
3622 {
3623 "id": 464,
3624 "origin_id": -10,
3625 "origin_slot": 2,
3626 "target_id": 58,
3627 "target_slot": 1,
3628 "type": "VAE"
3629 },
3630 {
3631 "id": 471,
3632 "origin_id": -10,
3633 "origin_slot": 2,
3634 "target_id": 62,
3635 "target_slot": 2,
3636 "type": "VAE"
3637 },
3638 {
3639 "id": 467,
3640 "origin_id": -10,
3641 "origin_slot": 3,
3642 "target_id": 62,
3643 "target_slot": 0,
3644 "type": "CONDITIONING"
3645 },
3646 {
3647 "id": 470,
3648 "origin_id": -10,
3649 "origin_slot": 4,
3650 "target_id": 62,
3651 "target_slot": 1,
3652 "type": "CONDITIONING"
3653 },
3654 {
3655 "id": 474,
3656 "origin_id": -10,
3657 "origin_slot": 5,
3658 "target_id": 62,
3659 "target_slot": 3,
3660 "type": "CLIP_VISION_OUTPUT"
3661 },
3662 {
3663 "id": 475,
3664 "origin_id": -10,
3665 "origin_slot": 6,
3666 "target_id": 62,
3667 "target_slot": 4,
3668 "type": "IMAGE"
3669 },
3670 {
3671 "id": 459,
3672 "origin_id": -10,
3673 "origin_slot": 7,
3674 "target_id": 62,
3675 "target_slot": 5,
3676 "type": "IMAGE"
3677 },
3678 {
3679 "id": 461,
3680 "origin_id": -10,
3681 "origin_slot": 8,
3682 "target_id": 62,
3683 "target_slot": 6,
3684 "type": "IMAGE"
3685 },
3686 {
3687 "id": 419,
3688 "origin_id": -10,
3689 "origin_slot": 9,
3690 "target_id": 62,
3691 "target_slot": 7,
3692 "type": "IMAGE"
3693 },
3694 {
3695 "id": 418,
3696 "origin_id": -10,
3697 "origin_slot": 10,
3698 "target_id": 62,
3699 "target_slot": 8,
3700 "type": "MASK"
3701 },
3702 {
3703 "id": 450,
3704 "origin_id": -10,
3705 "origin_slot": 11,
3706 "target_id": 62,
3707 "target_slot": 10,
3708 "type": "INT"
3709 },
3710 {
3711 "id": 451,
3712 "origin_id": -10,
3713 "origin_slot": 12,
3714 "target_id": 62,
3715 "target_slot": 11,
3716 "type": "INT"
3717 },
3718 {
3719 "id": 17,
3720 "origin_id": 15,
3721 "origin_slot": 0,
3722 "target_id": -20,
3723 "target_slot": 0,
3724 "type": "VIDEO"
3725 },
3726 {
3727 "id": 187,
3728 "origin_id": 58,
3729 "origin_slot": 0,
3730 "target_id": -20,
3731 "target_slot": 1,
3732 "type": "IMAGE"
3733 },
3734 {
3735 "id": 208,
3736 "origin_id": 58,
3737 "origin_slot": 0,
3738 "target_id": -20,
3739 "target_slot": 1,
3740 "type": "IMAGE"
3741 },
3742 {
3743 "id": 439,
3744 "origin_id": 62,
3745 "origin_slot": 5,
3746 "target_id": -20,
3747 "target_slot": 2,
3748 "type": "INT"
3749 },
3750 {
3751 "id": 477,
3752 "origin_id": -10,
3753 "origin_slot": 13,
3754 "target_id": 15,
3755 "target_slot": 2,
3756 "type": "FLOAT"
3757 },
3758 {
3759 "id": 478,
3760 "origin_id": -10,
3761 "origin_slot": 14,
3762 "target_id": 63,
3763 "target_slot": 4,
3764 "type": "INT"
3765 },
3766 {
3767 "id": 479,
3768 "origin_id": -10,
3769 "origin_slot": 15,
3770 "target_id": 63,
3771 "target_slot": 5,
3772 "type": "INT"
3773 },
3774 {
3775 "id": 480,
3776 "origin_id": -10,
3777 "origin_slot": 16,
3778 "target_id": 63,
3779 "target_slot": 6,
3780 "type": "FLOAT"
3781 },
3782 {
3783 "id": 481,
3784 "origin_id": -10,
3785 "origin_slot": 17,
3786 "target_id": 63,
3787 "target_slot": 7,
3788 "type": "COMBO"
3789 },
3790 {
3791 "id": 482,
3792 "origin_id": -10,
3793 "origin_slot": 18,
3794 "target_id": 63,
3795 "target_slot": 8,
3796 "type": "COMBO"
3797 }
3798 ],
3799 "extra": []
3800 },
3801 {
3802 "id": "975ed319-ca2b-461e-b42a-8e2704ba902f",
3803 "version": 1,
3804 "state": {
3805 "lastGroupId": 16,
3806 "lastNodeId": 241,
3807 "lastLinkId": 532,
3808 "lastRerouteId": 0
3809 },
3810 "revision": 0,
3811 "config": [],
3812 "name": "Video Extend(Subgraph)",
3813 "inputNode": {
3814 "id": -10,
3815 "bounding": [
3816 -651.841796875,
3817 735,
3818 141.841796875,
3819 440
3820 ]
3821 },
3822 "outputNode": {
3823 "id": -20,
3824 "bounding": [
3825 1500,
3826 855,
3827 141.841796875,
3828 100
3829 ]
3830 },
3831 "inputs": [
3832 {
3833 "id": "03e04825-a16a-49e3-a221-d5fdf1d789e5",
3834 "name": "model",
3835 "type": "MODEL",
3836 "linkIds": [
3837 455
3838 ],
3839 "localized_name": "model",
3840 "pos": [
3841 -530,
3842 755
3843 ]
3844 },
3845 {
3846 "id": "2dbbbe45-a5c2-4de3-a04e-7d2735b98b28",
3847 "name": "vae",
3848 "type": "VAE",
3849 "linkIds": [
3850 465,
3851 472
3852 ],
3853 "localized_name": "vae",
3854 "pos": [
3855 -530,
3856 775
3857 ]
3858 },
3859 {
3860 "id": "054fc2d8-105a-4174-9931-a31c4d6e359f",
3861 "name": "audio",
3862 "type": "AUDIO",
3863 "linkIds": [
3864 466
3865 ],
3866 "localized_name": "audio",
3867 "shape": 7,
3868 "pos": [
3869 -530,
3870 795
3871 ]
3872 },
3873 {
3874 "id": "cdef9f72-f783-4185-9830-fa3a809a1956",
3875 "name": "image1",
3876 "type": "IMAGE",
3877 "linkIds": [
3878 491,
3879 492
3880 ],
3881 "localized_name": "image1",
3882 "label": "last_batch_images",
3883 "pos": [
3884 -530,
3885 815
3886 ]
3887 },
3888 {
3889 "id": "a1344d9e-b216-4854-98b0-974ed4a6f209",
3890 "name": "positive",
3891 "type": "CONDITIONING",
3892 "linkIds": [
3893 468
3894 ],
3895 "localized_name": "positive",
3896 "pos": [
3897 -530,
3898 835
3899 ]
3900 },
3901 {
3902 "id": "52c93856-9e6c-495c-ac56-d1ae2c5d4bc6",
3903 "name": "negative",
3904 "type": "CONDITIONING",
3905 "linkIds": [
3906 469
3907 ],
3908 "localized_name": "negative",
3909 "pos": [
3910 -530,
3911 855
3912 ]
3913 },
3914 {
3915 "id": "d795f564-a054-484e-ac38-d633ad688212",
3916 "name": "clip_vision_output",
3917 "type": "CLIP_VISION_OUTPUT",
3918 "linkIds": [
3919 473
3920 ],
3921 "localized_name": "clip_vision_output",
3922 "shape": 7,
3923 "pos": [
3924 -530,
3925 875
3926 ]
3927 },
3928 {
3929 "id": "049d8ac0-c7d0-4f3e-80ea-b60e00289f9d",
3930 "name": "reference_image",
3931 "type": "IMAGE",
3932 "linkIds": [
3933 476
3934 ],
3935 "localized_name": "reference_image",
3936 "shape": 7,
3937 "pos": [
3938 -530,
3939 895
3940 ]
3941 },
3942 {
3943 "id": "7a51a6a4-870b-41fa-9251-97ad64c7c43f",
3944 "name": "face_video",
3945 "type": "IMAGE",
3946 "linkIds": [
3947 460
3948 ],
3949 "localized_name": "face_video",
3950 "shape": 7,
3951 "pos": [
3952 -530,
3953 915
3954 ]
3955 },
3956 {
3957 "id": "42ec4e45-9e9e-4b2c-b13f-28def3a7ade6",
3958 "name": "pose_video",
3959 "type": "IMAGE",
3960 "linkIds": [
3961 462
3962 ],
3963 "localized_name": "pose_video",
3964 "shape": 7,
3965 "pos": [
3966 -530,
3967 935
3968 ]
3969 },
3970 {
3971 "id": "00095787-d8f1-4f37-a2d5-a7760f559dae",
3972 "name": "background_video",
3973 "type": "IMAGE",
3974 "linkIds": [
3975 420
3976 ],
3977 "localized_name": "background_video",
3978 "shape": 7,
3979 "pos": [
3980 -530,
3981 955
3982 ]
3983 },
3984 {
3985 "id": "d96de1c8-0a3b-45bd-a5cf-eb2b46f91c67",
3986 "name": "character_mask",
3987 "type": "MASK",
3988 "linkIds": [
3989 421
3990 ],
3991 "localized_name": "character_mask",
3992 "shape": 7,
3993 "pos": [
3994 -530,
3995 975
3996 ]
3997 },
3998 {
3999 "id": "972c7951-4edc-4acf-a1d8-9836f2c7070b",
4000 "name": "width",
4001 "type": "INT",
4002 "linkIds": [
4003 452,
4004 453
4005 ],
4006 "localized_name": "width",
4007 "pos": [
4008 -530,
4009 995
4010 ]
4011 },
4012 {
4013 "id": "f4dccdf8-27bc-43ee-8795-86d2868f31c9",
4014 "name": "video_frame_offset",
4015 "type": "INT",
4016 "linkIds": [
4017 493
4018 ],
4019 "localized_name": "video_frame_offset",
4020 "pos": [
4021 -530,
4022 1015
4023 ]
4024 },
4025 {
4026 "id": "6b9cd8d4-b128-4217-99b7-eaee92b62047",
4027 "name": "seed",
4028 "type": "INT",
4029 "linkIds": [
4030 526
4031 ],
4032 "pos": [
4033 -530,
4034 1035
4035 ]
4036 },
4037 {
4038 "id": "a81a7a57-c040-4b6a-9bee-8763f60e42a1",
4039 "name": "steps",
4040 "type": "INT",
4041 "linkIds": [
4042 527
4043 ],
4044 "pos": [
4045 -530,
4046 1055
4047 ]
4048 },
4049 {
4050 "id": "af1f93e3-2c56-403c-90ef-5466a2273ee6",
4051 "name": "cfg",
4052 "type": "FLOAT",
4053 "linkIds": [
4054 528
4055 ],
4056 "pos": [
4057 -530,
4058 1075
4059 ]
4060 },
4061 {
4062 "id": "c5dc7502-4f9a-49a1-8e4c-adca0809dbf1",
4063 "name": "sampler_name",
4064 "type": "COMBO",
4065 "linkIds": [
4066 529
4067 ],
4068 "pos": [
4069 -530,
4070 1095
4071 ]
4072 },
4073 {
4074 "id": "cd71c877-d6a5-41f1-b3f2-6a115ae4df96",
4075 "name": "scheduler",
4076 "type": "COMBO",
4077 "linkIds": [
4078 530
4079 ],
4080 "pos": [
4081 -530,
4082 1115
4083 ]
4084 },
4085 {
4086 "id": "ef516bbf-aac9-48df-acbb-13a767cadaed",
4087 "name": "fps",
4088 "type": "FLOAT",
4089 "linkIds": [
4090 531
4091 ],
4092 "pos": [
4093 -530,
4094 1135
4095 ]
4096 }
4097 ],
4098 "outputs": [
4099 {
4100 "id": "64b8d4c3-be0f-473b-aae4-0f56167c1bad",
4101 "name": "IMAGE",
4102 "type": "IMAGE",
4103 "linkIds": [
4104 532
4105 ],
4106 "localized_name": "IMAGE",
4107 "label": "batch_images",
4108 "pos": [
4109 1520,
4110 875
4111 ]
4112 },
4113 {
4114 "id": "f33e2c31-73c7-4e9f-8d43-cd7d4b39f9de",
4115 "name": "video_frame_offset",
4116 "type": "INT",
4117 "linkIds": [
4118 523
4119 ],
4120 "localized_name": "video_frame_offset",
4121 "pos": [
4122 1520,
4123 895
4124 ]
4125 },
4126 {
4127 "id": "aefce3c5-5b36-47c8-a922-aa488ff30d26",
4128 "name": "VIDEO",
4129 "type": "VIDEO",
4130 "linkIds": [
4131 524
4132 ],
4133 "pos": [
4134 1520,
4135 915
4136 ]
4137 }
4138 ],
4139 "widgets": [],
4140 "nodes": [
4141 {
4142 "id": 87,
4143 "type": "VAEDecode",
4144 "pos": [
4145 410,
4146 1160
4147 ],
4148 "size": [
4149 210,
4150 46
4151 ],
4152 "flags": [],
4153 "order": 2,
4154 "mode": 0,
4155 "inputs": [
4156 {
4157 "localized_name": "samples",
4158 "name": "samples",
4159 "type": "LATENT",
4160 "link": 220
4161 },
4162 {
4163 "localized_name": "vae",
4164 "name": "vae",
4165 "type": "VAE",
4166 "link": 465
4167 }
4168 ],
4169 "outputs": [
4170 {
4171 "localized_name": "IMAGE",
4172 "name": "IMAGE",
4173 "type": "IMAGE",
4174 "slot_index": 0,
4175 "links": [
4176 185
4177 ]
4178 }
4179 ],
4180 "properties": {
4181 "Node name for S&R": "VAEDecode",
4182 "cnr_id": "comfy-core",
4183 "ver": "0.3.59"
4184 },
4185 "widgets_values": []
4186 },
4187 {
4188 "id": 92,
4189 "type": "TrimVideoLatent",
4190 "pos": [
4191 410,
4192 1060
4193 ],
4194 "size": [
4195 270,
4196 58
4197 ],
4198 "flags": [],
4199 "order": 6,
4200 "mode": 0,
4201 "inputs": [
4202 {
4203 "localized_name": "samples",
4204 "name": "samples",
4205 "type": "LATENT",
4206 "link": 219
4207 },
4208 {
4209 "localized_name": "trim_amount",
4210 "name": "trim_amount",
4211 "type": "INT",
4212 "widget": {
4213 "name": "trim_amount"
4214 },
4215 "link": 218
4216 }
4217 ],
4218 "outputs": [
4219 {
4220 "localized_name": "LATENT",
4221 "name": "LATENT",
4222 "type": "LATENT",
4223 "links": [
4224 220
4225 ]
4226 }
4227 ],
4228 "properties": {
4229 "Node name for S&R": "TrimVideoLatent",
4230 "cnr_id": "comfy-core",
4231 "ver": "0.3.59"
4232 },
4233 "widgets_values": [
4234 0
4235 ]
4236 },
4237 {
4238 "id": 85,
4239 "type": "ImageFromBatch",
4240 "pos": [
4241 410,
4242 1240
4243 ],
4244 "size": [
4245 270,
4246 82
4247 ],
4248 "flags": [],
4249 "order": 0,
4250 "mode": 0,
4251 "inputs": [
4252 {
4253 "localized_name": "image",
4254 "name": "image",
4255 "type": "IMAGE",
4256 "link": 185
4257 },
4258 {
4259 "localized_name": "batch_index",
4260 "name": "batch_index",
4261 "type": "INT",
4262 "widget": {
4263 "name": "batch_index"
4264 },
4265 "link": 212
4266 }
4267 ],
4268 "outputs": [
4269 {
4270 "localized_name": "IMAGE",
4271 "name": "IMAGE",
4272 "type": "IMAGE",
4273 "links": [
4274 445
4275 ]
4276 }
4277 ],
4278 "properties": {
4279 "Node name for S&R": "ImageFromBatch",
4280 "cnr_id": "comfy-core",
4281 "ver": "0.3.59"
4282 },
4283 "widgets_values": [
4284 0,
4285 4096
4286 ]
4287 },
4288 {
4289 "id": 90,
4290 "type": "WanAnimateToVideo",
4291 "pos": [
4292 -90,
4293 750
4294 ],
4295 "size": [
4296 324.751953125,
4297 358
4298 ],
4299 "flags": [],
4300 "order": 4,
4301 "mode": 0,
4302 "inputs": [
4303 {
4304 "localized_name": "positive",
4305 "name": "positive",
4306 "type": "CONDITIONING",
4307 "link": 468
4308 },
4309 {
4310 "localized_name": "negative",
4311 "name": "negative",
4312 "type": "CONDITIONING",
4313 "link": 469
4314 },
4315 {
4316 "localized_name": "vae",
4317 "name": "vae",
4318 "type": "VAE",
4319 "link": 472
4320 },
4321 {
4322 "localized_name": "clip_vision_output",
4323 "name": "clip_vision_output",
4324 "shape": 7,
4325 "type": "CLIP_VISION_OUTPUT",
4326 "link": 473
4327 },
4328 {
4329 "localized_name": "reference_image",
4330 "name": "reference_image",
4331 "shape": 7,
4332 "type": "IMAGE",
4333 "link": 476
4334 },
4335 {
4336 "localized_name": "face_video",
4337 "name": "face_video",
4338 "shape": 7,
4339 "type": "IMAGE",
4340 "link": 460
4341 },
4342 {
4343 "localized_name": "pose_video",
4344 "name": "pose_video",
4345 "shape": 7,
4346 "type": "IMAGE",
4347 "link": 462
4348 },
4349 {
4350 "localized_name": "background_video",
4351 "name": "background_video",
4352 "shape": 7,
4353 "type": "IMAGE",
4354 "link": 420
4355 },
4356 {
4357 "localized_name": "character_mask",
4358 "name": "character_mask",
4359 "shape": 7,
4360 "type": "MASK",
4361 "link": 421
4362 },
4363 {
4364 "localized_name": "continue_motion",
4365 "name": "continue_motion",
4366 "shape": 7,
4367 "type": "IMAGE",
4368 "link": 492
4369 },
4370 {
4371 "localized_name": "width",
4372 "name": "width",
4373 "type": "INT",
4374 "widget": {
4375 "name": "width"
4376 },
4377 "link": 452
4378 },
4379 {
4380 "localized_name": "height",
4381 "name": "height",
4382 "type": "INT",
4383 "widget": {
4384 "name": "height"
4385 },
4386 "link": 453
4387 },
4388 {
4389 "localized_name": "video_frame_offset",
4390 "name": "video_frame_offset",
4391 "type": "INT",
4392 "widget": {
4393 "name": "video_frame_offset"
4394 },
4395 "link": 493
4396 }
4397 ],
4398 "outputs": [
4399 {
4400 "localized_name": "positive",
4401 "name": "positive",
4402 "type": "CONDITIONING",
4403 "links": [
4404 213
4405 ]
4406 },
4407 {
4408 "localized_name": "negative",
4409 "name": "negative",
4410 "type": "CONDITIONING",
4411 "links": [
4412 214
4413 ]
4414 },
4415 {
4416 "localized_name": "latent",
4417 "name": "latent",
4418 "type": "LATENT",
4419 "links": [
4420 215
4421 ]
4422 },
4423 {
4424 "localized_name": "trim_latent",
4425 "name": "trim_latent",
4426 "type": "INT",
4427 "links": [
4428 218
4429 ]
4430 },
4431 {
4432 "localized_name": "trim_image",
4433 "name": "trim_image",
4434 "type": "INT",
4435 "links": [
4436 212
4437 ]
4438 },
4439 {
4440 "localized_name": "video_frame_offset",
4441 "name": "video_frame_offset",
4442 "type": "INT",
4443 "links": [
4444 523
4445 ]
4446 }
4447 ],
4448 "properties": {
4449 "Node name for S&R": "WanAnimateToVideo",
4450 "cnr_id": "comfy-core",
4451 "ver": "0.3.59"
4452 },
4453 "widgets_values": [
4454 1280,
4455 1280,
4456 77,
4457 1,
4458 5,
4459 0
4460 ]
4461 },
4462 {
4463 "id": 88,
4464 "type": "CreateVideo",
4465 "pos": [
4466 900,
4467 820
4468 ],
4469 "size": [
4470 210,
4471 78
4472 ],
4473 "flags": [],
4474 "order": 3,
4475 "mode": 0,
4476 "inputs": [
4477 {
4478 "localized_name": "images",
4479 "name": "images",
4480 "type": "IMAGE",
4481 "link": 191
4482 },
4483 {
4484 "localized_name": "audio",
4485 "name": "audio",
4486 "shape": 7,
4487 "type": "AUDIO",
4488 "link": 466
4489 },
4490 {
4491 "localized_name": "fps",
4492 "name": "fps",
4493 "type": "FLOAT",
4494 "widget": {
4495 "name": "fps"
4496 },
4497 "link": 531
4498 }
4499 ],
4500 "outputs": [
4501 {
4502 "localized_name": "VIDEO",
4503 "name": "VIDEO",
4504 "type": "VIDEO",
4505 "links": [
4506 524
4507 ]
4508 }
4509 ],
4510 "properties": {
4511 "Node name for S&R": "CreateVideo",
4512 "cnr_id": "comfy-core",
4513 "ver": "0.3.59"
4514 },
4515 "widgets_values": [
4516 16
4517 ]
4518 },
4519 {
4520 "id": 91,
4521 "type": "KSampler",
4522 "pos": [
4523 410,
4524 750
4525 ],
4526 "size": [
4527 270,
4528 262
4529 ],
4530 "flags": [],
4531 "order": 5,
4532 "mode": 0,
4533 "inputs": [
4534 {
4535 "localized_name": "model",
4536 "name": "model",
4537 "type": "MODEL",
4538 "link": 455
4539 },
4540 {
4541 "localized_name": "positive",
4542 "name": "positive",
4543 "type": "CONDITIONING",
4544 "link": 213
4545 },
4546 {
4547 "localized_name": "negative",
4548 "name": "negative",
4549 "type": "CONDITIONING",
4550 "link": 214
4551 },
4552 {
4553 "localized_name": "latent_image",
4554 "name": "latent_image",
4555 "type": "LATENT",
4556 "link": 215
4557 },
4558 {
4559 "localized_name": "seed",
4560 "name": "seed",
4561 "type": "INT",
4562 "widget": {
4563 "name": "seed"
4564 },
4565 "link": 526
4566 },
4567 {
4568 "localized_name": "steps",
4569 "name": "steps",
4570 "type": "INT",
4571 "widget": {
4572 "name": "steps"
4573 },
4574 "link": 527
4575 },
4576 {
4577 "localized_name": "cfg",
4578 "name": "cfg",
4579 "type": "FLOAT",
4580 "widget": {
4581 "name": "cfg"
4582 },
4583 "link": 528
4584 },
4585 {
4586 "localized_name": "sampler_name",
4587 "name": "sampler_name",
4588 "type": "COMBO",
4589 "widget": {
4590 "name": "sampler_name"
4591 },
4592 "link": 529
4593 },
4594 {
4595 "localized_name": "scheduler",
4596 "name": "scheduler",
4597 "type": "COMBO",
4598 "widget": {
4599 "name": "scheduler"
4600 },
4601 "link": 530
4602 }
4603 ],
4604 "outputs": [
4605 {
4606 "localized_name": "LATENT",
4607 "name": "LATENT",
4608 "type": "LATENT",
4609 "links": [
4610 219
4611 ]
4612 }
4613 ],
4614 "properties": {
4615 "Node name for S&R": "KSampler",
4616 "cnr_id": "comfy-core",
4617 "ver": "0.3.59"
4618 },
4619 "widgets_values": [
4620 387378783691198,
4621 "fixed",
4622 6,
4623 1,
4624 "euler",
4625 "simple",
4626 1
4627 ]
4628 },
4629 {
4630 "id": 86,
4631 "type": "ImageBatch",
4632 "pos": [
4633 940,
4634 720
4635 ],
4636 "size": [
4637 220,
4638 46
4639 ],
4640 "flags": [],
4641 "order": 1,
4642 "mode": 0,
4643 "inputs": [
4644 {
4645 "localized_name": "image1",
4646 "name": "image1",
4647 "type": "IMAGE",
4648 "link": 491
4649 },
4650 {
4651 "localized_name": "image2",
4652 "name": "image2",
4653 "type": "IMAGE",
4654 "link": 445
4655 }
4656 ],
4657 "outputs": [
4658 {
4659 "localized_name": "IMAGE",
4660 "name": "IMAGE",
4661 "type": "IMAGE",
4662 "links": [
4663 191,
4664 532
4665 ]
4666 }
4667 ],
4668 "properties": {
4669 "Node name for S&R": "ImageBatch",
4670 "cnr_id": "comfy-core",
4671 "ver": "0.3.59"
4672 },
4673 "widgets_values": []
4674 }
4675 ],
4676 "groups": [],
4677 "links": [
4678 {
4679 "id": 213,
4680 "origin_id": 90,
4681 "origin_slot": 0,
4682 "target_id": 91,
4683 "target_slot": 1,
4684 "type": "CONDITIONING"
4685 },
4686 {
4687 "id": 214,
4688 "origin_id": 90,
4689 "origin_slot": 1,
4690 "target_id": 91,
4691 "target_slot": 2,
4692 "type": "CONDITIONING"
4693 },
4694 {
4695 "id": 215,
4696 "origin_id": 90,
4697 "origin_slot": 2,
4698 "target_id": 91,
4699 "target_slot": 3,
4700 "type": "LATENT"
4701 },
4702 {
4703 "id": 220,
4704 "origin_id": 92,
4705 "origin_slot": 0,
4706 "target_id": 87,
4707 "target_slot": 0,
4708 "type": "LATENT"
4709 },
4710 {
4711 "id": 191,
4712 "origin_id": 86,
4713 "origin_slot": 0,
4714 "target_id": 88,
4715 "target_slot": 0,
4716 "type": "IMAGE"
4717 },
4718 {
4719 "id": 219,
4720 "origin_id": 91,
4721 "origin_slot": 0,
4722 "target_id": 92,
4723 "target_slot": 0,
4724 "type": "LATENT"
4725 },
4726 {
4727 "id": 218,
4728 "origin_id": 90,
4729 "origin_slot": 3,
4730 "target_id": 92,
4731 "target_slot": 1,
4732 "type": "INT"
4733 },
4734 {
4735 "id": 445,
4736 "origin_id": 85,
4737 "origin_slot": 0,
4738 "target_id": 86,
4739 "target_slot": 1,
4740 "type": "IMAGE"
4741 },
4742 {
4743 "id": 185,
4744 "origin_id": 87,
4745 "origin_slot": 0,
4746 "target_id": 85,
4747 "target_slot": 0,
4748 "type": "IMAGE"
4749 },
4750 {
4751 "id": 212,
4752 "origin_id": 90,
4753 "origin_slot": 4,
4754 "target_id": 85,
4755 "target_slot": 1,
4756 "type": "INT"
4757 },
4758 {
4759 "id": 455,
4760 "origin_id": -10,
4761 "origin_slot": 0,
4762 "target_id": 91,
4763 "target_slot": 0,
4764 "type": "MODEL"
4765 },
4766 {
4767 "id": 465,
4768 "origin_id": -10,
4769 "origin_slot": 1,
4770 "target_id": 87,
4771 "target_slot": 1,
4772 "type": "VAE"
4773 },
4774 {
4775 "id": 472,
4776 "origin_id": -10,
4777 "origin_slot": 1,
4778 "target_id": 90,
4779 "target_slot": 2,
4780 "type": "VAE"
4781 },
4782 {
4783 "id": 466,
4784 "origin_id": -10,
4785 "origin_slot": 2,
4786 "target_id": 88,
4787 "target_slot": 1,
4788 "type": "AUDIO"
4789 },
4790 {
4791 "id": 491,
4792 "origin_id": -10,
4793 "origin_slot": 3,
4794 "target_id": 86,
4795 "target_slot": 0,
4796 "type": "IMAGE"
4797 },
4798 {
4799 "id": 492,
4800 "origin_id": -10,
4801 "origin_slot": 3,
4802 "target_id": 90,
4803 "target_slot": 9,
4804 "type": "IMAGE"
4805 },
4806 {
4807 "id": 468,
4808 "origin_id": -10,
4809 "origin_slot": 4,
4810 "target_id": 90,
4811 "target_slot": 0,
4812 "type": "CONDITIONING"
4813 },
4814 {
4815 "id": 469,
4816 "origin_id": -10,
4817 "origin_slot": 5,
4818 "target_id": 90,
4819 "target_slot": 1,
4820 "type": "CONDITIONING"
4821 },
4822 {
4823 "id": 473,
4824 "origin_id": -10,
4825 "origin_slot": 6,
4826 "target_id": 90,
4827 "target_slot": 3,
4828 "type": "CLIP_VISION_OUTPUT"
4829 },
4830 {
4831 "id": 476,
4832 "origin_id": -10,
4833 "origin_slot": 7,
4834 "target_id": 90,
4835 "target_slot": 4,
4836 "type": "IMAGE"
4837 },
4838 {
4839 "id": 460,
4840 "origin_id": -10,
4841 "origin_slot": 8,
4842 "target_id": 90,
4843 "target_slot": 5,
4844 "type": "IMAGE"
4845 },
4846 {
4847 "id": 462,
4848 "origin_id": -10,
4849 "origin_slot": 9,
4850 "target_id": 90,
4851 "target_slot": 6,
4852 "type": "IMAGE"
4853 },
4854 {
4855 "id": 420,
4856 "origin_id": -10,
4857 "origin_slot": 10,
4858 "target_id": 90,
4859 "target_slot": 7,
4860 "type": "IMAGE"
4861 },
4862 {
4863 "id": 421,
4864 "origin_id": -10,
4865 "origin_slot": 11,
4866 "target_id": 90,
4867 "target_slot": 8,
4868 "type": "MASK"
4869 },
4870 {
4871 "id": 452,
4872 "origin_id": -10,
4873 "origin_slot": 12,
4874 "target_id": 90,
4875 "target_slot": 10,
4876 "type": "INT"
4877 },
4878 {
4879 "id": 453,
4880 "origin_id": -10,
4881 "origin_slot": 12,
4882 "target_id": 90,
4883 "target_slot": 11,
4884 "type": "INT"
4885 },
4886 {
4887 "id": 493,
4888 "origin_id": -10,
4889 "origin_slot": 13,
4890 "target_id": 90,
4891 "target_slot": 12,
4892 "type": "INT"
4893 },
4894 {
4895 "id": 523,
4896 "origin_id": 90,
4897 "origin_slot": 5,
4898 "target_id": -20,
4899 "target_slot": 1,
4900 "type": "INT"
4901 },
4902 {
4903 "id": 524,
4904 "origin_id": 88,
4905 "origin_slot": 0,
4906 "target_id": -20,
4907 "target_slot": 2,
4908 "type": "VIDEO"
4909 },
4910 {
4911 "id": 526,
4912 "origin_id": -10,
4913 "origin_slot": 14,
4914 "target_id": 91,
4915 "target_slot": 4,
4916 "type": "INT"
4917 },
4918 {
4919 "id": 527,
4920 "origin_id": -10,
4921 "origin_slot": 15,
4922 "target_id": 91,
4923 "target_slot": 5,
4924 "type": "INT"
4925 },
4926 {
4927 "id": 528,
4928 "origin_id": -10,
4929 "origin_slot": 16,
4930 "target_id": 91,
4931 "target_slot": 6,
4932 "type": "FLOAT"
4933 },
4934 {
4935 "id": 529,
4936 "origin_id": -10,
4937 "origin_slot": 17,
4938 "target_id": 91,
4939 "target_slot": 7,
4940 "type": "COMBO"
4941 },
4942 {
4943 "id": 530,
4944 "origin_id": -10,
4945 "origin_slot": 18,
4946 "target_id": 91,
4947 "target_slot": 8,
4948 "type": "COMBO"
4949 },
4950 {
4951 "id": 531,
4952 "origin_id": -10,
4953 "origin_slot": 19,
4954 "target_id": 88,
4955 "target_slot": 2,
4956 "type": "FLOAT"
4957 },
4958 {
4959 "id": 532,
4960 "origin_id": 86,
4961 "origin_slot": 0,
4962 "target_id": -20,
4963 "target_slot": 0,
4964 "type": "IMAGE"
4965 }
4966 ],
4967 "extra": []
4968 },
4969 {
4970 "id": "063b0ee8-c72b-442b-8029-dd3d5f4b6650",
4971 "version": 1,
4972 "state": {
4973 "lastGroupId": 16,
4974 "lastNodeId": 241,
4975 "lastLinkId": 532,
4976 "lastRerouteId": 0
4977 },
4978 "revision": 0,
4979 "config": [],
4980 "name": "Video Extend(Subgraph)",
4981 "inputNode": {
4982 "id": -10,
4983 "bounding": [
4984 -651.841796875,
4985 735,
4986 141.841796875,
4987 440
4988 ]
4989 },
4990 "outputNode": {
4991 "id": -20,
4992 "bounding": [
4993 1500,
4994 855,
4995 142.0703125,
4996 100
4997 ]
4998 },
4999 "inputs": [
5000 {
5001 "id": "03e04825-a16a-49e3-a221-d5fdf1d789e5",
5002 "name": "model",
5003 "type": "MODEL",
5004 "linkIds": [
5005 455
5006 ],
5007 "localized_name": "model",
5008 "pos": [
5009 -530,
5010 755
5011 ]
5012 },
5013 {
5014 "id": "2dbbbe45-a5c2-4de3-a04e-7d2735b98b28",
5015 "name": "vae",
5016 "type": "VAE",
5017 "linkIds": [
5018 465,
5019 472
5020 ],
5021 "localized_name": "vae",
5022 "pos": [
5023 -530,
5024 775
5025 ]
5026 },
5027 {
5028 "id": "054fc2d8-105a-4174-9931-a31c4d6e359f",
5029 "name": "audio",
5030 "type": "AUDIO",
5031 "linkIds": [
5032 466
5033 ],
5034 "localized_name": "audio",
5035 "shape": 7,
5036 "pos": [
5037 -530,
5038 795
5039 ]
5040 },
5041 {
5042 "id": "cdef9f72-f783-4185-9830-fa3a809a1956",
5043 "name": "image1",
5044 "type": "IMAGE",
5045 "linkIds": [
5046 491,
5047 492
5048 ],
5049 "localized_name": "image1",
5050 "label": "last_batch_images",
5051 "pos": [
5052 -530,
5053 815
5054 ]
5055 },
5056 {
5057 "id": "a1344d9e-b216-4854-98b0-974ed4a6f209",
5058 "name": "positive",
5059 "type": "CONDITIONING",
5060 "linkIds": [
5061 468
5062 ],
5063 "localized_name": "positive",
5064 "pos": [
5065 -530,
5066 835
5067 ]
5068 },
5069 {
5070 "id": "52c93856-9e6c-495c-ac56-d1ae2c5d4bc6",
5071 "name": "negative",
5072 "type": "CONDITIONING",
5073 "linkIds": [
5074 469
5075 ],
5076 "localized_name": "negative",
5077 "pos": [
5078 -530,
5079 855
5080 ]
5081 },
5082 {
5083 "id": "d795f564-a054-484e-ac38-d633ad688212",
5084 "name": "clip_vision_output",
5085 "type": "CLIP_VISION_OUTPUT",
5086 "linkIds": [
5087 473
5088 ],
5089 "localized_name": "clip_vision_output",
5090 "shape": 7,
5091 "pos": [
5092 -530,
5093 875
5094 ]
5095 },
5096 {
5097 "id": "049d8ac0-c7d0-4f3e-80ea-b60e00289f9d",
5098 "name": "reference_image",
5099 "type": "IMAGE",
5100 "linkIds": [
5101 476
5102 ],
5103 "localized_name": "reference_image",
5104 "shape": 7,
5105 "pos": [
5106 -530,
5107 895
5108 ]
5109 },
5110 {
5111 "id": "7a51a6a4-870b-41fa-9251-97ad64c7c43f",
5112 "name": "face_video",
5113 "type": "IMAGE",
5114 "linkIds": [
5115 460
5116 ],
5117 "localized_name": "face_video",
5118 "shape": 7,
5119 "pos": [
5120 -530,
5121 915
5122 ]
5123 },
5124 {
5125 "id": "42ec4e45-9e9e-4b2c-b13f-28def3a7ade6",
5126 "name": "pose_video",
5127 "type": "IMAGE",
5128 "linkIds": [
5129 462
5130 ],
5131 "localized_name": "pose_video",
5132 "shape": 7,
5133 "pos": [
5134 -530,
5135 935
5136 ]
5137 },
5138 {
5139 "id": "00095787-d8f1-4f37-a2d5-a7760f559dae",
5140 "name": "background_video",
5141 "type": "IMAGE",
5142 "linkIds": [
5143 420
5144 ],
5145 "localized_name": "background_video",
5146 "shape": 7,
5147 "pos": [
5148 -530,
5149 955
5150 ]
5151 },
5152 {
5153 "id": "d96de1c8-0a3b-45bd-a5cf-eb2b46f91c67",
5154 "name": "character_mask",
5155 "type": "MASK",
5156 "linkIds": [
5157 421
5158 ],
5159 "localized_name": "character_mask",
5160 "shape": 7,
5161 "pos": [
5162 -530,
5163 975
5164 ]
5165 },
5166 {
5167 "id": "972c7951-4edc-4acf-a1d8-9836f2c7070b",
5168 "name": "width",
5169 "type": "INT",
5170 "linkIds": [
5171 452,
5172 453
5173 ],
5174 "localized_name": "width",
5175 "pos": [
5176 -530,
5177 995
5178 ]
5179 },
5180 {
5181 "id": "f4dccdf8-27bc-43ee-8795-86d2868f31c9",
5182 "name": "video_frame_offset",
5183 "type": "INT",
5184 "linkIds": [
5185 493
5186 ],
5187 "localized_name": "video_frame_offset",
5188 "pos": [
5189 -530,
5190 1015
5191 ]
5192 },
5193 {
5194 "id": "6b9cd8d4-b128-4217-99b7-eaee92b62047",
5195 "name": "seed",
5196 "type": "INT",
5197 "linkIds": [
5198 526
5199 ],
5200 "pos": [
5201 -530,
5202 1035
5203 ]
5204 },
5205 {
5206 "id": "a81a7a57-c040-4b6a-9bee-8763f60e42a1",
5207 "name": "steps",
5208 "type": "INT",
5209 "linkIds": [
5210 527
5211 ],
5212 "pos": [
5213 -530,
5214 1055
5215 ]
5216 },
5217 {
5218 "id": "af1f93e3-2c56-403c-90ef-5466a2273ee6",
5219 "name": "cfg",
5220 "type": "FLOAT",
5221 "linkIds": [
5222 528
5223 ],
5224 "pos": [
5225 -530,
5226 1075
5227 ]
5228 },
5229 {
5230 "id": "c5dc7502-4f9a-49a1-8e4c-adca0809dbf1",
5231 "name": "sampler_name",
5232 "type": "COMBO",
5233 "linkIds": [
5234 529
5235 ],
5236 "pos": [
5237 -530,
5238 1095
5239 ]
5240 },
5241 {
5242 "id": "cd71c877-d6a5-41f1-b3f2-6a115ae4df96",
5243 "name": "scheduler",
5244 "type": "COMBO",
5245 "linkIds": [
5246 530
5247 ],
5248 "pos": [
5249 -530,
5250 1115
5251 ]
5252 },
5253 {
5254 "id": "ef516bbf-aac9-48df-acbb-13a767cadaed",
5255 "name": "fps",
5256 "type": "FLOAT",
5257 "linkIds": [
5258 531
5259 ],
5260 "pos": [
5261 -530,
5262 1135
5263 ]
5264 }
5265 ],
5266 "outputs": [
5267 {
5268 "id": "64b8d4c3-be0f-473b-aae4-0f56167c1bad",
5269 "name": "IMAGE",
5270 "type": "IMAGE",
5271 "linkIds": [
5272 532
5273 ],
5274 "localized_name": "IMAGE",
5275 "label": "batch image output",
5276 "pos": [
5277 1520,
5278 875
5279 ]
5280 },
5281 {
5282 "id": "f33e2c31-73c7-4e9f-8d43-cd7d4b39f9de",
5283 "name": "video_frame_offset",
5284 "type": "INT",
5285 "linkIds": [
5286 523
5287 ],
5288 "localized_name": "video_frame_offset",
5289 "pos": [
5290 1520,
5291 895
5292 ]
5293 },
5294 {
5295 "id": "aefce3c5-5b36-47c8-a922-aa488ff30d26",
5296 "name": "VIDEO",
5297 "type": "VIDEO",
5298 "linkIds": [
5299 524
5300 ],
5301 "pos": [
5302 1520,
5303 915
5304 ]
5305 }
5306 ],
5307 "widgets": [],
5308 "nodes": [
5309 {
5310 "id": 87,
5311 "type": "VAEDecode",
5312 "pos": [
5313 410,
5314 1160
5315 ],
5316 "size": [
5317 210,
5318 46
5319 ],
5320 "flags": [],
5321 "order": 2,
5322 "mode": 0,
5323 "inputs": [
5324 {
5325 "localized_name": "samples",
5326 "name": "samples",
5327 "type": "LATENT",
5328 "link": 220
5329 },
5330 {
5331 "localized_name": "vae",
5332 "name": "vae",
5333 "type": "VAE",
5334 "link": 465
5335 }
5336 ],
5337 "outputs": [
5338 {
5339 "localized_name": "IMAGE",
5340 "name": "IMAGE",
5341 "type": "IMAGE",
5342 "slot_index": 0,
5343 "links": [
5344 185
5345 ]
5346 }
5347 ],
5348 "properties": {
5349 "Node name for S&R": "VAEDecode",
5350 "cnr_id": "comfy-core",
5351 "ver": "0.3.59"
5352 },
5353 "widgets_values": []
5354 },
5355 {
5356 "id": 92,
5357 "type": "TrimVideoLatent",
5358 "pos": [
5359 410,
5360 1060
5361 ],
5362 "size": [
5363 270,
5364 58
5365 ],
5366 "flags": [],
5367 "order": 6,
5368 "mode": 0,
5369 "inputs": [
5370 {
5371 "localized_name": "samples",
5372 "name": "samples",
5373 "type": "LATENT",
5374 "link": 219
5375 },
5376 {
5377 "localized_name": "trim_amount",
5378 "name": "trim_amount",
5379 "type": "INT",
5380 "widget": {
5381 "name": "trim_amount"
5382 },
5383 "link": 218
5384 }
5385 ],
5386 "outputs": [
5387 {
5388 "localized_name": "LATENT",
5389 "name": "LATENT",
5390 "type": "LATENT",
5391 "links": [
5392 220
5393 ]
5394 }
5395 ],
5396 "properties": {
5397 "Node name for S&R": "TrimVideoLatent",
5398 "cnr_id": "comfy-core",
5399 "ver": "0.3.59"
5400 },
5401 "widgets_values": [
5402 0
5403 ]
5404 },
5405 {
5406 "id": 85,
5407 "type": "ImageFromBatch",
5408 "pos": [
5409 410,
5410 1240
5411 ],
5412 "size": [
5413 270,
5414 82
5415 ],
5416 "flags": [],
5417 "order": 0,
5418 "mode": 0,
5419 "inputs": [
5420 {
5421 "localized_name": "image",
5422 "name": "image",
5423 "type": "IMAGE",
5424 "link": 185
5425 },
5426 {
5427 "localized_name": "batch_index",
5428 "name": "batch_index",
5429 "type": "INT",
5430 "widget": {
5431 "name": "batch_index"
5432 },
5433 "link": 212
5434 }
5435 ],
5436 "outputs": [
5437 {
5438 "localized_name": "IMAGE",
5439 "name": "IMAGE",
5440 "type": "IMAGE",
5441 "links": [
5442 445
5443 ]
5444 }
5445 ],
5446 "properties": {
5447 "Node name for S&R": "ImageFromBatch",
5448 "cnr_id": "comfy-core",
5449 "ver": "0.3.59"
5450 },
5451 "widgets_values": [
5452 0,
5453 4096
5454 ]
5455 },
5456 {
5457 "id": 90,
5458 "type": "WanAnimateToVideo",
5459 "pos": [
5460 -90,
5461 750
5462 ],
5463 "size": [
5464 324.751953125,
5465 358
5466 ],
5467 "flags": [],
5468 "order": 4,
5469 "mode": 0,
5470 "inputs": [
5471 {
5472 "localized_name": "positive",
5473 "name": "positive",
5474 "type": "CONDITIONING",
5475 "link": 468
5476 },
5477 {
5478 "localized_name": "negative",
5479 "name": "negative",
5480 "type": "CONDITIONING",
5481 "link": 469
5482 },
5483 {
5484 "localized_name": "vae",
5485 "name": "vae",
5486 "type": "VAE",
5487 "link": 472
5488 },
5489 {
5490 "localized_name": "clip_vision_output",
5491 "name": "clip_vision_output",
5492 "shape": 7,
5493 "type": "CLIP_VISION_OUTPUT",
5494 "link": 473
5495 },
5496 {
5497 "localized_name": "reference_image",
5498 "name": "reference_image",
5499 "shape": 7,
5500 "type": "IMAGE",
5501 "link": 476
5502 },
5503 {
5504 "localized_name": "face_video",
5505 "name": "face_video",
5506 "shape": 7,
5507 "type": "IMAGE",
5508 "link": 460
5509 },
5510 {
5511 "localized_name": "pose_video",
5512 "name": "pose_video",
5513 "shape": 7,
5514 "type": "IMAGE",
5515 "link": 462
5516 },
5517 {
5518 "localized_name": "background_video",
5519 "name": "background_video",
5520 "shape": 7,
5521 "type": "IMAGE",
5522 "link": 420
5523 },
5524 {
5525 "localized_name": "character_mask",
5526 "name": "character_mask",
5527 "shape": 7,
5528 "type": "MASK",
5529 "link": 421
5530 },
5531 {
5532 "localized_name": "continue_motion",
5533 "name": "continue_motion",
5534 "shape": 7,
5535 "type": "IMAGE",
5536 "link": 492
5537 },
5538 {
5539 "localized_name": "width",
5540 "name": "width",
5541 "type": "INT",
5542 "widget": {
5543 "name": "width"
5544 },
5545 "link": 452
5546 },
5547 {
5548 "localized_name": "height",
5549 "name": "height",
5550 "type": "INT",
5551 "widget": {
5552 "name": "height"
5553 },
5554 "link": 453
5555 },
5556 {
5557 "localized_name": "video_frame_offset",
5558 "name": "video_frame_offset",
5559 "type": "INT",
5560 "widget": {
5561 "name": "video_frame_offset"
5562 },
5563 "link": 493
5564 }
5565 ],
5566 "outputs": [
5567 {
5568 "localized_name": "positive",
5569 "name": "positive",
5570 "type": "CONDITIONING",
5571 "links": [
5572 213
5573 ]
5574 },
5575 {
5576 "localized_name": "negative",
5577 "name": "negative",
5578 "type": "CONDITIONING",
5579 "links": [
5580 214
5581 ]
5582 },
5583 {
5584 "localized_name": "latent",
5585 "name": "latent",
5586 "type": "LATENT",
5587 "links": [
5588 215
5589 ]
5590 },
5591 {
5592 "localized_name": "trim_latent",
5593 "name": "trim_latent",
5594 "type": "INT",
5595 "links": [
5596 218
5597 ]
5598 },
5599 {
5600 "localized_name": "trim_image",
5601 "name": "trim_image",
5602 "type": "INT",
5603 "links": [
5604 212
5605 ]
5606 },
5607 {
5608 "localized_name": "video_frame_offset",
5609 "name": "video_frame_offset",
5610 "type": "INT",
5611 "links": [
5612 523
5613 ]
5614 }
5615 ],
5616 "properties": {
5617 "Node name for S&R": "WanAnimateToVideo",
5618 "cnr_id": "comfy-core",
5619 "ver": "0.3.59"
5620 },
5621 "widgets_values": [
5622 1280,
5623 1280,
5624 77,
5625 1,
5626 5,
5627 0
5628 ]
5629 },
5630 {
5631 "id": 88,
5632 "type": "CreateVideo",
5633 "pos": [
5634 900,
5635 820
5636 ],
5637 "size": [
5638 210,
5639 78
5640 ],
5641 "flags": [],
5642 "order": 3,
5643 "mode": 0,
5644 "inputs": [
5645 {
5646 "localized_name": "images",
5647 "name": "images",
5648 "type": "IMAGE",
5649 "link": 191
5650 },
5651 {
5652 "localized_name": "audio",
5653 "name": "audio",
5654 "shape": 7,
5655 "type": "AUDIO",
5656 "link": 466
5657 },
5658 {
5659 "localized_name": "fps",
5660 "name": "fps",
5661 "type": "FLOAT",
5662 "widget": {
5663 "name": "fps"
5664 },
5665 "link": 531
5666 }
5667 ],
5668 "outputs": [
5669 {
5670 "localized_name": "VIDEO",
5671 "name": "VIDEO",
5672 "type": "VIDEO",
5673 "links": [
5674 524
5675 ]
5676 }
5677 ],
5678 "properties": {
5679 "Node name for S&R": "CreateVideo",
5680 "cnr_id": "comfy-core",
5681 "ver": "0.3.59"
5682 },
5683 "widgets_values": [
5684 16
5685 ]
5686 },
5687 {
5688 "id": 86,
5689 "type": "ImageBatch",
5690 "pos": [
5691 940,
5692 720
5693 ],
5694 "size": [
5695 140,
5696 46
5697 ],
5698 "flags": [],
5699 "order": 1,
5700 "mode": 0,
5701 "inputs": [
5702 {
5703 "localized_name": "image1",
5704 "name": "image1",
5705 "type": "IMAGE",
5706 "link": 491
5707 },
5708 {
5709 "localized_name": "image2",
5710 "name": "image2",
5711 "type": "IMAGE",
5712 "link": 445
5713 }
5714 ],
5715 "outputs": [
5716 {
5717 "localized_name": "IMAGE",
5718 "name": "IMAGE",
5719 "type": "IMAGE",
5720 "links": [
5721 191,
5722 532
5723 ]
5724 }
5725 ],
5726 "properties": {
5727 "Node name for S&R": "ImageBatch",
5728 "cnr_id": "comfy-core",
5729 "ver": "0.3.59"
5730 },
5731 "widgets_values": []
5732 },
5733 {
5734 "id": 91,
5735 "type": "KSampler",
5736 "pos": [
5737 410,
5738 750
5739 ],
5740 "size": [
5741 270,
5742 262
5743 ],
5744 "flags": [],
5745 "order": 5,
5746 "mode": 0,
5747 "inputs": [
5748 {
5749 "localized_name": "model",
5750 "name": "model",
5751 "type": "MODEL",
5752 "link": 455
5753 },
5754 {
5755 "localized_name": "positive",
5756 "name": "positive",
5757 "type": "CONDITIONING",
5758 "link": 213
5759 },
5760 {
5761 "localized_name": "negative",
5762 "name": "negative",
5763 "type": "CONDITIONING",
5764 "link": 214
5765 },
5766 {
5767 "localized_name": "latent_image",
5768 "name": "latent_image",
5769 "type": "LATENT",
5770 "link": 215
5771 },
5772 {
5773 "localized_name": "seed",
5774 "name": "seed",
5775 "type": "INT",
5776 "widget": {
5777 "name": "seed"
5778 },
5779 "link": 526
5780 },
5781 {
5782 "localized_name": "steps",
5783 "name": "steps",
5784 "type": "INT",
5785 "widget": {
5786 "name": "steps"
5787 },
5788 "link": 527
5789 },
5790 {
5791 "localized_name": "cfg",
5792 "name": "cfg",
5793 "type": "FLOAT",
5794 "widget": {
5795 "name": "cfg"
5796 },
5797 "link": 528
5798 },
5799 {
5800 "localized_name": "sampler_name",
5801 "name": "sampler_name",
5802 "type": "COMBO",
5803 "widget": {
5804 "name": "sampler_name"
5805 },
5806 "link": 529
5807 },
5808 {
5809 "localized_name": "scheduler",
5810 "name": "scheduler",
5811 "type": "COMBO",
5812 "widget": {
5813 "name": "scheduler"
5814 },
5815 "link": 530
5816 }
5817 ],
5818 "outputs": [
5819 {
5820 "localized_name": "LATENT",
5821 "name": "LATENT",
5822 "type": "LATENT",
5823 "links": [
5824 219
5825 ]
5826 }
5827 ],
5828 "properties": {
5829 "Node name for S&R": "KSampler",
5830 "cnr_id": "comfy-core",
5831 "ver": "0.3.59"
5832 },
5833 "widgets_values": [
5834 387378783691198,
5835 "fixed",
5836 6,
5837 1,
5838 "euler",
5839 "simple",
5840 1
5841 ]
5842 }
5843 ],
5844 "groups": [],
5845 "links": [
5846 {
5847 "id": 213,
5848 "origin_id": 90,
5849 "origin_slot": 0,
5850 "target_id": 91,
5851 "target_slot": 1,
5852 "type": "CONDITIONING"
5853 },
5854 {
5855 "id": 214,
5856 "origin_id": 90,
5857 "origin_slot": 1,
5858 "target_id": 91,
5859 "target_slot": 2,
5860 "type": "CONDITIONING"
5861 },
5862 {
5863 "id": 215,
5864 "origin_id": 90,
5865 "origin_slot": 2,
5866 "target_id": 91,
5867 "target_slot": 3,
5868 "type": "LATENT"
5869 },
5870 {
5871 "id": 220,
5872 "origin_id": 92,
5873 "origin_slot": 0,
5874 "target_id": 87,
5875 "target_slot": 0,
5876 "type": "LATENT"
5877 },
5878 {
5879 "id": 191,
5880 "origin_id": 86,
5881 "origin_slot": 0,
5882 "target_id": 88,
5883 "target_slot": 0,
5884 "type": "IMAGE"
5885 },
5886 {
5887 "id": 219,
5888 "origin_id": 91,
5889 "origin_slot": 0,
5890 "target_id": 92,
5891 "target_slot": 0,
5892 "type": "LATENT"
5893 },
5894 {
5895 "id": 218,
5896 "origin_id": 90,
5897 "origin_slot": 3,
5898 "target_id": 92,
5899 "target_slot": 1,
5900 "type": "INT"
5901 },
5902 {
5903 "id": 445,
5904 "origin_id": 85,
5905 "origin_slot": 0,
5906 "target_id": 86,
5907 "target_slot": 1,
5908 "type": "IMAGE"
5909 },
5910 {
5911 "id": 185,
5912 "origin_id": 87,
5913 "origin_slot": 0,
5914 "target_id": 85,
5915 "target_slot": 0,
5916 "type": "IMAGE"
5917 },
5918 {
5919 "id": 212,
5920 "origin_id": 90,
5921 "origin_slot": 4,
5922 "target_id": 85,
5923 "target_slot": 1,
5924 "type": "INT"
5925 },
5926 {
5927 "id": 455,
5928 "origin_id": -10,
5929 "origin_slot": 0,
5930 "target_id": 91,
5931 "target_slot": 0,
5932 "type": "MODEL"
5933 },
5934 {
5935 "id": 465,
5936 "origin_id": -10,
5937 "origin_slot": 1,
5938 "target_id": 87,
5939 "target_slot": 1,
5940 "type": "VAE"
5941 },
5942 {
5943 "id": 472,
5944 "origin_id": -10,
5945 "origin_slot": 1,
5946 "target_id": 90,
5947 "target_slot": 2,
5948 "type": "VAE"
5949 },
5950 {
5951 "id": 466,
5952 "origin_id": -10,
5953 "origin_slot": 2,
5954 "target_id": 88,
5955 "target_slot": 1,
5956 "type": "AUDIO"
5957 },
5958 {
5959 "id": 491,
5960 "origin_id": -10,
5961 "origin_slot": 3,
5962 "target_id": 86,
5963 "target_slot": 0,
5964 "type": "IMAGE"
5965 },
5966 {
5967 "id": 492,
5968 "origin_id": -10,
5969 "origin_slot": 3,
5970 "target_id": 90,
5971 "target_slot": 9,
5972 "type": "IMAGE"
5973 },
5974 {
5975 "id": 468,
5976 "origin_id": -10,
5977 "origin_slot": 4,
5978 "target_id": 90,
5979 "target_slot": 0,
5980 "type": "CONDITIONING"
5981 },
5982 {
5983 "id": 469,
5984 "origin_id": -10,
5985 "origin_slot": 5,
5986 "target_id": 90,
5987 "target_slot": 1,
5988 "type": "CONDITIONING"
5989 },
5990 {
5991 "id": 473,
5992 "origin_id": -10,
5993 "origin_slot": 6,
5994 "target_id": 90,
5995 "target_slot": 3,
5996 "type": "CLIP_VISION_OUTPUT"
5997 },
5998 {
5999 "id": 476,
6000 "origin_id": -10,
6001 "origin_slot": 7,
6002 "target_id": 90,
6003 "target_slot": 4,
6004 "type": "IMAGE"
6005 },
6006 {
6007 "id": 460,
6008 "origin_id": -10,
6009 "origin_slot": 8,
6010 "target_id": 90,
6011 "target_slot": 5,
6012 "type": "IMAGE"
6013 },
6014 {
6015 "id": 462,
6016 "origin_id": -10,
6017 "origin_slot": 9,
6018 "target_id": 90,
6019 "target_slot": 6,
6020 "type": "IMAGE"
6021 },
6022 {
6023 "id": 420,
6024 "origin_id": -10,
6025 "origin_slot": 10,
6026 "target_id": 90,
6027 "target_slot": 7,
6028 "type": "IMAGE"
6029 },
6030 {
6031 "id": 421,
6032 "origin_id": -10,
6033 "origin_slot": 11,
6034 "target_id": 90,
6035 "target_slot": 8,
6036 "type": "MASK"
6037 },
6038 {
6039 "id": 452,
6040 "origin_id": -10,
6041 "origin_slot": 12,
6042 "target_id": 90,
6043 "target_slot": 10,
6044 "type": "INT"
6045 },
6046 {
6047 "id": 453,
6048 "origin_id": -10,
6049 "origin_slot": 12,
6050 "target_id": 90,
6051 "target_slot": 11,
6052 "type": "INT"
6053 },
6054 {
6055 "id": 493,
6056 "origin_id": -10,
6057 "origin_slot": 13,
6058 "target_id": 90,
6059 "target_slot": 12,
6060 "type": "INT"
6061 },
6062 {
6063 "id": 523,
6064 "origin_id": 90,
6065 "origin_slot": 5,
6066 "target_id": -20,
6067 "target_slot": 1,
6068 "type": "INT"
6069 },
6070 {
6071 "id": 524,
6072 "origin_id": 88,
6073 "origin_slot": 0,
6074 "target_id": -20,
6075 "target_slot": 2,
6076 "type": "VIDEO"
6077 },
6078 {
6079 "id": 526,
6080 "origin_id": -10,
6081 "origin_slot": 14,
6082 "target_id": 91,
6083 "target_slot": 4,
6084 "type": "INT"
6085 },
6086 {
6087 "id": 527,
6088 "origin_id": -10,
6089 "origin_slot": 15,
6090 "target_id": 91,
6091 "target_slot": 5,
6092 "type": "INT"
6093 },
6094 {
6095 "id": 528,
6096 "origin_id": -10,
6097 "origin_slot": 16,
6098 "target_id": 91,
6099 "target_slot": 6,
6100 "type": "FLOAT"
6101 },
6102 {
6103 "id": 529,
6104 "origin_id": -10,
6105 "origin_slot": 17,
6106 "target_id": 91,
6107 "target_slot": 7,
6108 "type": "COMBO"
6109 },
6110 {
6111 "id": 530,
6112 "origin_id": -10,
6113 "origin_slot": 18,
6114 "target_id": 91,
6115 "target_slot": 8,
6116 "type": "COMBO"
6117 },
6118 {
6119 "id": 531,
6120 "origin_id": -10,
6121 "origin_slot": 19,
6122 "target_id": 88,
6123 "target_slot": 2,
6124 "type": "FLOAT"
6125 },
6126 {
6127 "id": 532,
6128 "origin_id": 86,
6129 "origin_slot": 0,
6130 "target_id": -20,
6131 "target_slot": 0,
6132 "type": "IMAGE"
6133 }
6134 ],
6135 "extra": []
6136 }
6137 ]
6138 },
6139 "config": [],
6140 "extra": {
6141 "ds": {
6142 "scale": 0.2755949068864249,
6143 "offset": [
6144 3761.4008595142814,
6145 997.7831727528201
6146 ]
6147 },
6148 "frontendVersion": "1.32.1",
6149 "VHS_latentpreview": false,
6150 "VHS_latentpreviewrate": 0,
6151 "VHS_MetadataImage": true,
6152 "VHS_KeepIntermediate": true
6153 },
6154 "version": 0.4
6155}