ComfyPilotComfyPilot
工作流 / 视频 / 转 视频 Wan22 5B(Wan22)
转 视频 Wan22 5B(Wan22)

转 视频 Wan22 5B(Wan22)

image to video wan22 5B

ComfyUI 官方示例:Wan22 功能演示,可拖进 ComfyUI 直接使用。

视频 13 个节点 Comfy-Org 11 KB

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

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

需要的权重

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

umt5_xxl_fp8_e4m3fn_scaled.safetensors 在模型库查看
wan2.2_ti2v_5B_fp16.safetensors 在模型库查看
wan2.2_vae.safetensors 在模型库查看

节点构成

CLIPTextEncode × 2
VAEDecode × 1
KSampler × 1
SaveAnimatedWEBP × 1
VAELoader × 1
CLIPLoader × 1
ModelSamplingSD3 × 1
UNETLoader × 1
SaveWEBM × 1
LoadImage × 1
Note × 1
Wan22ImageToVideoLatent × 1

官方标注的模型

umt5_xxl_fp8_e4m3fn_scaled.safetensorswan2.2_ti2v_5B_fp16.safetensorswan2.2_vae.safetensors

工作流 JSON

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

1{
2 "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
3 "revision": 0,
4 "last_node_id": 57,
5 "last_link_id": 106,
6 "nodes": [
7 {
8 "id": 8,
9 "type": "VAEDecode",
10 "pos": [
11 1210,
12 190
13 ],
14 "size": [
15 210,
16 46
17 ],
18 "flags": [],
19 "order": 10,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "samples",
24 "type": "LATENT",
25 "link": 35
26 },
27 {
28 "name": "vae",
29 "type": "VAE",
30 "link": 76
31 }
32 ],
33 "outputs": [
34 {
35 "name": "IMAGE",
36 "type": "IMAGE",
37 "slot_index": 0,
38 "links": [
39 56,
40 93
41 ]
42 }
43 ],
44 "properties": {
45 "Node name for S&R": "VAEDecode"
46 },
47 "widgets_values": []
48 },
49 {
50 "id": 7,
51 "type": "CLIPTextEncode",
52 "pos": [
53 413,
54 389
55 ],
56 "size": [
57 425.27801513671875,
58 180.6060791015625
59 ],
60 "flags": [],
61 "order": 6,
62 "mode": 0,
63 "inputs": [
64 {
65 "name": "clip",
66 "type": "CLIP",
67 "link": 75
68 }
69 ],
70 "outputs": [
71 {
72 "name": "CONDITIONING",
73 "type": "CONDITIONING",
74 "slot_index": 0,
75 "links": [
76 52
77 ]
78 }
79 ],
80 "title": "CLIP Text Encode (Negative Prompt)",
81 "properties": {
82 "Node name for S&R": "CLIPTextEncode"
83 },
84 "widgets_values": [
85 "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
86 ],
87 "color": "#322",
88 "bgcolor": "#533"
89 },
90 {
91 "id": 3,
92 "type": "KSampler",
93 "pos": [
94 863,
95 187
96 ],
97 "size": [
98 315,
99 262
100 ],
101 "flags": [],
102 "order": 9,
103 "mode": 0,
104 "inputs": [
105 {
106 "name": "model",
107 "type": "MODEL",
108 "link": 95
109 },
110 {
111 "name": "positive",
112 "type": "CONDITIONING",
113 "link": 46
114 },
115 {
116 "name": "negative",
117 "type": "CONDITIONING",
118 "link": 52
119 },
120 {
121 "name": "latent_image",
122 "type": "LATENT",
123 "link": 104
124 }
125 ],
126 "outputs": [
127 {
128 "name": "LATENT",
129 "type": "LATENT",
130 "slot_index": 0,
131 "links": [
132 35
133 ]
134 }
135 ],
136 "properties": {
137 "Node name for S&R": "KSampler"
138 },
139 "widgets_values": [
140 869177064731501,
141 "randomize",
142 30,
143 5,
144 "uni_pc",
145 "simple",
146 1
147 ]
148 },
149 {
150 "id": 28,
151 "type": "SaveAnimatedWEBP",
152 "pos": [
153 1460,
154 190
155 ],
156 "size": [
157 870.8511352539062,
158 648.4141235351562
159 ],
160 "flags": [],
161 "order": 11,
162 "mode": 0,
163 "inputs": [
164 {
165 "name": "images",
166 "type": "IMAGE",
167 "link": 56
168 }
169 ],
170 "outputs": [],
171 "properties": [],
172 "widgets_values": [
173 "ComfyUI",
174 24.000000000000004,
175 false,
176 90,
177 "default"
178 ]
179 },
180 {
181 "id": 39,
182 "type": "VAELoader",
183 "pos": [
184 20,
185 340
186 ],
187 "size": [
188 330,
189 60
190 ],
191 "flags": [],
192 "order": 0,
193 "mode": 0,
194 "inputs": [],
195 "outputs": [
196 {
197 "name": "VAE",
198 "type": "VAE",
199 "slot_index": 0,
200 "links": [
201 76,
202 105
203 ]
204 }
205 ],
206 "properties": {
207 "Node name for S&R": "VAELoader"
208 },
209 "widgets_values": [
210 "wan2.2_vae.safetensors"
211 ],
212 "color": "#223",
213 "bgcolor": "#335"
214 },
215 {
216 "id": 38,
217 "type": "CLIPLoader",
218 "pos": [
219 20,
220 190
221 ],
222 "size": [
223 380,
224 106
225 ],
226 "flags": [],
227 "order": 1,
228 "mode": 0,
229 "inputs": [],
230 "outputs": [
231 {
232 "name": "CLIP",
233 "type": "CLIP",
234 "slot_index": 0,
235 "links": [
236 74,
237 75
238 ]
239 }
240 ],
241 "properties": {
242 "Node name for S&R": "CLIPLoader"
243 },
244 "widgets_values": [
245 "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
246 "wan",
247 "default"
248 ],
249 "color": "#223",
250 "bgcolor": "#335"
251 },
252 {
253 "id": 48,
254 "type": "ModelSamplingSD3",
255 "pos": [
256 440,
257 60
258 ],
259 "size": [
260 210,
261 58
262 ],
263 "flags": [],
264 "order": 7,
265 "mode": 0,
266 "inputs": [
267 {
268 "name": "model",
269 "type": "MODEL",
270 "link": 94
271 }
272 ],
273 "outputs": [
274 {
275 "name": "MODEL",
276 "type": "MODEL",
277 "slot_index": 0,
278 "links": [
279 95
280 ]
281 }
282 ],
283 "properties": {
284 "Node name for S&R": "ModelSamplingSD3"
285 },
286 "widgets_values": [
287 8.000000000000002
288 ]
289 },
290 {
291 "id": 37,
292 "type": "UNETLoader",
293 "pos": [
294 20,
295 60
296 ],
297 "size": [
298 346.7470703125,
299 82
300 ],
301 "flags": [],
302 "order": 2,
303 "mode": 0,
304 "inputs": [],
305 "outputs": [
306 {
307 "name": "MODEL",
308 "type": "MODEL",
309 "slot_index": 0,
310 "links": [
311 94
312 ]
313 }
314 ],
315 "properties": {
316 "Node name for S&R": "UNETLoader"
317 },
318 "widgets_values": [
319 "wan2.2_ti2v_5B_fp16.safetensors",
320 "default"
321 ],
322 "color": "#223",
323 "bgcolor": "#335"
324 },
325 {
326 "id": 47,
327 "type": "SaveWEBM",
328 "pos": [
329 2367.213134765625,
330 193.6114959716797
331 ],
332 "size": [
333 670,
334 650
335 ],
336 "flags": [],
337 "order": 12,
338 "mode": 0,
339 "inputs": [
340 {
341 "name": "images",
342 "type": "IMAGE",
343 "link": 93
344 }
345 ],
346 "outputs": [],
347 "properties": {
348 "Node name for S&R": "SaveWEBM"
349 },
350 "widgets_values": [
351 "ComfyUI",
352 "vp9",
353 24,
354 16.111083984375
355 ]
356 },
357 {
358 "id": 57,
359 "type": "LoadImage",
360 "pos": [
361 87.407958984375,
362 620.4816284179688
363 ],
364 "size": [
365 274.080078125,
366 314
367 ],
368 "flags": [],
369 "order": 3,
370 "mode": 0,
371 "inputs": [],
372 "outputs": [
373 {
374 "name": "IMAGE",
375 "type": "IMAGE",
376 "links": [
377 106
378 ]
379 },
380 {
381 "name": "MASK",
382 "type": "MASK",
383 "links": null
384 }
385 ],
386 "properties": {
387 "Node name for S&R": "LoadImage"
388 },
389 "widgets_values": [
390 "fennec_girl_hug.png",
391 "image"
392 ]
393 },
394 {
395 "id": 56,
396 "type": "Note",
397 "pos": [
398 710.781005859375,
399 608.9545288085938
400 ],
401 "size": [
402 320.9936218261719,
403 182.6057586669922
404 ],
405 "flags": [],
406 "order": 4,
407 "mode": 0,
408 "inputs": [],
409 "outputs": [],
410 "properties": [],
411 "widgets_values": [
412 "Optimal resolution is: 1280x704 length 121\n\nThe reason it's lower in this workflow is just because I didn't want you to wait too long to get an initial video.\n\nTo get image to video just plug in a start image. For text to video just don't give it a start image."
413 ],
414 "color": "#432",
415 "bgcolor": "#653"
416 },
417 {
418 "id": 55,
419 "type": "Wan22ImageToVideoLatent",
420 "pos": [
421 420,
422 610
423 ],
424 "size": [
425 271.9126892089844,
426 150
427 ],
428 "flags": [],
429 "order": 8,
430 "mode": 0,
431 "inputs": [
432 {
433 "name": "vae",
434 "type": "VAE",
435 "link": 105
436 },
437 {
438 "name": "start_image",
439 "shape": 7,
440 "type": "IMAGE",
441 "link": 106
442 }
443 ],
444 "outputs": [
445 {
446 "name": "LATENT",
447 "type": "LATENT",
448 "links": [
449 104
450 ]
451 }
452 ],
453 "properties": {
454 "Node name for S&R": "Wan22ImageToVideoLatent"
455 },
456 "widgets_values": [
457 1280,
458 704,
459 41,
460 1
461 ]
462 },
463 {
464 "id": 6,
465 "type": "CLIPTextEncode",
466 "pos": [
467 415,
468 186
469 ],
470 "size": [
471 422.84503173828125,
472 164.31304931640625
473 ],
474 "flags": [],
475 "order": 5,
476 "mode": 0,
477 "inputs": [
478 {
479 "name": "clip",
480 "type": "CLIP",
481 "link": 74
482 }
483 ],
484 "outputs": [
485 {
486 "name": "CONDITIONING",
487 "type": "CONDITIONING",
488 "slot_index": 0,
489 "links": [
490 46
491 ]
492 }
493 ],
494 "title": "CLIP Text Encode (Positive Prompt)",
495 "properties": {
496 "Node name for S&R": "CLIPTextEncode"
497 },
498 "widgets_values": [
499 "a cute anime girl with fennec ears and a fluffy tail walking in a beautiful field"
500 ],
501 "color": "#232",
502 "bgcolor": "#353"
503 }
504 ],
505 "links": [
506 [
507 35,
508 3,
509 0,
510 8,
511 0,
512 "LATENT"
513 ],
514 [
515 46,
516 6,
517 0,
518 3,
519 1,
520 "CONDITIONING"
521 ],
522 [
523 52,
524 7,
525 0,
526 3,
527 2,
528 "CONDITIONING"
529 ],
530 [
531 56,
532 8,
533 0,
534 28,
535 0,
536 "IMAGE"
537 ],
538 [
539 74,
540 38,
541 0,
542 6,
543 0,
544 "CLIP"
545 ],
546 [
547 75,
548 38,
549 0,
550 7,
551 0,
552 "CLIP"
553 ],
554 [
555 76,
556 39,
557 0,
558 8,
559 1,
560 "VAE"
561 ],
562 [
563 93,
564 8,
565 0,
566 47,
567 0,
568 "IMAGE"
569 ],
570 [
571 94,
572 37,
573 0,
574 48,
575 0,
576 "MODEL"
577 ],
578 [
579 95,
580 48,
581 0,
582 3,
583 0,
584 "MODEL"
585 ],
586 [
587 104,
588 55,
589 0,
590 3,
591 3,
592 "LATENT"
593 ],
594 [
595 105,
596 39,
597 0,
598 55,
599 0,
600 "VAE"
601 ],
602 [
603 106,
604 57,
605 0,
606 55,
607 1,
608 "IMAGE"
609 ]
610 ],
611 "groups": [],
612 "config": [],
613 "extra": {
614 "ds": {
615 "scale": 1.1167815779425287,
616 "offset": [
617 3.5210927484772534,
618 -9.231468990407302
619 ]
620 },
621 "frontendVersion": "1.23.4"
622 },
623 "version": 0.4
624}