工作流 /
视频 /
Camera 图像 转 视频 WAN 示例(WAN)

Camera 图像 转 视频 WAN 示例(WAN)
camera image to video wan example
ComfyUI 官方示例:WAN 功能演示,可拖进 ComfyUI 直接使用。
视频
15 个节点 Comfy-Org 14 KB
需要的权重
这个工作流引用了 4 个权重文件,其中 4 个能在本站模型库里找到。
clip_vision_h.safetensors
在模型库查看
umt5_xxl_fp8_e4m3fn_scaled.safetensors
在模型库查看
wan2.1_fun_camera_v1.1_1.3B_bf16.safetensors
在模型库查看
wan_2.1_vae.safetensors
在模型库查看
节点构成
CLIPTextEncode
× 2
CLIPLoader
× 1
VAELoader
× 1
KSampler
× 1
VAEDecode
× 1
SaveAnimatedWEBP
× 1
CLIPVisionEncode
× 1
LoadImage
× 1
CLIPVisionLoader
× 1
WanCameraImageToVideo
× 1
ModelSamplingSD3
× 1
SaveWEBM
× 1
WanCameraEmbedding
× 1
UNETLoader
× 1
官方标注的模型
clip_vision_h.safetensorsumt5_xxl_fp8_e4m3fn_scaled.safetensorswan2.1_fun_camera_v1.1_1.3B_bf16.safetensorswan_2.1_vae.safetensors
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "fa117b0f-052b-46d1-af50-d1bc60704ed5",
3 "revision": 0,
4 "last_node_id": 60,
5 "last_link_id": 130,
6 "nodes": [
7 {
8 "id": 38,
9 "type": "CLIPLoader",
10 "pos": [
11 -540,
12 170
13 ],
14 "size": [
15 387.0450744628906,
16 106
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "CLIP",
25 "type": "CLIP",
26 "slot_index": 0,
27 "links": [
28 74,
29 75
30 ]
31 }
32 ],
33 "properties": {
34 "Node name for S&R": "CLIPLoader"
35 },
36 "widgets_values": [
37 "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
38 "wan",
39 "default"
40 ]
41 },
42 {
43 "id": 39,
44 "type": "VAELoader",
45 "pos": [
46 590,
47 480
48 ],
49 "size": [
50 290.6003723144531,
51 58
52 ],
53 "flags": [],
54 "order": 1,
55 "mode": 0,
56 "inputs": [],
57 "outputs": [
58 {
59 "name": "VAE",
60 "type": "VAE",
61 "slot_index": 0,
62 "links": [
63 76,
64 117
65 ]
66 }
67 ],
68 "properties": {
69 "Node name for S&R": "VAELoader"
70 },
71 "widgets_values": [
72 "wan_2.1_vae.safetensors"
73 ]
74 },
75 {
76 "id": 3,
77 "type": "KSampler",
78 "pos": [
79 900,
80 180
81 ],
82 "size": [
83 308.10516357421875,
84 262
85 ],
86 "flags": [],
87 "order": 11,
88 "mode": 0,
89 "inputs": [
90 {
91 "name": "model",
92 "type": "MODEL",
93 "link": 111
94 },
95 {
96 "name": "positive",
97 "type": "CONDITIONING",
98 "link": 118
99 },
100 {
101 "name": "negative",
102 "type": "CONDITIONING",
103 "link": 119
104 },
105 {
106 "name": "latent_image",
107 "type": "LATENT",
108 "link": 120
109 }
110 ],
111 "outputs": [
112 {
113 "name": "LATENT",
114 "type": "LATENT",
115 "slot_index": 0,
116 "links": [
117 35
118 ]
119 }
120 ],
121 "properties": {
122 "Node name for S&R": "KSampler"
123 },
124 "widgets_values": [
125 1034274237172778,
126 "randomize",
127 20,
128 6,
129 "uni_pc",
130 "simple",
131 1
132 ]
133 },
134 {
135 "id": 8,
136 "type": "VAEDecode",
137 "pos": [
138 1230,
139 180
140 ],
141 "size": [
142 210,
143 46
144 ],
145 "flags": [],
146 "order": 12,
147 "mode": 0,
148 "inputs": [
149 {
150 "name": "samples",
151 "type": "LATENT",
152 "link": 35
153 },
154 {
155 "name": "vae",
156 "type": "VAE",
157 "link": 76
158 }
159 ],
160 "outputs": [
161 {
162 "name": "IMAGE",
163 "type": "IMAGE",
164 "slot_index": 0,
165 "links": [
166 56,
167 93
168 ]
169 }
170 ],
171 "properties": {
172 "Node name for S&R": "VAEDecode"
173 },
174 "widgets_values": []
175 },
176 {
177 "id": 28,
178 "type": "SaveAnimatedWEBP",
179 "pos": [
180 1480,
181 180
182 ],
183 "size": [
184 620.66796875,
185 679.0053100585938
186 ],
187 "flags": [],
188 "order": 13,
189 "mode": 0,
190 "inputs": [
191 {
192 "name": "images",
193 "type": "IMAGE",
194 "link": 56
195 }
196 ],
197 "outputs": [],
198 "properties": [],
199 "widgets_values": [
200 "ComfyUI",
201 16,
202 false,
203 90,
204 "default"
205 ]
206 },
207 {
208 "id": 7,
209 "type": "CLIPTextEncode",
210 "pos": [
211 -140,
212 370
213 ],
214 "size": [
215 425.27801513671875,
216 180.6060791015625
217 ],
218 "flags": [],
219 "order": 7,
220 "mode": 0,
221 "inputs": [
222 {
223 "name": "clip",
224 "type": "CLIP",
225 "link": 75
226 }
227 ],
228 "outputs": [
229 {
230 "name": "CONDITIONING",
231 "type": "CONDITIONING",
232 "slot_index": 0,
233 "links": [
234 116
235 ]
236 }
237 ],
238 "title": "CLIP Text Encode (Negative Prompt)",
239 "properties": {
240 "Node name for S&R": "CLIPTextEncode"
241 },
242 "widgets_values": [
243 "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
244 ],
245 "color": "#322",
246 "bgcolor": "#533"
247 },
248 {
249 "id": 6,
250 "type": "CLIPTextEncode",
251 "pos": [
252 -140,
253 160
254 ],
255 "size": [
256 422.84503173828125,
257 164.31304931640625
258 ],
259 "flags": [],
260 "order": 6,
261 "mode": 0,
262 "inputs": [
263 {
264 "name": "clip",
265 "type": "CLIP",
266 "link": 74
267 }
268 ],
269 "outputs": [
270 {
271 "name": "CONDITIONING",
272 "type": "CONDITIONING",
273 "slot_index": 0,
274 "links": [
275 115
276 ]
277 }
278 ],
279 "title": "CLIP Text Encode (Positive Prompt)",
280 "properties": {
281 "Node name for S&R": "CLIPTextEncode"
282 },
283 "widgets_values": [
284 "a cute anime girl with massive fennec ears and a big fluffy tail wearing a maid outfit"
285 ],
286 "color": "#232",
287 "bgcolor": "#353"
288 },
289 {
290 "id": 51,
291 "type": "CLIPVisionEncode",
292 "pos": [
293 350,
294 680
295 ],
296 "size": [
297 255.5699462890625,
298 78
299 ],
300 "flags": [],
301 "order": 8,
302 "mode": 0,
303 "inputs": [
304 {
305 "name": "clip_vision",
306 "type": "CLIP_VISION",
307 "link": 94
308 },
309 {
310 "name": "image",
311 "type": "IMAGE",
312 "link": 109
313 }
314 ],
315 "outputs": [
316 {
317 "name": "CLIP_VISION_OUTPUT",
318 "type": "CLIP_VISION_OUTPUT",
319 "slot_index": 0,
320 "links": [
321 113
322 ]
323 }
324 ],
325 "properties": {
326 "Node name for S&R": "CLIPVisionEncode"
327 },
328 "widgets_values": [
329 "none"
330 ]
331 },
332 {
333 "id": 52,
334 "type": "LoadImage",
335 "pos": [
336 -10,
337 780
338 ],
339 "size": [
340 315,
341 314
342 ],
343 "flags": [],
344 "order": 2,
345 "mode": 0,
346 "inputs": [],
347 "outputs": [
348 {
349 "name": "IMAGE",
350 "type": "IMAGE",
351 "slot_index": 0,
352 "links": [
353 109,
354 114
355 ]
356 },
357 {
358 "name": "MASK",
359 "type": "MASK",
360 "slot_index": 1,
361 "links": null
362 }
363 ],
364 "properties": {
365 "Node name for S&R": "LoadImage"
366 },
367 "widgets_values": [
368 "flux_dev_example.png",
369 "image"
370 ]
371 },
372 {
373 "id": 49,
374 "type": "CLIPVisionLoader",
375 "pos": [
376 0,
377 670
378 ],
379 "size": [
380 315,
381 58
382 ],
383 "flags": [],
384 "order": 3,
385 "mode": 0,
386 "inputs": [],
387 "outputs": [
388 {
389 "name": "CLIP_VISION",
390 "type": "CLIP_VISION",
391 "slot_index": 0,
392 "links": [
393 94
394 ]
395 }
396 ],
397 "properties": {
398 "Node name for S&R": "CLIPVisionLoader"
399 },
400 "widgets_values": [
401 "clip_vision_h.safetensors"
402 ]
403 },
404 {
405 "id": 56,
406 "type": "WanCameraImageToVideo",
407 "pos": [
408 590,
409 200
410 ],
411 "size": [
412 290,
413 230
414 ],
415 "flags": [],
416 "order": 10,
417 "mode": 0,
418 "inputs": [
419 {
420 "name": "positive",
421 "type": "CONDITIONING",
422 "link": 115
423 },
424 {
425 "name": "negative",
426 "type": "CONDITIONING",
427 "link": 116
428 },
429 {
430 "name": "vae",
431 "type": "VAE",
432 "link": 117
433 },
434 {
435 "name": "clip_vision_output",
436 "shape": 7,
437 "type": "CLIP_VISION_OUTPUT",
438 "link": 113
439 },
440 {
441 "name": "start_image",
442 "shape": 7,
443 "type": "IMAGE",
444 "link": 114
445 },
446 {
447 "name": "camera_conditions",
448 "shape": 7,
449 "type": "WAN_CAMERA_EMBEDDING",
450 "link": 124
451 },
452 {
453 "name": "width",
454 "type": "INT",
455 "widget": {
456 "name": "width"
457 },
458 "link": 125
459 },
460 {
461 "name": "height",
462 "type": "INT",
463 "widget": {
464 "name": "height"
465 },
466 "link": 126
467 },
468 {
469 "name": "length",
470 "type": "INT",
471 "widget": {
472 "name": "length"
473 },
474 "link": 127
475 }
476 ],
477 "outputs": [
478 {
479 "name": "positive",
480 "type": "CONDITIONING",
481 "links": [
482 118
483 ]
484 },
485 {
486 "name": "negative",
487 "type": "CONDITIONING",
488 "links": [
489 119
490 ]
491 },
492 {
493 "name": "latent",
494 "type": "LATENT",
495 "links": [
496 120
497 ]
498 }
499 ],
500 "properties": {
501 "Node name for S&R": "WanCameraImageToVideo"
502 },
503 "widgets_values": [
504 832,
505 480,
506 81,
507 1
508 ]
509 },
510 {
511 "id": 54,
512 "type": "ModelSamplingSD3",
513 "pos": [
514 600,
515 100
516 ],
517 "size": [
518 210,
519 58
520 ],
521 "flags": [],
522 "order": 9,
523 "mode": 0,
524 "inputs": [
525 {
526 "name": "model",
527 "type": "MODEL",
528 "link": 130
529 }
530 ],
531 "outputs": [
532 {
533 "name": "MODEL",
534 "type": "MODEL",
535 "slot_index": 0,
536 "links": [
537 111
538 ]
539 }
540 ],
541 "properties": {
542 "Node name for S&R": "ModelSamplingSD3"
543 },
544 "widgets_values": [
545 8.000000000000002
546 ]
547 },
548 {
549 "id": 47,
550 "type": "SaveWEBM",
551 "pos": [
552 2150,
553 180
554 ],
555 "size": [
556 315,
557 210
558 ],
559 "flags": [],
560 "order": 14,
561 "mode": 4,
562 "inputs": [
563 {
564 "name": "images",
565 "type": "IMAGE",
566 "link": 93
567 }
568 ],
569 "outputs": [],
570 "properties": {
571 "Node name for S&R": "SaveWEBM"
572 },
573 "widgets_values": [
574 "ComfyUI",
575 "vp9",
576 24,
577 32
578 ]
579 },
580 {
581 "id": 57,
582 "type": "WanCameraEmbedding",
583 "pos": [
584 310,
585 300
586 ],
587 "size": [
588 236.8000030517578,
589 310
590 ],
591 "flags": [],
592 "order": 4,
593 "mode": 0,
594 "inputs": [],
595 "outputs": [
596 {
597 "name": "camera_embedding",
598 "type": "WAN_CAMERA_EMBEDDING",
599 "links": [
600 124
601 ]
602 },
603 {
604 "name": "width",
605 "type": "INT",
606 "links": [
607 125
608 ]
609 },
610 {
611 "name": "height",
612 "type": "INT",
613 "links": [
614 126
615 ]
616 },
617 {
618 "name": "length",
619 "type": "INT",
620 "links": [
621 127
622 ]
623 }
624 ],
625 "properties": {
626 "Node name for S&R": "WanCameraEmbedding"
627 },
628 "widgets_values": [
629 "Zoom Out",
630 512,
631 512,
632 81,
633 1,
634 0.5,
635 0.5,
636 0.5,
637 0.5
638 ]
639 },
640 {
641 "id": 37,
642 "type": "UNETLoader",
643 "pos": [
644 -540,
645 50
646 ],
647 "size": [
648 390,
649 82
650 ],
651 "flags": [],
652 "order": 5,
653 "mode": 0,
654 "inputs": [],
655 "outputs": [
656 {
657 "name": "MODEL",
658 "type": "MODEL",
659 "slot_index": 0,
660 "links": [
661 130
662 ]
663 }
664 ],
665 "properties": {
666 "Node name for S&R": "UNETLoader"
667 },
668 "widgets_values": [
669 "wan2.1_fun_camera_v1.1_1.3B_bf16.safetensors",
670 "default"
671 ]
672 }
673 ],
674 "links": [
675 [
676 35,
677 3,
678 0,
679 8,
680 0,
681 "LATENT"
682 ],
683 [
684 56,
685 8,
686 0,
687 28,
688 0,
689 "IMAGE"
690 ],
691 [
692 74,
693 38,
694 0,
695 6,
696 0,
697 "CLIP"
698 ],
699 [
700 75,
701 38,
702 0,
703 7,
704 0,
705 "CLIP"
706 ],
707 [
708 76,
709 39,
710 0,
711 8,
712 1,
713 "VAE"
714 ],
715 [
716 93,
717 8,
718 0,
719 47,
720 0,
721 "IMAGE"
722 ],
723 [
724 94,
725 49,
726 0,
727 51,
728 0,
729 "CLIP_VISION"
730 ],
731 [
732 109,
733 52,
734 0,
735 51,
736 1,
737 "IMAGE"
738 ],
739 [
740 111,
741 54,
742 0,
743 3,
744 0,
745 "MODEL"
746 ],
747 [
748 113,
749 51,
750 0,
751 56,
752 3,
753 "CLIP_VISION_OUTPUT"
754 ],
755 [
756 114,
757 52,
758 0,
759 56,
760 4,
761 "IMAGE"
762 ],
763 [
764 115,
765 6,
766 0,
767 56,
768 0,
769 "CONDITIONING"
770 ],
771 [
772 116,
773 7,
774 0,
775 56,
776 1,
777 "CONDITIONING"
778 ],
779 [
780 117,
781 39,
782 0,
783 56,
784 2,
785 "VAE"
786 ],
787 [
788 118,
789 56,
790 0,
791 3,
792 1,
793 "CONDITIONING"
794 ],
795 [
796 119,
797 56,
798 1,
799 3,
800 2,
801 "CONDITIONING"
802 ],
803 [
804 120,
805 56,
806 2,
807 3,
808 3,
809 "LATENT"
810 ],
811 [
812 124,
813 57,
814 0,
815 56,
816 5,
817 "WAN_CAMERA_EMBEDDING"
818 ],
819 [
820 125,
821 57,
822 1,
823 56,
824 6,
825 "INT"
826 ],
827 [
828 126,
829 57,
830 2,
831 56,
832 7,
833 "INT"
834 ],
835 [
836 127,
837 57,
838 3,
839 56,
840 8,
841 "INT"
842 ],
843 [
844 130,
845 37,
846 0,
847 54,
848 0,
849 "MODEL"
850 ]
851 ],
852 "groups": [],
853 "config": [],
854 "extra": {
855 "ds": {
856 "scale": 0.6934334949441638,
857 "offset": [
858 570.9293716820114,
859 14.391611998548521
860 ]
861 },
862 "frontendVersion": "1.20.7"
863 },
864 "version": 0.4
865}