ComfyPilotComfyPilot
工作流 / 角色与时尚 / Wan2.2 Animate:自动角色替换
Wan2.2 Animate:自动角色替换

Wan2.2 Animate:自动角色替换

Wan2.2 Animate: Automatic Character Replacement

上传视频和角色图像。使用Wan2.2 Animate模型自动替换视频中的角色。

角色与时尚 8 个节点 2 个输入 325 次使用 ComfyUI ≥ 0.3.60 PurzBeats 99 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

需要的权重

这个工作流引用了 7 个权重文件,其中 5 个能在本站模型库里找到。

Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors 在模型库查看
WanAnimate_relight_lora_fp16.safetensors 模型库暂未收录
clip_vision_h.safetensors 在模型库查看
lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors 在模型库查看
sam2.1_hiera_base_plus.safetensors 模型库暂未收录
umt5_xxl_fp8_e4m3fn_scaled.safetensors 在模型库查看
wan_2.1_vae.safetensors 在模型库查看

节点构成

PrimitiveInt × 2
VHS_VideoInfo × 1
LoadImage × 1
b396d3e6-70cc-4a91-81db-6e0399a4edb6 × 1
MarkdownNote × 1
SaveVideo × 1
VHS_LoadVideo × 1

官方标注的模型

wan2.2 Animate

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "ba1df054-50a8-4da2-b45a-25b4dde3cc2f",
3 "revision": 0,
4 "last_node_id": 348,
5 "last_link_id": 851,
6 "nodes": [
7 {
8 "id": 314,
9 "type": "VHS_VideoInfo",
10 "pos": [
11 -3243.3333333333335,
12 -335
13 ],
14 "size": [
15 255.078125,
16 239.73958333333334
17 ],
18 "flags": {
19 "collapsed": false
20 },
21 "order": 5,
22 "mode": 0,
23 "inputs": [
24 {
25 "name": "video_info",
26 "type": "VHS_VIDEOINFO",
27 "link": 769
28 }
29 ],
30 "outputs": [
31 {
32 "name": "source_fps🟨",
33 "type": "FLOAT",
34 "links": [
35 834
36 ]
37 },
38 {
39 "name": "source_frame_count🟨",
40 "type": "INT",
41 "links": null
42 },
43 {
44 "name": "source_duration🟨",
45 "type": "FLOAT",
46 "links": null
47 },
48 {
49 "name": "source_width🟨",
50 "type": "INT",
51 "links": null
52 },
53 {
54 "name": "source_height🟨",
55 "type": "INT",
56 "links": null
57 },
58 {
59 "name": "loaded_fps🟦",
60 "type": "FLOAT",
61 "links": null
62 },
63 {
64 "name": "loaded_frame_count🟦",
65 "type": "INT",
66 "links": null
67 },
68 {
69 "name": "loaded_duration🟦",
70 "type": "FLOAT",
71 "links": null
72 },
73 {
74 "name": "loaded_width🟦",
75 "type": "INT",
76 "links": null
77 },
78 {
79 "name": "loaded_height🟦",
80 "type": "INT",
81 "links": null
82 }
83 ],
84 "properties": {
85 "Node name for S&R": "VHS_VideoInfo"
86 },
87 "widgets_values": []
88 },
89 {
90 "id": 10,
91 "type": "LoadImage",
92 "pos": [
93 -3870,
94 -70
95 ],
96 "size": [
97 339.97395833333337,
98 439.97395833333337
99 ],
100 "flags": [],
101 "order": 0,
102 "mode": 0,
103 "inputs": [],
104 "outputs": [
105 {
106 "name": "IMAGE",
107 "type": "IMAGE",
108 "slot_index": 0,
109 "links": [
110 838
111 ]
112 },
113 {
114 "name": "MASK",
115 "type": "MASK",
116 "slot_index": 1,
117 "links": null
118 }
119 ],
120 "title": "Reference Image",
121 "properties": {
122 "Node name for S&R": "LoadImage",
123 "cnr_id": "comfy-core",
124 "ver": "0.3.59"
125 },
126 "widgets_values": [
127 "old_man_dancing.jpg",
128 "image"
129 ]
130 },
131 {
132 "id": 344,
133 "type": "b396d3e6-70cc-4a91-81db-6e0399a4edb6",
134 "pos": [
135 -2968.3333333333335,
136 -335
137 ],
138 "size": [
139 319.0104166666667,
140 484.0104166666667
141 ],
142 "flags": [],
143 "order": 6,
144 "mode": 0,
145 "inputs": [
146 {
147 "name": "fps",
148 "type": "FLOAT",
149 "widget": {
150 "name": "fps"
151 },
152 "link": 834
153 },
154 {
155 "label": "input_video",
156 "name": "image",
157 "type": "IMAGE",
158 "link": 835
159 },
160 {
161 "name": "width",
162 "type": "INT",
163 "widget": {
164 "name": "width"
165 },
166 "link": 836
167 },
168 {
169 "name": "height",
170 "type": "INT",
171 "widget": {
172 "name": "height"
173 },
174 "link": 837
175 },
176 {
177 "label": "reference_image",
178 "name": "image_1",
179 "type": "IMAGE",
180 "link": 838
181 },
182 {
183 "name": "length",
184 "type": "INT",
185 "widget": {
186 "name": "length"
187 },
188 "link": 844
189 }
190 ],
191 "outputs": [
192 {
193 "name": "VIDEO",
194 "type": "VIDEO",
195 "links": [
196 839
197 ]
198 }
199 ],
200 "properties": {
201 "proxyWidgets": [
202 [
203 "-1",
204 "fps"
205 ],
206 [
207 "-1",
208 "width"
209 ],
210 [
211 "-1",
212 "height"
213 ],
214 [
215 "-1",
216 "text"
217 ],
218 [
219 "-1",
220 "length"
221 ]
222 ]
223 },
224 "widgets_values": []
225 },
226 {
227 "id": 160,
228 "type": "PrimitiveInt",
229 "pos": [
230 -3870,
231 -210
232 ],
233 "size": [
234 330,
235 82
236 ],
237 "flags": [],
238 "order": 1,
239 "mode": 0,
240 "inputs": [],
241 "outputs": [
242 {
243 "name": "INT",
244 "type": "INT",
245 "links": [
246 837
247 ]
248 }
249 ],
250 "title": "Height",
251 "properties": {
252 "Node name for S&R": "PrimitiveInt",
253 "cnr_id": "comfy-core",
254 "ver": "0.3.59"
255 },
256 "widgets_values": [
257 720,
258 "fixed"
259 ]
260 },
261 {
262 "id": 159,
263 "type": "PrimitiveInt",
264 "pos": [
265 -3870,
266 -340
267 ],
268 "size": [
269 330,
270 82
271 ],
272 "flags": [],
273 "order": 2,
274 "mode": 0,
275 "inputs": [],
276 "outputs": [
277 {
278 "name": "INT",
279 "type": "INT",
280 "links": [
281 836
282 ]
283 }
284 ],
285 "title": "Width",
286 "properties": {
287 "Node name for S&R": "PrimitiveInt",
288 "cnr_id": "comfy-core",
289 "ver": "0.3.59"
290 },
291 "widgets_values": [
292 720,
293 "fixed"
294 ]
295 },
296 {
297 "id": 347,
298 "type": "MarkdownNote",
299 "pos": [
300 -4450,
301 -340
302 ],
303 "size": [
304 546.484375,
305 1037.890625
306 ],
307 "flags": [],
308 "order": 3,
309 "mode": 0,
310 "inputs": [],
311 "outputs": [],
312 "title": "🎬 Wan 2.2 Animate – Automated Character Replace Workflow",
313 "properties": [],
314 "widgets_values": [
315 "This workflow takes an input video + reference image and generates an animated result using **Wan 2.2 Animate (Character Replace)**.\n\n> ⚠️ Works best when the **reference image is a person**. \nHuman subjects (clear face + body) produce the most stable and convincing results.\n\n## 1️⃣ Set Target Resolution (Top Left)\n\nUse the **Width** and **Height** nodes (top left) to define output resolution.\n\n**Recommended:**\n- ✅ Stay around **720p** (e.g. 720x720 or 832x480)\n- ⚠️ 1080p may error depending on VRAM\n- Higher resolutions = higher instability\n\n> Both the input video and reference image are **center-cropped** to match the target resolution.\n\n## 2️⃣ Control Frame Count\n\nIn the **Input Video** node, use:\n\n`frame_load_cap`\n\nto control how many frames are processed.\n\n**Recommended range:**\n- 🎯 **77–150 frames**\n\nLower = faster + less likely to crash\nHigher = heavier VRAM usage\n\n## 3️⃣ Wan 2.2 Animate Node\n\n- Connect `input_video`\n- Connect `reference_image`\n- Set FPS (30 is typical)\n- Add your prompt describing motion or behavior\n\nExample:\n\nthe person is dancing\n\n## 4️⃣ Export\n\nThe **Save Video** node outputs the final animation.\n\n## ⚙️ Stability Guidelines\n\n- Stick to ~720p\n- Keep frames under ~150\n- 1080p may fail without significant VRAM\n- Everything is **center-cropped**\n- Best results with **clear human reference images**\n\nResolution → Frame Cap → Prompt → Render."
316 ],
317 "color": "#222",
318 "bgcolor": "#000"
319 },
320 {
321 "id": 19,
322 "type": "SaveVideo",
323 "pos": [
324 -2610,
325 -340
326 ],
327 "size": [
328 459.89583333333337,
329 915.7552083333334
330 ],
331 "flags": [],
332 "order": 7,
333 "mode": 0,
334 "inputs": [
335 {
336 "name": "video",
337 "type": "VIDEO",
338 "link": 839
339 }
340 ],
341 "outputs": [],
342 "properties": {
343 "Node name for S&R": "SaveVideo",
344 "cnr_id": "comfy-core",
345 "ver": "0.3.59"
346 },
347 "widgets_values": [
348 "video/ComfyUI",
349 "auto",
350 "auto"
351 ]
352 },
353 {
354 "id": 301,
355 "type": "VHS_LoadVideo",
356 "pos": [
357 -3510,
358 -335
359 ],
360 "size": [
361 247.39583333333334,
362 310
363 ],
364 "flags": [],
365 "order": 4,
366 "mode": 0,
367 "inputs": [
368 {
369 "name": "meta_batch",
370 "shape": 7,
371 "type": "VHS_BatchManager",
372 "link": null
373 },
374 {
375 "name": "vae",
376 "shape": 7,
377 "type": "VAE",
378 "link": null
379 }
380 ],
381 "outputs": [
382 {
383 "name": "IMAGE",
384 "type": "IMAGE",
385 "links": [
386 835
387 ]
388 },
389 {
390 "name": "frame_count",
391 "type": "INT",
392 "links": [
393 844
394 ]
395 },
396 {
397 "name": "audio",
398 "type": "AUDIO",
399 "links": null
400 },
401 {
402 "name": "video_info",
403 "type": "VHS_VIDEOINFO",
404 "links": [
405 769
406 ]
407 }
408 ],
409 "title": "Input Video",
410 "properties": {
411 "Node name for S&R": "VHS_LoadVideo"
412 },
413 "widgets_values": {
414 "video": "wan22-animate-auto-character_replace-input.mp4",
415 "force_rate": 0,
416 "custom_width": 0,
417 "custom_height": 0,
418 "frame_load_cap": 0,
419 "skip_first_frames": 0,
420 "select_every_nth": 1,
421 "format": "AnimateDiff",
422 "videopreview": {
423 "hidden": false,
424 "paused": false,
425 "params": {
426 "force_rate": 0,
427 "custom_width": 0,
428 "custom_height": 0,
429 "frame_load_cap": 0,
430 "skip_first_frames": 0,
431 "select_every_nth": 1,
432 "filename": "wan22-animate-auto-character_replace-input.mp4",
433 "type": "input",
434 "format": "video/mp4"
435 }
436 }
437 }
438 }
439 ],
440 "links": [
441 [
442 769,
443 301,
444 3,
445 314,
446 0,
447 "VHS_VIDEOINFO"
448 ],
449 [
450 834,
451 314,
452 0,
453 344,
454 0,
455 "FLOAT"
456 ],
457 [
458 835,
459 301,
460 0,
461 344,
462 1,
463 "IMAGE"
464 ],
465 [
466 836,
467 159,
468 0,
469 344,
470 2,
471 "INT"
472 ],
473 [
474 837,
475 160,
476 0,
477 344,
478 3,
479 "INT"
480 ],
481 [
482 838,
483 10,
484 0,
485 344,
486 4,
487 "IMAGE"
488 ],
489 [
490 839,
491 344,
492 0,
493 19,
494 0,
495 "VIDEO"
496 ],
497 [
498 844,
499 301,
500 1,
501 344,
502 5,
503 "INT"
504 ]
505 ],
506 "groups": [],
507 "definitions": {
508 "subgraphs": [
509 {
510 "id": "90db3fa1-b7fd-4c97-90a4-3e9533589dce",
511 "version": 1,
512 "state": {
513 "lastGroupId": 16,
514 "lastNodeId": 348,
515 "lastLinkId": 851,
516 "lastRerouteId": 0
517 },
518 "revision": 0,
519 "config": [],
520 "name": "Video Sampling and output(Subgraph)",
521 "inputNode": {
522 "id": -10,
523 "bounding": [
524 -348.07421875,
525 -104,
526 143.494140625,
527 440
528 ]
529 },
530 "outputNode": {
531 "id": -20,
532 "bounding": [
533 1370,
534 -90,
535 147.935546875,
536 100
537 ]
538 },
539 "inputs": [
540 {
541 "id": "a65c1a6f-1c56-4db6-bc46-0d762e228140",
542 "name": "model",
543 "type": "MODEL",
544 "linkIds": [
545 454
546 ],
547 "localized_name": "model",
548 "pos": [
549 -224.580078125,
550 -84
551 ]
552 },
553 {
554 "id": "f60a003a-5f70-4edb-87d2-49249b63ac60",
555 "name": "audio",
556 "type": "AUDIO",
557 "linkIds": [
558 463
559 ],
560 "localized_name": "audio",
561 "shape": 7,
562 "pos": [
563 -224.580078125,
564 -64
565 ]
566 },
567 {
568 "id": "3eba0674-9407-48ab-8416-23357fefa5e4",
569 "name": "vae",
570 "type": "VAE",
571 "linkIds": [
572 464,
573 471
574 ],
575 "localized_name": "vae",
576 "pos": [
577 -224.580078125,
578 -44
579 ]
580 },
581 {
582 "id": "8c5ba174-3dac-4830-989d-2ffd194a4638",
583 "name": "positive",
584 "type": "CONDITIONING",
585 "linkIds": [
586 467
587 ],
588 "localized_name": "positive",
589 "pos": [
590 -224.580078125,
591 -24
592 ]
593 },
594 {
595 "id": "1047fa35-1365-4dfc-b7f1-a5869b601a89",
596 "name": "negative",
597 "type": "CONDITIONING",
598 "linkIds": [
599 470
600 ],
601 "localized_name": "negative",
602 "pos": [
603 -224.580078125,
604 -4
605 ]
606 },
607 {
608 "id": "04a00ce5-40d1-46a0-9478-9aba0778b80b",
609 "name": "clip_vision_output",
610 "type": "CLIP_VISION_OUTPUT",
611 "linkIds": [
612 474
613 ],
614 "localized_name": "clip_vision_output",
615 "shape": 7,
616 "pos": [
617 -224.580078125,
618 16
619 ]
620 },
621 {
622 "id": "9ed8853f-bd73-4728-be35-ed4d4a177059",
623 "name": "reference_image",
624 "type": "IMAGE",
625 "linkIds": [
626 475
627 ],
628 "localized_name": "reference_image",
629 "shape": 7,
630 "pos": [
631 -224.580078125,
632 36
633 ]
634 },
635 {
636 "id": "2b62e853-eb8b-4d69-bf22-1f0822d3e56d",
637 "name": "face_video",
638 "type": "IMAGE",
639 "linkIds": [
640 459
641 ],
642 "localized_name": "face_video",
643 "shape": 7,
644 "pos": [
645 -224.580078125,
646 56
647 ]
648 },
649 {
650 "id": "3136835f-c045-4f05-a970-3adafd321465",
651 "name": "pose_video",
652 "type": "IMAGE",
653 "linkIds": [
654 461
655 ],
656 "localized_name": "pose_video",
657 "shape": 7,
658 "pos": [
659 -224.580078125,
660 76
661 ]
662 },
663 {
664 "id": "5ad7efd4-462f-41d0-8340-4afd50c5f348",
665 "name": "background_video",
666 "type": "IMAGE",
667 "linkIds": [
668 419
669 ],
670 "localized_name": "background_video",
671 "shape": 7,
672 "pos": [
673 -224.580078125,
674 96
675 ]
676 },
677 {
678 "id": "ca1d3a4d-4e24-4d7e-8f09-806712fd4bc9",
679 "name": "character_mask",
680 "type": "MASK",
681 "linkIds": [
682 418
683 ],
684 "localized_name": "character_mask",
685 "shape": 7,
686 "pos": [
687 -224.580078125,
688 116
689 ]
690 },
691 {
692 "id": "f39fd571-8756-4c88-bc40-9055450f6e00",
693 "name": "width",
694 "type": "INT",
695 "linkIds": [
696 450
697 ],
698 "localized_name": "width",
699 "pos": [
700 -224.580078125,
701 136
702 ]
703 },
704 {
705 "id": "02628a20-dd6c-44e6-9012-b6d0bf61a93f",
706 "name": "height",
707 "type": "INT",
708 "linkIds": [
709 451
710 ],
711 "localized_name": "height",
712 "pos": [
713 -224.580078125,
714 156
715 ]
716 },
717 {
718 "id": "066ae061-5d3e-473f-8a83-8517c605e63d",
719 "name": "fps",
720 "type": "FLOAT",
721 "linkIds": [
722 477
723 ],
724 "pos": [
725 -224.580078125,
726 176
727 ]
728 },
729 {
730 "id": "fbbe4cdd-2580-486a-8d7c-53f1dc0a4034",
731 "name": "seed",
732 "type": "INT",
733 "linkIds": [
734 478
735 ],
736 "pos": [
737 -224.580078125,
738 196
739 ]
740 },
741 {
742 "id": "4bf86876-244b-49d0-a6f5-f8b98de0ac50",
743 "name": "steps",
744 "type": "INT",
745 "linkIds": [
746 479
747 ],
748 "pos": [
749 -224.580078125,
750 216
751 ]
752 },
753 {
754 "id": "43112400-97ac-4ab9-8c6e-1bd62e32f8d4",
755 "name": "cfg",
756 "type": "FLOAT",
757 "linkIds": [
758 480
759 ],
760 "pos": [
761 -224.580078125,
762 236
763 ]
764 },
765 {
766 "id": "294b0d0a-7b7b-4953-8a86-37440b22099b",
767 "name": "sampler_name",
768 "type": "COMBO",
769 "linkIds": [
770 481
771 ],
772 "pos": [
773 -224.580078125,
774 256
775 ]
776 },
777 {
778 "id": "37d706a5-cf01-4275-917d-ffda1eb0af23",
779 "name": "scheduler",
780 "type": "COMBO",
781 "linkIds": [
782 482
783 ],
784 "pos": [
785 -224.580078125,
786 276
787 ]
788 },
789 {
790 "id": "4cdaa85e-0c3d-44c6-88eb-066640c2998f",
791 "name": "length",
792 "type": "INT",
793 "linkIds": [
794 841
795 ],
796 "pos": [
797 -224.580078125,
798 296
799 ]
800 }
801 ],
802 "outputs": [
803 {
804 "id": "321201d9-6a87-48bc-a8e3-2d13f32a546f",
805 "name": "VIDEO",
806 "type": "VIDEO",
807 "linkIds": [
808 17
809 ],
810 "localized_name": "VIDEO",
811 "pos": [
812 1390,
813 -70
814 ]
815 },
816 {
817 "id": "bc8f831d-427d-4b69-9bfc-50760cbb1ee4",
818 "name": "IMAGE",
819 "type": "IMAGE",
820 "linkIds": [
821 187,
822 208
823 ],
824 "localized_name": "IMAGE",
825 "pos": [
826 1390,
827 -50
828 ]
829 },
830 {
831 "id": "2b09b619-743f-45f6-a120-44694d4018b6",
832 "name": "video_frame_offset",
833 "type": "INT",
834 "linkIds": [
835 439
836 ],
837 "localized_name": "video_frame_offset",
838 "pos": [
839 1390,
840 -30
841 ]
842 }
843 ],
844 "widgets": [],
845 "nodes": [
846 {
847 "id": 62,
848 "type": "WanAnimateToVideo",
849 "pos": [
850 -100,
851 -50
852 ],
853 "size": [
854 324.73958333333337,
855 399.6875
856 ],
857 "flags": [],
858 "order": 3,
859 "mode": 0,
860 "inputs": [
861 {
862 "localized_name": "positive",
863 "name": "positive",
864 "type": "CONDITIONING",
865 "link": 467
866 },
867 {
868 "localized_name": "negative",
869 "name": "negative",
870 "type": "CONDITIONING",
871 "link": 470
872 },
873 {
874 "localized_name": "vae",
875 "name": "vae",
876 "type": "VAE",
877 "link": 471
878 },
879 {
880 "localized_name": "clip_vision_output",
881 "name": "clip_vision_output",
882 "shape": 7,
883 "type": "CLIP_VISION_OUTPUT",
884 "link": 474
885 },
886 {
887 "localized_name": "reference_image",
888 "name": "reference_image",
889 "shape": 7,
890 "type": "IMAGE",
891 "link": 475
892 },
893 {
894 "localized_name": "face_video",
895 "name": "face_video",
896 "shape": 7,
897 "type": "IMAGE",
898 "link": 459
899 },
900 {
901 "localized_name": "pose_video",
902 "name": "pose_video",
903 "shape": 7,
904 "type": "IMAGE",
905 "link": 461
906 },
907 {
908 "localized_name": "background_video",
909 "name": "background_video",
910 "shape": 7,
911 "type": "IMAGE",
912 "link": 419
913 },
914 {
915 "localized_name": "character_mask",
916 "name": "character_mask",
917 "shape": 7,
918 "type": "MASK",
919 "link": 418
920 },
921 {
922 "localized_name": "continue_motion",
923 "name": "continue_motion",
924 "shape": 7,
925 "type": "IMAGE",
926 "link": null
927 },
928 {
929 "localized_name": "width",
930 "name": "width",
931 "type": "INT",
932 "widget": {
933 "name": "width"
934 },
935 "link": 450
936 },
937 {
938 "localized_name": "height",
939 "name": "height",
940 "type": "INT",
941 "widget": {
942 "name": "height"
943 },
944 "link": 451
945 },
946 {
947 "localized_name": "length",
948 "name": "length",
949 "type": "INT",
950 "widget": {
951 "name": "length"
952 },
953 "link": 841
954 }
955 ],
956 "outputs": [
957 {
958 "localized_name": "positive",
959 "name": "positive",
960 "type": "CONDITIONING",
961 "links": [
962 154
963 ]
964 },
965 {
966 "localized_name": "negative",
967 "name": "negative",
968 "type": "CONDITIONING",
969 "links": [
970 155
971 ]
972 },
973 {
974 "localized_name": "latent",
975 "name": "latent",
976 "type": "LATENT",
977 "links": [
978 156
979 ]
980 },
981 {
982 "localized_name": "trim_latent",
983 "name": "trim_latent",
984 "type": "INT",
985 "links": [
986 152
987 ]
988 },
989 {
990 "localized_name": "trim_image",
991 "name": "trim_image",
992 "type": "INT",
993 "links": [
994 442
995 ]
996 },
997 {
998 "localized_name": "video_frame_offset",
999 "name": "video_frame_offset",
1000 "type": "INT",
1001 "links": [
1002 439
1003 ]
1004 }
1005 ],
1006 "properties": {
1007 "Node name for S&R": "WanAnimateToVideo",
1008 "cnr_id": "comfy-core",
1009 "ver": "0.3.59"
1010 },
1011 "widgets_values": [
1012 832,
1013 480,
1014 77,
1015 1,
1016 5,
1017 0
1018 ]
1019 },
1020 {
1021 "id": 63,
1022 "type": "KSampler",
1023 "pos": [
1024 300,
1025 -60
1026 ],
1027 "size": [
1028 270,
1029 262
1030 ],
1031 "flags": [],
1032 "order": 4,
1033 "mode": 0,
1034 "inputs": [
1035 {
1036 "localized_name": "model",
1037 "name": "model",
1038 "type": "MODEL",
1039 "link": 454
1040 },
1041 {
1042 "localized_name": "positive",
1043 "name": "positive",
1044 "type": "CONDITIONING",
1045 "link": 154
1046 },
1047 {
1048 "localized_name": "negative",
1049 "name": "negative",
1050 "type": "CONDITIONING",
1051 "link": 155
1052 },
1053 {
1054 "localized_name": "latent_image",
1055 "name": "latent_image",
1056 "type": "LATENT",
1057 "link": 156
1058 },
1059 {
1060 "localized_name": "seed",
1061 "name": "seed",
1062 "type": "INT",
1063 "widget": {
1064 "name": "seed"
1065 },
1066 "link": 478
1067 },
1068 {
1069 "localized_name": "steps",
1070 "name": "steps",
1071 "type": "INT",
1072 "widget": {
1073 "name": "steps"
1074 },
1075 "link": 479
1076 },
1077 {
1078 "localized_name": "cfg",
1079 "name": "cfg",
1080 "type": "FLOAT",
1081 "widget": {
1082 "name": "cfg"
1083 },
1084 "link": 480
1085 },
1086 {
1087 "localized_name": "sampler_name",
1088 "name": "sampler_name",
1089 "type": "COMBO",
1090 "widget": {
1091 "name": "sampler_name"
1092 },
1093 "link": 481
1094 },
1095 {
1096 "localized_name": "scheduler",
1097 "name": "scheduler",
1098 "type": "COMBO",
1099 "widget": {
1100 "name": "scheduler"
1101 },
1102 "link": 482
1103 }
1104 ],
1105 "outputs": [
1106 {
1107 "localized_name": "LATENT",
1108 "name": "LATENT",
1109 "type": "LATENT",
1110 "links": [
1111 157
1112 ]
1113 }
1114 ],
1115 "properties": {
1116 "Node name for S&R": "KSampler",
1117 "cnr_id": "comfy-core",
1118 "ver": "0.3.59"
1119 },
1120 "widgets_values": [
1121 1106558644923357,
1122 "randomize",
1123 6,
1124 1,
1125 "euler",
1126 "simple",
1127 1
1128 ]
1129 },
1130 {
1131 "id": 58,
1132 "type": "VAEDecode",
1133 "pos": [
1134 650,
1135 80
1136 ],
1137 "size": [
1138 209.98697916666669,
1139 59.8046875
1140 ],
1141 "flags": [],
1142 "order": 2,
1143 "mode": 0,
1144 "inputs": [
1145 {
1146 "localized_name": "samples",
1147 "name": "samples",
1148 "type": "LATENT",
1149 "link": 127
1150 },
1151 {
1152 "localized_name": "vae",
1153 "name": "vae",
1154 "type": "VAE",
1155 "link": 464
1156 }
1157 ],
1158 "outputs": [
1159 {
1160 "localized_name": "IMAGE",
1161 "name": "IMAGE",
1162 "type": "IMAGE",
1163 "slot_index": 0,
1164 "links": [
1165 187,
1166 208,
1167 440
1168 ]
1169 }
1170 ],
1171 "properties": {
1172 "Node name for S&R": "VAEDecode",
1173 "cnr_id": "comfy-core",
1174 "ver": "0.3.59"
1175 },
1176 "widgets_values": []
1177 },
1178 {
1179 "id": 230,
1180 "type": "ImageFromBatch",
1181 "pos": [
1182 610,
1183 220
1184 ],
1185 "size": [
1186 269.97395833333337,
1187 93.125
1188 ],
1189 "flags": [],
1190 "order": 5,
1191 "mode": 0,
1192 "inputs": [
1193 {
1194 "localized_name": "image",
1195 "name": "image",
1196 "type": "IMAGE",
1197 "link": 440
1198 },
1199 {
1200 "localized_name": "batch_index",
1201 "name": "batch_index",
1202 "type": "INT",
1203 "widget": {
1204 "name": "batch_index"
1205 },
1206 "link": 442
1207 }
1208 ],
1209 "outputs": [
1210 {
1211 "localized_name": "IMAGE",
1212 "name": "IMAGE",
1213 "type": "IMAGE",
1214 "links": [
1215 441
1216 ]
1217 }
1218 ],
1219 "properties": {
1220 "Node name for S&R": "ImageFromBatch",
1221 "cnr_id": "comfy-core",
1222 "ver": "0.3.59"
1223 },
1224 "widgets_values": [
1225 0,
1226 4096
1227 ]
1228 },
1229 {
1230 "id": 15,
1231 "type": "CreateVideo",
1232 "pos": [
1233 940,
1234 -30
1235 ],
1236 "size": [
1237 269.97395833333337,
1238 86.45833333333334
1239 ],
1240 "flags": [],
1241 "order": 0,
1242 "mode": 0,
1243 "inputs": [
1244 {
1245 "localized_name": "images",
1246 "name": "images",
1247 "type": "IMAGE",
1248 "link": 441
1249 },
1250 {
1251 "localized_name": "audio",
1252 "name": "audio",
1253 "shape": 7,
1254 "type": "AUDIO",
1255 "link": 463
1256 },
1257 {
1258 "localized_name": "fps",
1259 "name": "fps",
1260 "type": "FLOAT",
1261 "widget": {
1262 "name": "fps"
1263 },
1264 "link": 477
1265 }
1266 ],
1267 "outputs": [
1268 {
1269 "localized_name": "VIDEO",
1270 "name": "VIDEO",
1271 "type": "VIDEO",
1272 "links": [
1273 17
1274 ]
1275 }
1276 ],
1277 "properties": {
1278 "Node name for S&R": "CreateVideo",
1279 "cnr_id": "comfy-core",
1280 "ver": "0.3.59"
1281 },
1282 "widgets_values": [
1283 30
1284 ]
1285 },
1286 {
1287 "id": 57,
1288 "type": "TrimVideoLatent",
1289 "pos": [
1290 630,
1291 -60
1292 ],
1293 "size": [
1294 269.97395833333337,
1295 66.47135416666667
1296 ],
1297 "flags": [],
1298 "order": 1,
1299 "mode": 0,
1300 "inputs": [
1301 {
1302 "localized_name": "samples",
1303 "name": "samples",
1304 "type": "LATENT",
1305 "link": 157
1306 },
1307 {
1308 "localized_name": "trim_amount",
1309 "name": "trim_amount",
1310 "type": "INT",
1311 "widget": {
1312 "name": "trim_amount"
1313 },
1314 "link": 152
1315 }
1316 ],
1317 "outputs": [
1318 {
1319 "localized_name": "LATENT",
1320 "name": "LATENT",
1321 "type": "LATENT",
1322 "links": [
1323 127
1324 ]
1325 }
1326 ],
1327 "properties": {
1328 "Node name for S&R": "TrimVideoLatent",
1329 "cnr_id": "comfy-core",
1330 "ver": "0.3.59"
1331 },
1332 "widgets_values": [
1333 0
1334 ]
1335 }
1336 ],
1337 "groups": [],
1338 "links": [
1339 {
1340 "id": 154,
1341 "origin_id": 62,
1342 "origin_slot": 0,
1343 "target_id": 63,
1344 "target_slot": 1,
1345 "type": "CONDITIONING"
1346 },
1347 {
1348 "id": 155,
1349 "origin_id": 62,
1350 "origin_slot": 1,
1351 "target_id": 63,
1352 "target_slot": 2,
1353 "type": "CONDITIONING"
1354 },
1355 {
1356 "id": 156,
1357 "origin_id": 62,
1358 "origin_slot": 2,
1359 "target_id": 63,
1360 "target_slot": 3,
1361 "type": "LATENT"
1362 },
1363 {
1364 "id": 157,
1365 "origin_id": 63,
1366 "origin_slot": 0,
1367 "target_id": 57,
1368 "target_slot": 0,
1369 "type": "LATENT"
1370 },
1371 {
1372 "id": 152,
1373 "origin_id": 62,
1374 "origin_slot": 3,
1375 "target_id": 57,
1376 "target_slot": 1,
1377 "type": "INT"
1378 },
1379 {
1380 "id": 441,
1381 "origin_id": 230,
1382 "origin_slot": 0,
1383 "target_id": 15,
1384 "target_slot": 0,
1385 "type": "IMAGE"
1386 },
1387 {
1388 "id": 127,
1389 "origin_id": 57,
1390 "origin_slot": 0,
1391 "target_id": 58,
1392 "target_slot": 0,
1393 "type": "LATENT"
1394 },
1395 {
1396 "id": 440,
1397 "origin_id": 58,
1398 "origin_slot": 0,
1399 "target_id": 230,
1400 "target_slot": 0,
1401 "type": "IMAGE"
1402 },
1403 {
1404 "id": 442,
1405 "origin_id": 62,
1406 "origin_slot": 4,
1407 "target_id": 230,
1408 "target_slot": 1,
1409 "type": "INT"
1410 },
1411 {
1412 "id": 454,
1413 "origin_id": -10,
1414 "origin_slot": 0,
1415 "target_id": 63,
1416 "target_slot": 0,
1417 "type": "MODEL"
1418 },
1419 {
1420 "id": 463,
1421 "origin_id": -10,
1422 "origin_slot": 1,
1423 "target_id": 15,
1424 "target_slot": 1,
1425 "type": "AUDIO"
1426 },
1427 {
1428 "id": 464,
1429 "origin_id": -10,
1430 "origin_slot": 2,
1431 "target_id": 58,
1432 "target_slot": 1,
1433 "type": "VAE"
1434 },
1435 {
1436 "id": 471,
1437 "origin_id": -10,
1438 "origin_slot": 2,
1439 "target_id": 62,
1440 "target_slot": 2,
1441 "type": "VAE"
1442 },
1443 {
1444 "id": 467,
1445 "origin_id": -10,
1446 "origin_slot": 3,
1447 "target_id": 62,
1448 "target_slot": 0,
1449 "type": "CONDITIONING"
1450 },
1451 {
1452 "id": 470,
1453 "origin_id": -10,
1454 "origin_slot": 4,
1455 "target_id": 62,
1456 "target_slot": 1,
1457 "type": "CONDITIONING"
1458 },
1459 {
1460 "id": 474,
1461 "origin_id": -10,
1462 "origin_slot": 5,
1463 "target_id": 62,
1464 "target_slot": 3,
1465 "type": "CLIP_VISION_OUTPUT"
1466 },
1467 {
1468 "id": 475,
1469 "origin_id": -10,
1470 "origin_slot": 6,
1471 "target_id": 62,
1472 "target_slot": 4,
1473 "type": "IMAGE"
1474 },
1475 {
1476 "id": 459,
1477 "origin_id": -10,
1478 "origin_slot": 7,
1479 "target_id": 62,
1480 "target_slot": 5,
1481 "type": "IMAGE"
1482 },
1483 {
1484 "id": 461,
1485 "origin_id": -10,
1486 "origin_slot": 8,
1487 "target_id": 62,
1488 "target_slot": 6,
1489 "type": "IMAGE"
1490 },
1491 {
1492 "id": 419,
1493 "origin_id": -10,
1494 "origin_slot": 9,
1495 "target_id": 62,
1496 "target_slot": 7,
1497 "type": "IMAGE"
1498 },
1499 {
1500 "id": 418,
1501 "origin_id": -10,
1502 "origin_slot": 10,
1503 "target_id": 62,
1504 "target_slot": 8,
1505 "type": "MASK"
1506 },
1507 {
1508 "id": 450,
1509 "origin_id": -10,
1510 "origin_slot": 11,
1511 "target_id": 62,
1512 "target_slot": 10,
1513 "type": "INT"
1514 },
1515 {
1516 "id": 451,
1517 "origin_id": -10,
1518 "origin_slot": 12,
1519 "target_id": 62,
1520 "target_slot": 11,
1521 "type": "INT"
1522 },
1523 {
1524 "id": 17,
1525 "origin_id": 15,
1526 "origin_slot": 0,
1527 "target_id": -20,
1528 "target_slot": 0,
1529 "type": "VIDEO"
1530 },
1531 {
1532 "id": 187,
1533 "origin_id": 58,
1534 "origin_slot": 0,
1535 "target_id": -20,
1536 "target_slot": 1,
1537 "type": "IMAGE"
1538 },
1539 {
1540 "id": 208,
1541 "origin_id": 58,
1542 "origin_slot": 0,
1543 "target_id": -20,
1544 "target_slot": 1,
1545 "type": "IMAGE"
1546 },
1547 {
1548 "id": 439,
1549 "origin_id": 62,
1550 "origin_slot": 5,
1551 "target_id": -20,
1552 "target_slot": 2,
1553 "type": "INT"
1554 },
1555 {
1556 "id": 477,
1557 "origin_id": -10,
1558 "origin_slot": 13,
1559 "target_id": 15,
1560 "target_slot": 2,
1561 "type": "FLOAT"
1562 },
1563 {
1564 "id": 478,
1565 "origin_id": -10,
1566 "origin_slot": 14,
1567 "target_id": 63,
1568 "target_slot": 4,
1569 "type": "INT"
1570 },
1571 {
1572 "id": 479,
1573 "origin_id": -10,
1574 "origin_slot": 15,
1575 "target_id": 63,
1576 "target_slot": 5,
1577 "type": "INT"
1578 },
1579 {
1580 "id": 480,
1581 "origin_id": -10,
1582 "origin_slot": 16,
1583 "target_id": 63,
1584 "target_slot": 6,
1585 "type": "FLOAT"
1586 },
1587 {
1588 "id": 481,
1589 "origin_id": -10,
1590 "origin_slot": 17,
1591 "target_id": 63,
1592 "target_slot": 7,
1593 "type": "COMBO"
1594 },
1595 {
1596 "id": 482,
1597 "origin_id": -10,
1598 "origin_slot": 18,
1599 "target_id": 63,
1600 "target_slot": 8,
1601 "type": "COMBO"
1602 },
1603 {
1604 "id": 841,
1605 "origin_id": -10,
1606 "origin_slot": 19,
1607 "target_id": 62,
1608 "target_slot": 12,
1609 "type": "INT"
1610 }
1611 ],
1612 "extra": {
1613 "workflowRendererVersion": "LG"
1614 }
1615 },
1616 {
1617 "id": "b396d3e6-70cc-4a91-81db-6e0399a4edb6",
1618 "version": 1,
1619 "state": {
1620 "lastGroupId": 16,
1621 "lastNodeId": 348,
1622 "lastLinkId": 851,
1623 "lastRerouteId": 0
1624 },
1625 "revision": 0,
1626 "config": [],
1627 "name": "Wan 2.2 Animate - Character Replace",
1628 "inputNode": {
1629 "id": -10,
1630 "bounding": [
1631 -3390,
1632 193,
1633 135.044921875,
1634 180
1635 ]
1636 },
1637 "outputNode": {
1638 "id": -20,
1639 "bounding": [
1640 -550,
1641 232.99999999999997,
1642 120,
1643 60.00000000000003
1644 ]
1645 },
1646 "inputs": [
1647 {
1648 "id": "25fb7bfd-a9a1-4010-8157-ebb4189f5b6b",
1649 "name": "fps",
1650 "type": "FLOAT",
1651 "linkIds": [
1652 814,
1653 815,
1654 816,
1655 830
1656 ],
1657 "localized_name": "fps",
1658 "pos": [
1659 -3274.955078125,
1660 213
1661 ]
1662 },
1663 {
1664 "id": "76dce9c4-abcd-4673-b334-8024f29d7f2c",
1665 "name": "image",
1666 "type": "IMAGE",
1667 "linkIds": [
1668 817
1669 ],
1670 "localized_name": "image",
1671 "label": "input_video",
1672 "pos": [
1673 -3274.955078125,
1674 233
1675 ]
1676 },
1677 {
1678 "id": "af1f4478-1474-4fee-82f8-54e9629ffdc3",
1679 "name": "width",
1680 "type": "INT",
1681 "linkIds": [
1682 818,
1683 826,
1684 488
1685 ],
1686 "localized_name": "width",
1687 "pos": [
1688 -3274.955078125,
1689 253
1690 ]
1691 },
1692 {
1693 "id": "9deefdcb-b80b-4a53-9f32-f06dfcb0db51",
1694 "name": "height",
1695 "type": "INT",
1696 "linkIds": [
1697 819,
1698 827,
1699 489
1700 ],
1701 "localized_name": "height",
1702 "pos": [
1703 -3274.955078125,
1704 273
1705 ]
1706 },
1707 {
1708 "id": "2ce7897d-0ab4-471e-953f-cf56c9b6e56c",
1709 "name": "image_1",
1710 "type": "IMAGE",
1711 "linkIds": [
1712 825
1713 ],
1714 "localized_name": "image_1",
1715 "label": "reference_image",
1716 "pos": [
1717 -3274.955078125,
1718 293
1719 ]
1720 },
1721 {
1722 "id": "4e14fccf-94c0-4712-8765-8d33a01d9c32",
1723 "name": "text",
1724 "type": "STRING",
1725 "linkIds": [
1726 838
1727 ],
1728 "pos": [
1729 -3274.955078125,
1730 313
1731 ]
1732 },
1733 {
1734 "id": "4b92d741-4d26-4961-8bce-7428bfbb1e34",
1735 "name": "length",
1736 "type": "INT",
1737 "linkIds": [
1738 842
1739 ],
1740 "pos": [
1741 -3274.955078125,
1742 333
1743 ]
1744 }
1745 ],
1746 "outputs": [
1747 {
1748 "id": "fb94f0e7-6131-4db5-ac54-675007832f69",
1749 "name": "VIDEO",
1750 "type": "VIDEO",
1751 "linkIds": [
1752 490
1753 ],
1754 "localized_name": "VIDEO",
1755 "pos": [
1756 -530,
1757 252.99999999999997
1758 ]
1759 }
1760 ],
1761 "widgets": [],
1762 "nodes": [
1763 {
1764 "id": 1,
1765 "type": "CLIPTextEncode",
1766 "pos": [
1767 -2080,
1768 -270
1769 ],
1770 "size": [
1771 425.2604166666667,
1772 180.59895833333334
1773 ],
1774 "flags": [],
1775 "order": 8,
1776 "mode": 0,
1777 "inputs": [
1778 {
1779 "localized_name": "clip",
1780 "name": "clip",
1781 "type": "CLIP",
1782 "link": 1
1783 }
1784 ],
1785 "outputs": [
1786 {
1787 "localized_name": "CONDITIONING",
1788 "name": "CONDITIONING",
1789 "type": "CONDITIONING",
1790 "slot_index": 0,
1791 "links": [
1792 481
1793 ]
1794 }
1795 ],
1796 "title": "CLIP Text Encode (Negative Prompt)",
1797 "properties": {
1798 "Node name for S&R": "CLIPTextEncode",
1799 "cnr_id": "comfy-core",
1800 "ver": "0.3.59"
1801 },
1802 "widgets_values": [
1803 "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
1804 ],
1805 "color": "#322",
1806 "bgcolor": "#533"
1807 },
1808 {
1809 "id": 99,
1810 "type": "LoraLoaderModelOnly",
1811 "pos": [
1812 -2480,
1813 -510
1814 ],
1815 "size": [
1816 306.25,
1817 116.4453125
1818 ],
1819 "flags": [],
1820 "order": 10,
1821 "mode": 0,
1822 "inputs": [
1823 {
1824 "localized_name": "model",
1825 "name": "model",
1826 "type": "MODEL",
1827 "link": 226
1828 }
1829 ],
1830 "outputs": [
1831 {
1832 "localized_name": "MODEL",
1833 "name": "MODEL",
1834 "type": "MODEL",
1835 "links": [
1836 227
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": "WanAnimate_relight_lora_fp16.safetensors",
1847 "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/LoRAs/Wan22_relight/WanAnimate_relight_lora_fp16.safetensors",
1848 "directory": "loras"
1849 }
1850 ]
1851 },
1852 "widgets_values": [
1853 "WanAnimate_relight_lora_fp16.safetensors",
1854 1
1855 ]
1856 },
1857 {
1858 "id": 9,
1859 "type": "CLIPVisionEncode",
1860 "pos": [
1861 -2009.999724152921,
1862 -10.000007301786505
1863 ],
1864 "size": [
1865 253.515625,
1866 88.671875
1867 ],
1868 "flags": {
1869 "collapsed": false
1870 },
1871 "order": 12,
1872 "mode": 0,
1873 "inputs": [
1874 {
1875 "localized_name": "clip_vision",
1876 "name": "clip_vision",
1877 "type": "CLIP_VISION",
1878 "link": 4
1879 },
1880 {
1881 "localized_name": "image",
1882 "name": "image",
1883 "type": "IMAGE",
1884 "link": 829
1885 }
1886 ],
1887 "outputs": [
1888 {
1889 "localized_name": "CLIP_VISION_OUTPUT",
1890 "name": "CLIP_VISION_OUTPUT",
1891 "type": "CLIP_VISION_OUTPUT",
1892 "slot_index": 0,
1893 "links": [
1894 482
1895 ]
1896 }
1897 ],
1898 "properties": {
1899 "Node name for S&R": "CLIPVisionEncode",
1900 "cnr_id": "comfy-core",
1901 "ver": "0.3.59"
1902 },
1903 "widgets_values": [
1904 "none"
1905 ]
1906 },
1907 {
1908 "id": 340,
1909 "type": "CreateVideo",
1910 "pos": [
1911 -950,
1912 490
1913 ],
1914 "size": [
1915 269.921875,
1916 86.45833333333334
1917 ],
1918 "flags": [],
1919 "order": 29,
1920 "mode": 0,
1921 "inputs": [
1922 {
1923 "localized_name": "images",
1924 "name": "images",
1925 "type": "IMAGE",
1926 "link": 813
1927 },
1928 {
1929 "localized_name": "audio",
1930 "name": "audio",
1931 "shape": 7,
1932 "type": "AUDIO",
1933 "link": null
1934 },
1935 {
1936 "localized_name": "fps",
1937 "name": "fps",
1938 "type": "FLOAT",
1939 "widget": {
1940 "name": "fps"
1941 },
1942 "link": 816
1943 }
1944 ],
1945 "outputs": [
1946 {
1947 "localized_name": "VIDEO",
1948 "name": "VIDEO",
1949 "type": "VIDEO",
1950 "links": [
1951 799
1952 ]
1953 }
1954 ],
1955 "properties": {
1956 "Node name for S&R": "CreateVideo"
1957 },
1958 "widgets_values": [
1959 30
1960 ]
1961 },
1962 {
1963 "id": 330,
1964 "type": "SaveVideo",
1965 "pos": [
1966 -950,
1967 610
1968 ],
1969 "size": [
1970 269.921875,
1971 577.9947916666667
1972 ],
1973 "flags": [],
1974 "order": 21,
1975 "mode": 0,
1976 "inputs": [
1977 {
1978 "localized_name": "video",
1979 "name": "video",
1980 "type": "VIDEO",
1981 "link": 799
1982 }
1983 ],
1984 "outputs": [],
1985 "properties": {
1986 "Node name for S&R": "SaveVideo"
1987 },
1988 "widgets_values": [
1989 "video/ComfyUI",
1990 "auto",
1991 "auto"
1992 ]
1993 },
1994 {
1995 "id": 331,
1996 "type": "SaveVideo",
1997 "pos": [
1998 -670,
1999 610
2000 ],
2001 "size": [
2002 269.921875,
2003 577.9947916666667
2004 ],
2005 "flags": [],
2006 "order": 22,
2007 "mode": 0,
2008 "inputs": [
2009 {
2010 "localized_name": "video",
2011 "name": "video",
2012 "type": "VIDEO",
2013 "link": 800
2014 }
2015 ],
2016 "outputs": [],
2017 "properties": {
2018 "Node name for S&R": "SaveVideo"
2019 },
2020 "widgets_values": [
2021 "video/ComfyUI",
2022 "auto",
2023 "auto"
2024 ]
2025 },
2026 {
2027 "id": 335,
2028 "type": "DrawViTPose",
2029 "pos": [
2030 -1783.194230162341,
2031 592.886517661592
2032 ],
2033 "size": [
2034 269.921875,
2035 216.40625
2036 ],
2037 "flags": [],
2038 "order": 26,
2039 "mode": 0,
2040 "inputs": [
2041 {
2042 "localized_name": "pose_data",
2043 "name": "pose_data",
2044 "type": "POSEDATA",
2045 "link": 808
2046 },
2047 {
2048 "localized_name": "width",
2049 "name": "width",
2050 "type": "INT",
2051 "widget": {
2052 "name": "width"
2053 },
2054 "link": 847
2055 },
2056 {
2057 "localized_name": "height",
2058 "name": "height",
2059 "type": "INT",
2060 "widget": {
2061 "name": "height"
2062 },
2063 "link": 849
2064 }
2065 ],
2066 "outputs": [
2067 {
2068 "localized_name": "pose_images",
2069 "name": "pose_images",
2070 "type": "IMAGE",
2071 "links": [
2072 813,
2073 831
2074 ]
2075 }
2076 ],
2077 "properties": {
2078 "Node name for S&R": "DrawViTPose",
2079 "cnr_id": "ComfyUI-WanAnimatePreprocess",
2080 "aux_id": "kijai/ComfyUI-WanAnimatePreprocess",
2081 "ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d",
2082 "ue_properties": {
2083 "widget_ue_connectable": {
2084 "width": true,
2085 "height": true
2086 },
2087 "version": "7.3",
2088 "input_ue_unconnectable": []
2089 }
2090 },
2091 "widgets_values": [
2092 832,
2093 480,
2094 16,
2095 -1,
2096 -1,
2097 "True"
2098 ]
2099 },
2100 {
2101 "id": 322,
2102 "type": "Reroute",
2103 "pos": [
2104 -1359.9996104113648,
2105 59.99989097295298
2106 ],
2107 "size": [
2108 75,
2109 26
2110 ],
2111 "flags": [],
2112 "order": 16,
2113 "mode": 0,
2114 "inputs": [
2115 {
2116 "name": "",
2117 "type": "*",
2118 "link": 821
2119 }
2120 ],
2121 "outputs": [
2122 {
2123 "name": "",
2124 "type": "IMAGE",
2125 "links": [
2126 836
2127 ]
2128 }
2129 ],
2130 "properties": {
2131 "showOutputText": false,
2132 "horizontal": false
2133 }
2134 },
2135 {
2136 "id": 321,
2137 "type": "Reroute",
2138 "pos": [
2139 -1359.9996104113648,
2140 99.99996472376685
2141 ],
2142 "size": [
2143 75,
2144 26
2145 ],
2146 "flags": [],
2147 "order": 15,
2148 "mode": 0,
2149 "inputs": [
2150 {
2151 "name": "",
2152 "type": "*",
2153 "link": 820
2154 }
2155 ],
2156 "outputs": [
2157 {
2158 "name": "",
2159 "type": "MASK",
2160 "links": [
2161 837
2162 ]
2163 }
2164 ],
2165 "properties": {
2166 "showOutputText": false,
2167 "horizontal": false
2168 }
2169 },
2170 {
2171 "id": 339,
2172 "type": "CreateVideo",
2173 "pos": [
2174 -670,
2175 490
2176 ],
2177 "size": [
2178 269.921875,
2179 86.45833333333334
2180 ],
2181 "flags": [],
2182 "order": 28,
2183 "mode": 0,
2184 "inputs": [
2185 {
2186 "localized_name": "images",
2187 "name": "images",
2188 "type": "IMAGE",
2189 "link": 812
2190 },
2191 {
2192 "localized_name": "audio",
2193 "name": "audio",
2194 "shape": 7,
2195 "type": "AUDIO",
2196 "link": null
2197 },
2198 {
2199 "localized_name": "fps",
2200 "name": "fps",
2201 "type": "FLOAT",
2202 "widget": {
2203 "name": "fps"
2204 },
2205 "link": 815
2206 }
2207 ],
2208 "outputs": [
2209 {
2210 "localized_name": "VIDEO",
2211 "name": "VIDEO",
2212 "type": "VIDEO",
2213 "links": [
2214 800
2215 ]
2216 }
2217 ],
2218 "properties": {
2219 "Node name for S&R": "CreateVideo"
2220 },
2221 "widgets_values": [
2222 30
2223 ]
2224 },
2225 {
2226 "id": 329,
2227 "type": "SaveVideo",
2228 "pos": [
2229 -1230,
2230 610
2231 ],
2232 "size": [
2233 270,
2234 570
2235 ],
2236 "flags": [],
2237 "order": 20,
2238 "mode": 0,
2239 "inputs": [
2240 {
2241 "localized_name": "video",
2242 "name": "video",
2243 "type": "VIDEO",
2244 "link": 798
2245 }
2246 ],
2247 "outputs": [],
2248 "properties": {
2249 "Node name for S&R": "SaveVideo"
2250 },
2251 "widgets_values": [
2252 "video/ComfyUI",
2253 "auto",
2254 "auto"
2255 ]
2256 },
2257 {
2258 "id": 334,
2259 "type": "PoseAndFaceDetection",
2260 "pos": [
2261 -1800,
2262 330
2263 ],
2264 "size": [
2265 313.02083333333337,
2266 193.09895833333334
2267 ],
2268 "flags": [],
2269 "order": 25,
2270 "mode": 0,
2271 "inputs": [
2272 {
2273 "localized_name": "model",
2274 "name": "model",
2275 "type": "POSEMODEL",
2276 "link": 804
2277 },
2278 {
2279 "localized_name": "images",
2280 "name": "images",
2281 "type": "IMAGE",
2282 "link": 850
2283 },
2284 {
2285 "localized_name": "retarget_image",
2286 "name": "retarget_image",
2287 "shape": 7,
2288 "type": "IMAGE",
2289 "link": null
2290 },
2291 {
2292 "localized_name": "width",
2293 "name": "width",
2294 "type": "INT",
2295 "widget": {
2296 "name": "width"
2297 },
2298 "link": 846
2299 },
2300 {
2301 "localized_name": "height",
2302 "name": "height",
2303 "type": "INT",
2304 "widget": {
2305 "name": "height"
2306 },
2307 "link": 848
2308 }
2309 ],
2310 "outputs": [
2311 {
2312 "localized_name": "pose_data",
2313 "name": "pose_data",
2314 "type": "POSEDATA",
2315 "links": [
2316 808
2317 ]
2318 },
2319 {
2320 "localized_name": "face_images",
2321 "name": "face_images",
2322 "type": "IMAGE",
2323 "links": [
2324 803,
2325 822
2326 ]
2327 },
2328 {
2329 "localized_name": "key_frame_body_points",
2330 "name": "key_frame_body_points",
2331 "type": "STRING",
2332 "links": []
2333 },
2334 {
2335 "localized_name": "bboxes",
2336 "name": "bboxes",
2337 "type": "BBOX",
2338 "links": [
2339 796
2340 ]
2341 },
2342 {
2343 "localized_name": "face_bboxes",
2344 "name": "face_bboxes",
2345 "type": "BBOX,",
2346 "links": []
2347 }
2348 ],
2349 "properties": {
2350 "Node name for S&R": "PoseAndFaceDetection",
2351 "cnr_id": "ComfyUI-WanAnimatePreprocess",
2352 "aux_id": "kijai/ComfyUI-WanAnimatePreprocess",
2353 "ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d",
2354 "ue_properties": {
2355 "widget_ue_connectable": {
2356 "width": true,
2357 "height": true
2358 },
2359 "version": "7.3",
2360 "input_ue_unconnectable": []
2361 }
2362 },
2363 "widgets_values": [
2364 832,
2365 480
2366 ]
2367 },
2368 {
2369 "id": 326,
2370 "type": "Sam2Segmentation",
2371 "pos": [
2372 -2440,
2373 1070
2374 ],
2375 "size": [
2376 272.00520833333337,
2377 206.40625
2378 ],
2379 "flags": [],
2380 "order": 18,
2381 "mode": 0,
2382 "inputs": [
2383 {
2384 "localized_name": "sam2_model",
2385 "name": "sam2_model",
2386 "type": "SAM2MODEL",
2387 "link": 794
2388 },
2389 {
2390 "localized_name": "image",
2391 "name": "image",
2392 "type": "IMAGE",
2393 "link": 851
2394 },
2395 {
2396 "localized_name": "coordinates_positive",
2397 "name": "coordinates_positive",
2398 "shape": 7,
2399 "type": "STRING",
2400 "link": null
2401 },
2402 {
2403 "localized_name": "coordinates_negative",
2404 "name": "coordinates_negative",
2405 "shape": 7,
2406 "type": "STRING",
2407 "link": null
2408 },
2409 {
2410 "localized_name": "bboxes",
2411 "name": "bboxes",
2412 "shape": 7,
2413 "type": "BBOX",
2414 "link": 796
2415 },
2416 {
2417 "localized_name": "mask",
2418 "name": "mask",
2419 "shape": 7,
2420 "type": "MASK",
2421 "link": null
2422 }
2423 ],
2424 "outputs": [
2425 {
2426 "localized_name": "mask",
2427 "name": "mask",
2428 "type": "MASK",
2429 "links": [
2430 797
2431 ]
2432 }
2433 ],
2434 "properties": {
2435 "Node name for S&R": "Sam2Segmentation",
2436 "cnr_id": "ComfyUI-segment-anything-2",
2437 "ver": "c59676b008a76237002926f684d0ca3a9b29ac54",
2438 "ue_properties": {
2439 "widget_ue_connectable": [],
2440 "version": "7.3",
2441 "input_ue_unconnectable": []
2442 }
2443 },
2444 "widgets_values": [
2445 false,
2446 false
2447 ]
2448 },
2449 {
2450 "id": 333,
2451 "type": "CreateVideo",
2452 "pos": [
2453 -1230,
2454 490
2455 ],
2456 "size": [
2457 269.921875,
2458 86.45833333333334
2459 ],
2460 "flags": [],
2461 "order": 24,
2462 "mode": 0,
2463 "inputs": [
2464 {
2465 "localized_name": "images",
2466 "name": "images",
2467 "type": "IMAGE",
2468 "link": 803
2469 },
2470 {
2471 "localized_name": "audio",
2472 "name": "audio",
2473 "shape": 7,
2474 "type": "AUDIO",
2475 "link": null
2476 },
2477 {
2478 "localized_name": "fps",
2479 "name": "fps",
2480 "type": "FLOAT",
2481 "widget": {
2482 "name": "fps"
2483 },
2484 "link": 814
2485 }
2486 ],
2487 "outputs": [
2488 {
2489 "localized_name": "VIDEO",
2490 "name": "VIDEO",
2491 "type": "VIDEO",
2492 "links": [
2493 798
2494 ]
2495 }
2496 ],
2497 "properties": {
2498 "Node name for S&R": "CreateVideo"
2499 },
2500 "widgets_values": [
2501 30
2502 ]
2503 },
2504 {
2505 "id": 336,
2506 "type": "Note",
2507 "pos": [
2508 -2240,
2509 570
2510 ],
2511 "size": [
2512 236.06770833333334,
2513 88
2514 ],
2515 "flags": [],
2516 "order": 7,
2517 "mode": 0,
2518 "inputs": [],
2519 "outputs": [],
2520 "title": "Note: SAM2 detection",
2521 "properties": {
2522 "ue_properties": {
2523 "widget_ue_connectable": [],
2524 "version": "7.3",
2525 "input_ue_unconnectable": []
2526 }
2527 },
2528 "widgets_values": [
2529 "You can use either the detected bbox or the kay_frame_body_points to positive coordinates, if one fails to creater proper mask, try the other"
2530 ],
2531 "color": "#432",
2532 "bgcolor": "#653"
2533 },
2534 {
2535 "id": 338,
2536 "type": "ImageScale",
2537 "pos": [
2538 -2580,
2539 370
2540 ],
2541 "size": [
2542 269.921875,
2543 170.859375
2544 ],
2545 "flags": [],
2546 "order": 27,
2547 "mode": 0,
2548 "inputs": [
2549 {
2550 "localized_name": "image",
2551 "name": "image",
2552 "type": "IMAGE",
2553 "link": 817
2554 },
2555 {
2556 "localized_name": "width",
2557 "name": "width",
2558 "type": "INT",
2559 "widget": {
2560 "name": "width"
2561 },
2562 "link": 818
2563 },
2564 {
2565 "localized_name": "height",
2566 "name": "height",
2567 "type": "INT",
2568 "widget": {
2569 "name": "height"
2570 },
2571 "link": 819
2572 }
2573 ],
2574 "outputs": [
2575 {
2576 "localized_name": "IMAGE",
2577 "name": "IMAGE",
2578 "type": "IMAGE",
2579 "links": [
2580 801,
2581 845,
2582 850,
2583 851
2584 ]
2585 }
2586 ],
2587 "title": "Resize Input Video",
2588 "properties": {
2589 "Node name for S&R": "ImageScale",
2590 "cnr_id": "comfy-core",
2591 "ver": "0.3.66",
2592 "ue_properties": {
2593 "widget_ue_connectable": [],
2594 "input_ue_unconnectable": [],
2595 "version": "7.3"
2596 }
2597 },
2598 "widgets_values": [
2599 "lanczos",
2600 832,
2601 480,
2602 "center"
2603 ]
2604 },
2605 {
2606 "id": 348,
2607 "type": "GetImageSize",
2608 "pos": [
2609 -2230,
2610 370
2611 ],
2612 "size": [
2613 140,
2614 66
2615 ],
2616 "flags": [],
2617 "order": 31,
2618 "mode": 0,
2619 "inputs": [
2620 {
2621 "localized_name": "image",
2622 "name": "image",
2623 "type": "IMAGE",
2624 "link": 845
2625 }
2626 ],
2627 "outputs": [
2628 {
2629 "localized_name": "width",
2630 "name": "width",
2631 "type": "INT",
2632 "links": [
2633 846,
2634 847
2635 ]
2636 },
2637 {
2638 "localized_name": "height",
2639 "name": "height",
2640 "type": "INT",
2641 "links": [
2642 848,
2643 849
2644 ]
2645 },
2646 {
2647 "localized_name": "batch_size",
2648 "name": "batch_size",
2649 "type": "INT",
2650 "links": null
2651 }
2652 ],
2653 "properties": {
2654 "Node name for S&R": "GetImageSize"
2655 }
2656 },
2657 {
2658 "id": 328,
2659 "type": "OnnxDetectionModelLoader",
2660 "pos": [
2661 -3180,
2662 370
2663 ],
2664 "size": [
2665 351.4322916666667,
2666 146.41927083333334
2667 ],
2668 "flags": [],
2669 "order": 5,
2670 "mode": 0,
2671 "inputs": [],
2672 "outputs": [
2673 {
2674 "localized_name": "model",
2675 "name": "model",
2676 "type": "POSEMODEL",
2677 "links": [
2678 804
2679 ]
2680 }
2681 ],
2682 "properties": {
2683 "Node name for S&R": "OnnxDetectionModelLoader",
2684 "cnr_id": "ComfyUI-WanAnimatePreprocess",
2685 "aux_id": "kijai/ComfyUI-WanAnimatePreprocess",
2686 "ver": "e63d6e71ae4c271f3f81211a7ca7f87607b7e50d",
2687 "ue_properties": {
2688 "widget_ue_connectable": [],
2689 "version": "7.3",
2690 "input_ue_unconnectable": []
2691 }
2692 },
2693 "widgets_values": [
2694 "vitpose-l-wholebody.onnx",
2695 "yolov10m.onnx",
2696 "CUDAExecutionProvider"
2697 ]
2698 },
2699 {
2700 "id": 324,
2701 "type": "DownloadAndLoadSAM2Model",
2702 "pos": [
2703 -3140,
2704 1070
2705 ],
2706 "size": [
2707 334.375,
2708 176.40625
2709 ],
2710 "flags": [],
2711 "order": 6,
2712 "mode": 0,
2713 "inputs": [],
2714 "outputs": [
2715 {
2716 "localized_name": "sam2_model",
2717 "name": "sam2_model",
2718 "type": "SAM2MODEL",
2719 "links": [
2720 794
2721 ]
2722 }
2723 ],
2724 "properties": {
2725 "Node name for S&R": "DownloadAndLoadSAM2Model",
2726 "cnr_id": "ComfyUI-segment-anything-2",
2727 "ver": "c59676b008a76237002926f684d0ca3a9b29ac54",
2728 "ue_properties": {
2729 "widget_ue_connectable": [],
2730 "version": "7.3",
2731 "input_ue_unconnectable": []
2732 }
2733 },
2734 "widgets_values": [
2735 "sam2.1_hiera_base_plus.safetensors",
2736 "video",
2737 "cuda",
2738 "fp16"
2739 ]
2740 },
2741 {
2742 "id": 325,
2743 "type": "BlockifyMask",
2744 "pos": [
2745 -1760,
2746 1060
2747 ],
2748 "size": [
2749 290,
2750 82
2751 ],
2752 "flags": [],
2753 "order": 17,
2754 "mode": 0,
2755 "inputs": [
2756 {
2757 "localized_name": "masks",
2758 "name": "masks",
2759 "type": "MASK",
2760 "link": 793
2761 }
2762 ],
2763 "outputs": [
2764 {
2765 "localized_name": "mask",
2766 "name": "mask",
2767 "type": "MASK",
2768 "links": [
2769 802,
2770 820
2771 ]
2772 }
2773 ],
2774 "properties": {
2775 "Node name for S&R": "BlockifyMask",
2776 "cnr_id": "comfyui-kjnodes",
2777 "ver": "00da1910634fbf314d407608efb281ae6f7f1ba2",
2778 "ue_properties": {
2779 "widget_ue_connectable": [],
2780 "version": "7.3",
2781 "input_ue_unconnectable": []
2782 }
2783 },
2784 "widgets_values": [
2785 32,
2786 "cpu"
2787 ]
2788 },
2789 {
2790 "id": 332,
2791 "type": "DrawMaskOnImage",
2792 "pos": [
2793 -1750,
2794 1230
2795 ],
2796 "size": [
2797 280,
2798 102
2799 ],
2800 "flags": [],
2801 "order": 23,
2802 "mode": 0,
2803 "inputs": [
2804 {
2805 "localized_name": "image",
2806 "name": "image",
2807 "type": "IMAGE",
2808 "link": 801
2809 },
2810 {
2811 "localized_name": "mask",
2812 "name": "mask",
2813 "type": "MASK",
2814 "link": 802
2815 }
2816 ],
2817 "outputs": [
2818 {
2819 "localized_name": "images",
2820 "name": "images",
2821 "type": "IMAGE",
2822 "links": [
2823 812,
2824 821
2825 ]
2826 }
2827 ],
2828 "properties": {
2829 "Node name for S&R": "DrawMaskOnImage",
2830 "cnr_id": "comfyui-kjnodes",
2831 "ver": "623b5913dc7f240fd8b26422e99f8849a21c5473",
2832 "ue_properties": {
2833 "widget_ue_connectable": [],
2834 "version": "7.3",
2835 "input_ue_unconnectable": []
2836 }
2837 },
2838 "widgets_values": [
2839 "0, 0, 0",
2840 "cpu"
2841 ]
2842 },
2843 {
2844 "id": 327,
2845 "type": "GrowMaskWithBlur",
2846 "pos": [
2847 -2100,
2848 1070
2849 ],
2850 "size": [
2851 290,
2852 246
2853 ],
2854 "flags": [],
2855 "order": 19,
2856 "mode": 0,
2857 "inputs": [
2858 {
2859 "localized_name": "mask",
2860 "name": "mask",
2861 "type": "MASK",
2862 "link": 797
2863 }
2864 ],
2865 "outputs": [
2866 {
2867 "localized_name": "mask",
2868 "name": "mask",
2869 "type": "MASK",
2870 "links": [
2871 793
2872 ]
2873 },
2874 {
2875 "localized_name": "mask_inverted",
2876 "name": "mask_inverted",
2877 "type": "MASK",
2878 "links": []
2879 }
2880 ],
2881 "properties": {
2882 "Node name for S&R": "GrowMaskWithBlur",
2883 "cnr_id": "comfyui-kjnodes",
2884 "ver": "bb205d809b467307b8ec3bb1a22680a4873187f8",
2885 "ue_properties": {
2886 "widget_ue_connectable": [],
2887 "version": "7.3",
2888 "input_ue_unconnectable": []
2889 }
2890 },
2891 "widgets_values": [
2892 10,
2893 0,
2894 true,
2895 false,
2896 0,
2897 1,
2898 1,
2899 false
2900 ]
2901 },
2902 {
2903 "id": 342,
2904 "type": "ImageScale",
2905 "pos": [
2906 -3190,
2907 -140
2908 ],
2909 "size": [
2910 269.921875,
2911 170.859375
2912 ],
2913 "flags": [],
2914 "order": 30,
2915 "mode": 0,
2916 "inputs": [
2917 {
2918 "localized_name": "image",
2919 "name": "image",
2920 "type": "IMAGE",
2921 "link": 825
2922 },
2923 {
2924 "localized_name": "width",
2925 "name": "width",
2926 "type": "INT",
2927 "widget": {
2928 "name": "width"
2929 },
2930 "link": 826
2931 },
2932 {
2933 "localized_name": "height",
2934 "name": "height",
2935 "type": "INT",
2936 "widget": {
2937 "name": "height"
2938 },
2939 "link": 827
2940 }
2941 ],
2942 "outputs": [
2943 {
2944 "localized_name": "IMAGE",
2945 "name": "IMAGE",
2946 "type": "IMAGE",
2947 "links": [
2948 828,
2949 829
2950 ]
2951 }
2952 ],
2953 "title": "Resize Reference Image",
2954 "properties": {
2955 "Node name for S&R": "ImageScale",
2956 "cnr_id": "comfy-core",
2957 "ver": "0.3.66",
2958 "ue_properties": {
2959 "widget_ue_connectable": [],
2960 "input_ue_unconnectable": [],
2961 "version": "7.3"
2962 }
2963 },
2964 "widgets_values": [
2965 "lanczos",
2966 832,
2967 480,
2968 "center"
2969 ]
2970 },
2971 {
2972 "id": 20,
2973 "type": "UNETLoader",
2974 "pos": [
2975 -2480,
2976 -790
2977 ],
2978 "size": [
2979 306.25,
2980 98.671875
2981 ],
2982 "flags": [],
2983 "order": 4,
2984 "mode": 0,
2985 "inputs": [],
2986 "outputs": [
2987 {
2988 "localized_name": "MODEL",
2989 "name": "MODEL",
2990 "type": "MODEL",
2991 "slot_index": 0,
2992 "links": [
2993 16
2994 ]
2995 }
2996 ],
2997 "properties": {
2998 "Node name for S&R": "UNETLoader",
2999 "cnr_id": "comfy-core",
3000 "ver": "0.3.59",
3001 "models": [
3002 {
3003 "name": "Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors",
3004 "url": "https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/resolve/main/Wan22Animate/Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors",
3005 "directory": "diffusion_models"
3006 }
3007 ]
3008 },
3009 "widgets_values": [
3010 "Wan2_2-Animate-14B_fp8_e4m3fn_scaled_KJ.safetensors",
3011 "default"
3012 ]
3013 },
3014 {
3015 "id": 2,
3016 "type": "CLIPLoader",
3017 "pos": [
3018 -2480,
3019 -340
3020 ],
3021 "size": [
3022 306.25,
3023 127.5390625
3024 ],
3025 "flags": [],
3026 "order": 1,
3027 "mode": 0,
3028 "inputs": [],
3029 "outputs": [
3030 {
3031 "localized_name": "CLIP",
3032 "name": "CLIP",
3033 "type": "CLIP",
3034 "slot_index": 0,
3035 "links": [
3036 1,
3037 18
3038 ]
3039 }
3040 ],
3041 "properties": {
3042 "Node name for S&R": "CLIPLoader",
3043 "cnr_id": "comfy-core",
3044 "ver": "0.3.59",
3045 "models": [
3046 {
3047 "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
3048 "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
3049 "directory": "text_encoders"
3050 }
3051 ]
3052 },
3053 "widgets_values": [
3054 "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
3055 "wan",
3056 "default"
3057 ]
3058 },
3059 {
3060 "id": 3,
3061 "type": "VAELoader",
3062 "pos": [
3063 -2480,
3064 -160
3065 ],
3066 "size": [
3067 306.25,
3068 69.79166666666667
3069 ],
3070 "flags": [],
3071 "order": 2,
3072 "mode": 0,
3073 "inputs": [],
3074 "outputs": [
3075 {
3076 "localized_name": "VAE",
3077 "name": "VAE",
3078 "type": "VAE",
3079 "slot_index": 0,
3080 "links": [
3081 479
3082 ]
3083 }
3084 ],
3085 "properties": {
3086 "Node name for S&R": "VAELoader",
3087 "cnr_id": "comfy-core",
3088 "ver": "0.3.59",
3089 "models": [
3090 {
3091 "name": "wan_2.1_vae.safetensors",
3092 "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
3093 "directory": "vae"
3094 }
3095 ]
3096 },
3097 "widgets_values": [
3098 "wan_2.1_vae.safetensors"
3099 ]
3100 },
3101 {
3102 "id": 4,
3103 "type": "CLIPVisionLoader",
3104 "pos": [
3105 -2480,
3106 -30
3107 ],
3108 "size": [
3109 306.25,
3110 69.79166666666667
3111 ],
3112 "flags": [],
3113 "order": 0,
3114 "mode": 0,
3115 "inputs": [],
3116 "outputs": [
3117 {
3118 "localized_name": "CLIP_VISION",
3119 "name": "CLIP_VISION",
3120 "type": "CLIP_VISION",
3121 "slot_index": 0,
3122 "links": [
3123 4
3124 ]
3125 }
3126 ],
3127 "properties": {
3128 "Node name for S&R": "CLIPVisionLoader",
3129 "cnr_id": "comfy-core",
3130 "ver": "0.3.59",
3131 "models": [
3132 {
3133 "name": "clip_vision_h.safetensors",
3134 "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors",
3135 "directory": "clip_vision"
3136 }
3137 ]
3138 },
3139 "widgets_values": [
3140 "clip_vision_h.safetensors"
3141 ]
3142 },
3143 {
3144 "id": 21,
3145 "type": "CLIPTextEncode",
3146 "pos": [
3147 -2080,
3148 -560
3149 ],
3150 "size": [
3151 419.921875,
3152 229.94791666666669
3153 ],
3154 "flags": [],
3155 "order": 13,
3156 "mode": 0,
3157 "inputs": [
3158 {
3159 "localized_name": "clip",
3160 "name": "clip",
3161 "type": "CLIP",
3162 "link": 18
3163 },
3164 {
3165 "localized_name": "text",
3166 "name": "text",
3167 "type": "STRING",
3168 "widget": {
3169 "name": "text"
3170 },
3171 "link": 838
3172 }
3173 ],
3174 "outputs": [
3175 {
3176 "localized_name": "CONDITIONING",
3177 "name": "CONDITIONING",
3178 "type": "CONDITIONING",
3179 "slot_index": 0,
3180 "links": [
3181 480
3182 ]
3183 }
3184 ],
3185 "title": "CLIP Text Encode (Positive Prompt)",
3186 "properties": {
3187 "Node name for S&R": "CLIPTextEncode",
3188 "cnr_id": "comfy-core",
3189 "ver": "0.3.59"
3190 },
3191 "widgets_values": [
3192 "the person is dancing"
3193 ],
3194 "color": "#232",
3195 "bgcolor": "#353"
3196 },
3197 {
3198 "id": 60,
3199 "type": "ModelSamplingSD3",
3200 "pos": [
3201 -1610,
3202 -670
3203 ],
3204 "size": [
3205 314.97395833333337,
3206 66.47135416666667
3207 ],
3208 "flags": [],
3209 "order": 11,
3210 "mode": 0,
3211 "inputs": [
3212 {
3213 "localized_name": "model",
3214 "name": "model",
3215 "type": "MODEL",
3216 "link": 227
3217 }
3218 ],
3219 "outputs": [
3220 {
3221 "localized_name": "MODEL",
3222 "name": "MODEL",
3223 "type": "MODEL",
3224 "slot_index": 0,
3225 "links": [
3226 477
3227 ]
3228 }
3229 ],
3230 "properties": {
3231 "Node name for S&R": "ModelSamplingSD3",
3232 "cnr_id": "comfy-core",
3233 "ver": "0.3.59"
3234 },
3235 "widgets_values": [
3236 8
3237 ]
3238 },
3239 {
3240 "id": 18,
3241 "type": "LoraLoaderModelOnly",
3242 "pos": [
3243 -2480,
3244 -650
3245 ],
3246 "size": [
3247 300,
3248 82
3249 ],
3250 "flags": [],
3251 "order": 9,
3252 "mode": 0,
3253 "inputs": [
3254 {
3255 "localized_name": "model",
3256 "name": "model",
3257 "type": "MODEL",
3258 "link": 16
3259 }
3260 ],
3261 "outputs": [
3262 {
3263 "localized_name": "MODEL",
3264 "name": "MODEL",
3265 "type": "MODEL",
3266 "links": [
3267 226
3268 ]
3269 }
3270 ],
3271 "properties": {
3272 "Node name for S&R": "LoraLoaderModelOnly",
3273 "cnr_id": "comfy-core",
3274 "ver": "0.3.59",
3275 "models": [
3276 {
3277 "name": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
3278 "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
3279 "directory": "loras"
3280 }
3281 ]
3282 },
3283 "widgets_values": [
3284 "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
3285 1
3286 ]
3287 },
3288 {
3289 "id": 279,
3290 "type": "PrimitiveInt",
3291 "pos": [
3292 -1440,
3293 -260
3294 ],
3295 "size": [
3296 269.921875,
3297 82
3298 ],
3299 "flags": [],
3300 "order": 3,
3301 "mode": 0,
3302 "inputs": [],
3303 "outputs": [
3304 {
3305 "localized_name": "INT",
3306 "name": "INT",
3307 "type": "INT",
3308 "links": [
3309 712
3310 ]
3311 }
3312 ],
3313 "title": "Seed",
3314 "properties": {
3315 "Node name for S&R": "PrimitiveInt",
3316 "cnr_id": "comfy-core",
3317 "ver": "0.3.60"
3318 },
3319 "widgets_values": [
3320 281253459907758,
3321 "randomize"
3322 ]
3323 },
3324 {
3325 "id": 232,
3326 "type": "90db3fa1-b7fd-4c97-90a4-3e9533589dce",
3327 "pos": [
3328 -1069.999583454171,
3329 -556.51262746475
3330 ],
3331 "size": [
3332 450,
3333 820
3334 ],
3335 "flags": [],
3336 "order": 14,
3337 "mode": 0,
3338 "inputs": [
3339 {
3340 "localized_name": "model",
3341 "name": "model",
3342 "type": "MODEL",
3343 "link": 477
3344 },
3345 {
3346 "localized_name": "audio",
3347 "name": "audio",
3348 "type": "AUDIO",
3349 "link": null
3350 },
3351 {
3352 "localized_name": "vae",
3353 "name": "vae",
3354 "type": "VAE",
3355 "link": 479
3356 },
3357 {
3358 "localized_name": "positive",
3359 "name": "positive",
3360 "type": "CONDITIONING",
3361 "link": 480
3362 },
3363 {
3364 "localized_name": "negative",
3365 "name": "negative",
3366 "type": "CONDITIONING",
3367 "link": 481
3368 },
3369 {
3370 "localized_name": "clip_vision_output",
3371 "name": "clip_vision_output",
3372 "type": "CLIP_VISION_OUTPUT",
3373 "link": 482
3374 },
3375 {
3376 "localized_name": "reference_image",
3377 "name": "reference_image",
3378 "type": "IMAGE",
3379 "link": 828
3380 },
3381 {
3382 "localized_name": "face_video",
3383 "name": "face_video",
3384 "type": "IMAGE",
3385 "link": 822
3386 },
3387 {
3388 "localized_name": "pose_video",
3389 "name": "pose_video",
3390 "type": "IMAGE",
3391 "link": 831
3392 },
3393 {
3394 "localized_name": "background_video",
3395 "name": "background_video",
3396 "type": "IMAGE",
3397 "link": 836
3398 },
3399 {
3400 "localized_name": "character_mask",
3401 "name": "character_mask",
3402 "type": "MASK",
3403 "link": 837
3404 },
3405 {
3406 "localized_name": "width",
3407 "name": "width",
3408 "type": "INT",
3409 "widget": {
3410 "name": "width"
3411 },
3412 "link": 488
3413 },
3414 {
3415 "localized_name": "height",
3416 "name": "height",
3417 "type": "INT",
3418 "widget": {
3419 "name": "height"
3420 },
3421 "link": 489
3422 },
3423 {
3424 "name": "fps",
3425 "type": "FLOAT",
3426 "widget": {
3427 "name": "fps"
3428 },
3429 "link": 830
3430 },
3431 {
3432 "name": "seed",
3433 "type": "INT",
3434 "widget": {
3435 "name": "seed"
3436 },
3437 "link": 712
3438 },
3439 {
3440 "name": "length",
3441 "type": "INT",
3442 "widget": {
3443 "name": "length"
3444 },
3445 "link": 842
3446 }
3447 ],
3448 "outputs": [
3449 {
3450 "localized_name": "VIDEO",
3451 "name": "VIDEO",
3452 "type": "VIDEO",
3453 "links": [
3454 490
3455 ]
3456 },
3457 {
3458 "localized_name": "IMAGE",
3459 "name": "IMAGE",
3460 "type": "IMAGE",
3461 "links": []
3462 },
3463 {
3464 "localized_name": "video_frame_offset",
3465 "name": "video_frame_offset",
3466 "type": "INT",
3467 "links": []
3468 }
3469 ],
3470 "properties": {
3471 "proxyWidgets": [
3472 [
3473 "-1",
3474 "width"
3475 ],
3476 [
3477 "-1",
3478 "height"
3479 ],
3480 [
3481 "-1",
3482 "fps"
3483 ],
3484 [
3485 "-1",
3486 "seed"
3487 ],
3488 [
3489 "-1",
3490 "steps"
3491 ],
3492 [
3493 "-1",
3494 "cfg"
3495 ],
3496 [
3497 "-1",
3498 "sampler_name"
3499 ],
3500 [
3501 "-1",
3502 "scheduler"
3503 ],
3504 [
3505 "-1",
3506 "length"
3507 ]
3508 ],
3509 "cnr_id": "comfy-core",
3510 "ver": "0.3.60"
3511 },
3512 "widgets_values": [
3513 832,
3514 480,
3515 30,
3516 1106558644923357,
3517 6,
3518 1,
3519 "euler",
3520 "simple",
3521 77
3522 ]
3523 }
3524 ],
3525 "groups": [],
3526 "links": [
3527 {
3528 "id": 227,
3529 "origin_id": 99,
3530 "origin_slot": 0,
3531 "target_id": 60,
3532 "target_slot": 0,
3533 "type": "MODEL"
3534 },
3535 {
3536 "id": 1,
3537 "origin_id": 2,
3538 "origin_slot": 0,
3539 "target_id": 1,
3540 "target_slot": 0,
3541 "type": "CLIP"
3542 },
3543 {
3544 "id": 16,
3545 "origin_id": 20,
3546 "origin_slot": 0,
3547 "target_id": 18,
3548 "target_slot": 0,
3549 "type": "MODEL"
3550 },
3551 {
3552 "id": 226,
3553 "origin_id": 18,
3554 "origin_slot": 0,
3555 "target_id": 99,
3556 "target_slot": 0,
3557 "type": "MODEL"
3558 },
3559 {
3560 "id": 4,
3561 "origin_id": 4,
3562 "origin_slot": 0,
3563 "target_id": 9,
3564 "target_slot": 0,
3565 "type": "CLIP_VISION"
3566 },
3567 {
3568 "id": 829,
3569 "origin_id": 342,
3570 "origin_slot": 0,
3571 "target_id": 9,
3572 "target_slot": 1,
3573 "type": "IMAGE"
3574 },
3575 {
3576 "id": 793,
3577 "origin_id": 327,
3578 "origin_slot": 0,
3579 "target_id": 325,
3580 "target_slot": 0,
3581 "type": "MASK"
3582 },
3583 {
3584 "id": 794,
3585 "origin_id": 324,
3586 "origin_slot": 0,
3587 "target_id": 326,
3588 "target_slot": 0,
3589 "type": "SAM2MODEL"
3590 },
3591 {
3592 "id": 796,
3593 "origin_id": 334,
3594 "origin_slot": 3,
3595 "target_id": 326,
3596 "target_slot": 4,
3597 "type": "BBOX"
3598 },
3599 {
3600 "id": 797,
3601 "origin_id": 326,
3602 "origin_slot": 0,
3603 "target_id": 327,
3604 "target_slot": 0,
3605 "type": "MASK"
3606 },
3607 {
3608 "id": 798,
3609 "origin_id": 333,
3610 "origin_slot": 0,
3611 "target_id": 329,
3612 "target_slot": 0,
3613 "type": "VIDEO"
3614 },
3615 {
3616 "id": 801,
3617 "origin_id": 338,
3618 "origin_slot": 0,
3619 "target_id": 332,
3620 "target_slot": 0,
3621 "type": "IMAGE"
3622 },
3623 {
3624 "id": 802,
3625 "origin_id": 325,
3626 "origin_slot": 0,
3627 "target_id": 332,
3628 "target_slot": 1,
3629 "type": "MASK"
3630 },
3631 {
3632 "id": 803,
3633 "origin_id": 334,
3634 "origin_slot": 1,
3635 "target_id": 333,
3636 "target_slot": 0,
3637 "type": "IMAGE"
3638 },
3639 {
3640 "id": 812,
3641 "origin_id": 332,
3642 "origin_slot": 0,
3643 "target_id": 339,
3644 "target_slot": 0,
3645 "type": "IMAGE"
3646 },
3647 {
3648 "id": 804,
3649 "origin_id": 328,
3650 "origin_slot": 0,
3651 "target_id": 334,
3652 "target_slot": 0,
3653 "type": "POSEMODEL"
3654 },
3655 {
3656 "id": 813,
3657 "origin_id": 335,
3658 "origin_slot": 0,
3659 "target_id": 340,
3660 "target_slot": 0,
3661 "type": "IMAGE"
3662 },
3663 {
3664 "id": 799,
3665 "origin_id": 340,
3666 "origin_slot": 0,
3667 "target_id": 330,
3668 "target_slot": 0,
3669 "type": "VIDEO"
3670 },
3671 {
3672 "id": 18,
3673 "origin_id": 2,
3674 "origin_slot": 0,
3675 "target_id": 21,
3676 "target_slot": 0,
3677 "type": "CLIP"
3678 },
3679 {
3680 "id": 800,
3681 "origin_id": 339,
3682 "origin_slot": 0,
3683 "target_id": 331,
3684 "target_slot": 0,
3685 "type": "VIDEO"
3686 },
3687 {
3688 "id": 477,
3689 "origin_id": 60,
3690 "origin_slot": 0,
3691 "target_id": 232,
3692 "target_slot": 0,
3693 "type": "MODEL"
3694 },
3695 {
3696 "id": 479,
3697 "origin_id": 3,
3698 "origin_slot": 0,
3699 "target_id": 232,
3700 "target_slot": 2,
3701 "type": "VAE"
3702 },
3703 {
3704 "id": 480,
3705 "origin_id": 21,
3706 "origin_slot": 0,
3707 "target_id": 232,
3708 "target_slot": 3,
3709 "type": "CONDITIONING"
3710 },
3711 {
3712 "id": 481,
3713 "origin_id": 1,
3714 "origin_slot": 0,
3715 "target_id": 232,
3716 "target_slot": 4,
3717 "type": "CONDITIONING"
3718 },
3719 {
3720 "id": 482,
3721 "origin_id": 9,
3722 "origin_slot": 0,
3723 "target_id": 232,
3724 "target_slot": 5,
3725 "type": "CLIP_VISION_OUTPUT"
3726 },
3727 {
3728 "id": 828,
3729 "origin_id": 342,
3730 "origin_slot": 0,
3731 "target_id": 232,
3732 "target_slot": 6,
3733 "type": "IMAGE"
3734 },
3735 {
3736 "id": 822,
3737 "origin_id": 334,
3738 "origin_slot": 1,
3739 "target_id": 232,
3740 "target_slot": 7,
3741 "type": "IMAGE"
3742 },
3743 {
3744 "id": 831,
3745 "origin_id": 335,
3746 "origin_slot": 0,
3747 "target_id": 232,
3748 "target_slot": 8,
3749 "type": "IMAGE"
3750 },
3751 {
3752 "id": 712,
3753 "origin_id": 279,
3754 "origin_slot": 0,
3755 "target_id": 232,
3756 "target_slot": 14,
3757 "type": "INT"
3758 },
3759 {
3760 "id": 808,
3761 "origin_id": 334,
3762 "origin_slot": 0,
3763 "target_id": 335,
3764 "target_slot": 0,
3765 "type": "POSEDATA"
3766 },
3767 {
3768 "id": 820,
3769 "origin_id": 325,
3770 "origin_slot": 0,
3771 "target_id": 321,
3772 "target_slot": 0,
3773 "type": "*"
3774 },
3775 {
3776 "id": 821,
3777 "origin_id": 332,
3778 "origin_slot": 0,
3779 "target_id": 322,
3780 "target_slot": 0,
3781 "type": "*"
3782 },
3783 {
3784 "id": 814,
3785 "origin_id": -10,
3786 "origin_slot": 0,
3787 "target_id": 333,
3788 "target_slot": 2,
3789 "type": "FLOAT"
3790 },
3791 {
3792 "id": 815,
3793 "origin_id": -10,
3794 "origin_slot": 0,
3795 "target_id": 339,
3796 "target_slot": 2,
3797 "type": "FLOAT"
3798 },
3799 {
3800 "id": 816,
3801 "origin_id": -10,
3802 "origin_slot": 0,
3803 "target_id": 340,
3804 "target_slot": 2,
3805 "type": "FLOAT"
3806 },
3807 {
3808 "id": 830,
3809 "origin_id": -10,
3810 "origin_slot": 0,
3811 "target_id": 232,
3812 "target_slot": 13,
3813 "type": "FLOAT"
3814 },
3815 {
3816 "id": 817,
3817 "origin_id": -10,
3818 "origin_slot": 1,
3819 "target_id": 338,
3820 "target_slot": 0,
3821 "type": "IMAGE"
3822 },
3823 {
3824 "id": 818,
3825 "origin_id": -10,
3826 "origin_slot": 2,
3827 "target_id": 338,
3828 "target_slot": 1,
3829 "type": "INT"
3830 },
3831 {
3832 "id": 826,
3833 "origin_id": -10,
3834 "origin_slot": 2,
3835 "target_id": 342,
3836 "target_slot": 1,
3837 "type": "INT"
3838 },
3839 {
3840 "id": 488,
3841 "origin_id": -10,
3842 "origin_slot": 2,
3843 "target_id": 232,
3844 "target_slot": 11,
3845 "type": "INT"
3846 },
3847 {
3848 "id": 819,
3849 "origin_id": -10,
3850 "origin_slot": 3,
3851 "target_id": 338,
3852 "target_slot": 2,
3853 "type": "INT"
3854 },
3855 {
3856 "id": 827,
3857 "origin_id": -10,
3858 "origin_slot": 3,
3859 "target_id": 342,
3860 "target_slot": 2,
3861 "type": "INT"
3862 },
3863 {
3864 "id": 489,
3865 "origin_id": -10,
3866 "origin_slot": 3,
3867 "target_id": 232,
3868 "target_slot": 12,
3869 "type": "INT"
3870 },
3871 {
3872 "id": 825,
3873 "origin_id": -10,
3874 "origin_slot": 4,
3875 "target_id": 342,
3876 "target_slot": 0,
3877 "type": "IMAGE"
3878 },
3879 {
3880 "id": 490,
3881 "origin_id": 232,
3882 "origin_slot": 0,
3883 "target_id": -20,
3884 "target_slot": 0,
3885 "type": "VIDEO"
3886 },
3887 {
3888 "id": 836,
3889 "origin_id": 322,
3890 "origin_slot": 0,
3891 "target_id": 232,
3892 "target_slot": 9,
3893 "type": "IMAGE"
3894 },
3895 {
3896 "id": 837,
3897 "origin_id": 321,
3898 "origin_slot": 0,
3899 "target_id": 232,
3900 "target_slot": 10,
3901 "type": "MASK"
3902 },
3903 {
3904 "id": 838,
3905 "origin_id": -10,
3906 "origin_slot": 5,
3907 "target_id": 21,
3908 "target_slot": 1,
3909 "type": "STRING"
3910 },
3911 {
3912 "id": 842,
3913 "origin_id": -10,
3914 "origin_slot": 6,
3915 "target_id": 232,
3916 "target_slot": 15,
3917 "type": "INT"
3918 },
3919 {
3920 "id": 845,
3921 "origin_id": 338,
3922 "origin_slot": 0,
3923 "target_id": 348,
3924 "target_slot": 0,
3925 "type": "IMAGE"
3926 },
3927 {
3928 "id": 846,
3929 "origin_id": 348,
3930 "origin_slot": 0,
3931 "target_id": 334,
3932 "target_slot": 3,
3933 "type": "INT"
3934 },
3935 {
3936 "id": 847,
3937 "origin_id": 348,
3938 "origin_slot": 0,
3939 "target_id": 335,
3940 "target_slot": 1,
3941 "type": "INT"
3942 },
3943 {
3944 "id": 848,
3945 "origin_id": 348,
3946 "origin_slot": 1,
3947 "target_id": 334,
3948 "target_slot": 4,
3949 "type": "INT"
3950 },
3951 {
3952 "id": 849,
3953 "origin_id": 348,
3954 "origin_slot": 1,
3955 "target_id": 335,
3956 "target_slot": 2,
3957 "type": "INT"
3958 },
3959 {
3960 "id": 850,
3961 "origin_id": 338,
3962 "origin_slot": 0,
3963 "target_id": 334,
3964 "target_slot": 1,
3965 "type": "IMAGE"
3966 },
3967 {
3968 "id": 851,
3969 "origin_id": 338,
3970 "origin_slot": 0,
3971 "target_id": 326,
3972 "target_slot": 1,
3973 "type": "IMAGE"
3974 }
3975 ],
3976 "extra": {
3977 "workflowRendererVersion": "LG"
3978 }
3979 }
3980 ]
3981 },
3982 "config": [],
3983 "extra": {
3984 "ds": {
3985 "scale": 0.5034467868063119,
3986 "offset": [
3987 5144.437805290908,
3988 1068.743024319068
3989 ]
3990 },
3991 "frontendVersion": "1.40.10",
3992 "VHS_latentpreview": false,
3993 "VHS_latentpreviewrate": 0,
3994 "VHS_MetadataImage": true,
3995 "VHS_KeepIntermediate": true,
3996 "workflowRendererVersion": "LG"
3997 },
3998 "version": 0.4
3999}