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

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