工作流 /
视频 /
工作流 Txt 转 图像 转 视频(Video)
工作流 Txt 转 图像 转 视频(Video)
workflow txt to img to video
ComfyUI 官方示例:Video 功能演示,可拖进 ComfyUI 直接使用。
视频
13 个节点 Comfy-Org 12 KB
需要的权重
这个工作流引用了 2 个权重文件,其中 1 个能在本站模型库里找到。
sd_xl_1.0.safetensors
模型库暂未收录
svd_xt.safetensors
在模型库查看
节点构成
KSampler
× 2
VAEDecode
× 2
CLIPTextEncode
× 2
VideoLinearCFGGuidance
× 1
SVD_img2vid_Conditioning
× 1
PreviewImage
× 1
EmptyLatentImage
× 1
CheckpointLoaderSimple
× 1
ImageOnlyCheckpointLoader
× 1
SaveAnimatedWEBP
× 1
官方标注的模型
sd_xl_1.0.safetensorssvd_xt.safetensors
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "last_node_id": 22,
3 "last_link_id": 40,
4 "nodes": [
5 {
6 "id": 14,
7 "type": "VideoLinearCFGGuidance",
8 "pos": [
9 1463.739995117188,
10 366.55992248535165
11 ],
12 "size": [
13 315,
14 58
15 ],
16 "flags": [],
17 "order": 5,
18 "mode": 0,
19 "inputs": [
20 {
21 "name": "model",
22 "type": "MODEL",
23 "link": 23
24 }
25 ],
26 "outputs": [
27 {
28 "name": "MODEL",
29 "type": "MODEL",
30 "links": [
31 39
32 ],
33 "shape": 3,
34 "slot_index": 0
35 }
36 ],
37 "properties": {
38 "Node name for S&R": "VideoLinearCFGGuidance"
39 },
40 "widgets_values": [
41 1
42 ]
43 },
44 {
45 "id": 12,
46 "type": "SVD_img2vid_Conditioning",
47 "pos": [
48 1463.739995117188,
49 496.55992248535154
50 ],
51 "size": [
52 315,
53 218
54 ],
55 "flags": [],
56 "order": 8,
57 "mode": 0,
58 "inputs": [
59 {
60 "name": "clip_vision",
61 "type": "CLIP_VISION",
62 "link": 24
63 },
64 {
65 "name": "init_image",
66 "type": "IMAGE",
67 "link": 35,
68 "slot_index": 1
69 },
70 {
71 "name": "vae",
72 "type": "VAE",
73 "link": 25
74 }
75 ],
76 "outputs": [
77 {
78 "name": "positive",
79 "type": "CONDITIONING",
80 "links": [
81 40
82 ],
83 "shape": 3,
84 "slot_index": 0
85 },
86 {
87 "name": "negative",
88 "type": "CONDITIONING",
89 "links": [
90 17
91 ],
92 "shape": 3,
93 "slot_index": 1
94 },
95 {
96 "name": "latent",
97 "type": "LATENT",
98 "links": [
99 18
100 ],
101 "shape": 3,
102 "slot_index": 2
103 }
104 ],
105 "properties": {
106 "Node name for S&R": "SVD_img2vid_Conditioning"
107 },
108 "widgets_values": [
109 1024,
110 576,
111 25,
112 127,
113 6,
114 0
115 ]
116 },
117 {
118 "id": 3,
119 "type": "KSampler",
120 "pos": [
121 1843.7399951171883,
122 476.55992248535154
123 ],
124 "size": [
125 315,
126 262
127 ],
128 "flags": [],
129 "order": 10,
130 "mode": 0,
131 "inputs": [
132 {
133 "name": "model",
134 "type": "MODEL",
135 "link": 39
136 },
137 {
138 "name": "positive",
139 "type": "CONDITIONING",
140 "link": 40
141 },
142 {
143 "name": "negative",
144 "type": "CONDITIONING",
145 "link": 17
146 },
147 {
148 "name": "latent_image",
149 "type": "LATENT",
150 "link": 18
151 }
152 ],
153 "outputs": [
154 {
155 "name": "LATENT",
156 "type": "LATENT",
157 "links": [
158 7
159 ],
160 "slot_index": 0
161 }
162 ],
163 "properties": {
164 "Node name for S&R": "KSampler"
165 },
166 "widgets_values": [
167 237514639057514,
168 "randomize",
169 20,
170 2.5,
171 "euler",
172 "karras",
173 1
174 ]
175 },
176 {
177 "id": 8,
178 "type": "VAEDecode",
179 "pos": [
180 2183.73999511719,
181 476.55992248535154
182 ],
183 "size": [
184 210,
185 46
186 ],
187 "flags": [],
188 "order": 11,
189 "mode": 0,
190 "inputs": [
191 {
192 "name": "samples",
193 "type": "LATENT",
194 "link": 7
195 },
196 {
197 "name": "vae",
198 "type": "VAE",
199 "link": 26
200 }
201 ],
202 "outputs": [
203 {
204 "name": "IMAGE",
205 "type": "IMAGE",
206 "links": [
207 10
208 ],
209 "slot_index": 0
210 }
211 ],
212 "properties": {
213 "Node name for S&R": "VAEDecode"
214 }
215 },
216 {
217 "id": 21,
218 "type": "PreviewImage",
219 "pos": [
220 1152.400012207032,
221 656.4000274658205
222 ],
223 "size": [
224 275.9453125,
225 246
226 ],
227 "flags": [],
228 "order": 9,
229 "mode": 0,
230 "inputs": [
231 {
232 "name": "images",
233 "type": "IMAGE",
234 "link": 36
235 }
236 ],
237 "properties": {
238 "Node name for S&R": "PreviewImage"
239 }
240 },
241 {
242 "id": 20,
243 "type": "VAEDecode",
244 "pos": [
245 1172.400012207032,
246 566.4000274658204
247 ],
248 "size": [
249 210,
250 46
251 ],
252 "flags": [],
253 "order": 7,
254 "mode": 0,
255 "inputs": [
256 {
257 "name": "samples",
258 "type": "LATENT",
259 "link": 33
260 },
261 {
262 "name": "vae",
263 "type": "VAE",
264 "link": 34,
265 "slot_index": 1
266 }
267 ],
268 "outputs": [
269 {
270 "name": "IMAGE",
271 "type": "IMAGE",
272 "links": [
273 35,
274 36
275 ],
276 "shape": 3,
277 "slot_index": 0
278 }
279 ],
280 "properties": {
281 "Node name for S&R": "VAEDecode"
282 }
283 },
284 {
285 "id": 17,
286 "type": "KSampler",
287 "pos": [
288 802.4000122070315,
289 566.4000274658204
290 ],
291 "size": [
292 315,
293 262
294 ],
295 "flags": [],
296 "order": 6,
297 "mode": 0,
298 "inputs": [
299 {
300 "name": "model",
301 "type": "MODEL",
302 "link": 28
303 },
304 {
305 "name": "positive",
306 "type": "CONDITIONING",
307 "link": 30
308 },
309 {
310 "name": "negative",
311 "type": "CONDITIONING",
312 "link": 32
313 },
314 {
315 "name": "latent_image",
316 "type": "LATENT",
317 "link": 37,
318 "slot_index": 3
319 }
320 ],
321 "outputs": [
322 {
323 "name": "LATENT",
324 "type": "LATENT",
325 "links": [
326 33
327 ],
328 "shape": 3,
329 "slot_index": 0
330 }
331 ],
332 "properties": {
333 "Node name for S&R": "KSampler"
334 },
335 "widgets_values": [
336 144698910769133,
337 "randomize",
338 15,
339 8,
340 "uni_pc_bh2",
341 "normal",
342 1
343 ]
344 },
345 {
346 "id": 18,
347 "type": "CLIPTextEncode",
348 "pos": [
349 342.4000122070312,
350 516.4000274658204
351 ],
352 "size": [
353 390,
354 130
355 ],
356 "flags": [],
357 "order": 3,
358 "mode": 0,
359 "inputs": [
360 {
361 "name": "clip",
362 "type": "CLIP",
363 "link": 29
364 }
365 ],
366 "outputs": [
367 {
368 "name": "CONDITIONING",
369 "type": "CONDITIONING",
370 "links": [
371 30
372 ],
373 "shape": 3,
374 "slot_index": 0
375 }
376 ],
377 "properties": {
378 "Node name for S&R": "CLIPTextEncode"
379 },
380 "widgets_values": [
381 "photograph beautiful scenery nature mountains alps river rapids snow sky cumulus clouds"
382 ]
383 },
384 {
385 "id": 22,
386 "type": "EmptyLatentImage",
387 "pos": [
388 422.4000122070312,
389 866.4000274658204
390 ],
391 "size": [
392 310,
393 110
394 ],
395 "flags": [],
396 "order": 0,
397 "mode": 0,
398 "outputs": [
399 {
400 "name": "LATENT",
401 "type": "LATENT",
402 "links": [
403 37
404 ],
405 "shape": 3
406 }
407 ],
408 "properties": {
409 "Node name for S&R": "EmptyLatentImage"
410 },
411 "widgets_values": [
412 1024,
413 576,
414 1
415 ]
416 },
417 {
418 "id": 19,
419 "type": "CLIPTextEncode",
420 "pos": [
421 342.4000122070312,
422 696.4000274658205
423 ],
424 "size": [
425 390,
426 130
427 ],
428 "flags": [],
429 "order": 4,
430 "mode": 0,
431 "inputs": [
432 {
433 "name": "clip",
434 "type": "CLIP",
435 "link": 31
436 }
437 ],
438 "outputs": [
439 {
440 "name": "CONDITIONING",
441 "type": "CONDITIONING",
442 "links": [
443 32
444 ],
445 "shape": 3,
446 "slot_index": 0
447 }
448 ],
449 "properties": {
450 "Node name for S&R": "CLIPTextEncode"
451 },
452 "widgets_values": [
453 "text, watermark"
454 ]
455 },
456 {
457 "id": 16,
458 "type": "CheckpointLoaderSimple",
459 "pos": [
460 0,
461 510
462 ],
463 "size": [
464 315,
465 98
466 ],
467 "flags": [],
468 "order": 1,
469 "mode": 0,
470 "outputs": [
471 {
472 "name": "MODEL",
473 "type": "MODEL",
474 "links": [
475 28
476 ],
477 "shape": 3,
478 "slot_index": 0
479 },
480 {
481 "name": "CLIP",
482 "type": "CLIP",
483 "links": [
484 29,
485 31
486 ],
487 "shape": 3,
488 "slot_index": 1
489 },
490 {
491 "name": "VAE",
492 "type": "VAE",
493 "links": [
494 34
495 ],
496 "shape": 3
497 }
498 ],
499 "properties": {
500 "Node name for S&R": "CheckpointLoaderSimple"
501 },
502 "widgets_values": [
503 "sd_xl_1.0.safetensors"
504 ]
505 },
506 {
507 "id": 15,
508 "type": "ImageOnlyCheckpointLoader",
509 "pos": [
510 1050,
511 320
512 ],
513 "size": [
514 369.6000061035156,
515 98
516 ],
517 "flags": [],
518 "order": 2,
519 "mode": 0,
520 "outputs": [
521 {
522 "name": "MODEL",
523 "type": "MODEL",
524 "links": [
525 23
526 ],
527 "shape": 3,
528 "slot_index": 0
529 },
530 {
531 "name": "CLIP_VISION",
532 "type": "CLIP_VISION",
533 "links": [
534 24
535 ],
536 "shape": 3,
537 "slot_index": 1
538 },
539 {
540 "name": "VAE",
541 "type": "VAE",
542 "links": [
543 25,
544 26
545 ],
546 "shape": 3,
547 "slot_index": 2
548 }
549 ],
550 "properties": {
551 "Node name for S&R": "ImageOnlyCheckpointLoader"
552 },
553 "widgets_values": [
554 "svd_xt.safetensors"
555 ]
556 },
557 {
558 "id": 10,
559 "type": "SaveAnimatedWEBP",
560 "pos": [
561 1654,
562 829
563 ],
564 "size": [
565 741.6685791015625,
566 564.5909423828125
567 ],
568 "flags": [],
569 "order": 12,
570 "mode": 0,
571 "inputs": [
572 {
573 "name": "images",
574 "type": "IMAGE",
575 "link": 10
576 }
577 ],
578 "properties": {
579 "Node name for S&R": "SaveAnimatedWEBP"
580 },
581 "widgets_values": [
582 "ComfyUI",
583 10,
584 false,
585 85,
586 "default"
587 ]
588 }
589 ],
590 "links": [
591 [
592 7,
593 3,
594 0,
595 8,
596 0,
597 "LATENT"
598 ],
599 [
600 10,
601 8,
602 0,
603 10,
604 0,
605 "IMAGE"
606 ],
607 [
608 17,
609 12,
610 1,
611 3,
612 2,
613 "CONDITIONING"
614 ],
615 [
616 18,
617 12,
618 2,
619 3,
620 3,
621 "LATENT"
622 ],
623 [
624 23,
625 15,
626 0,
627 14,
628 0,
629 "MODEL"
630 ],
631 [
632 24,
633 15,
634 1,
635 12,
636 0,
637 "CLIP_VISION"
638 ],
639 [
640 25,
641 15,
642 2,
643 12,
644 2,
645 "VAE"
646 ],
647 [
648 26,
649 15,
650 2,
651 8,
652 1,
653 "VAE"
654 ],
655 [
656 28,
657 16,
658 0,
659 17,
660 0,
661 "MODEL"
662 ],
663 [
664 29,
665 16,
666 1,
667 18,
668 0,
669 "CLIP"
670 ],
671 [
672 30,
673 18,
674 0,
675 17,
676 1,
677 "CONDITIONING"
678 ],
679 [
680 31,
681 16,
682 1,
683 19,
684 0,
685 "CLIP"
686 ],
687 [
688 32,
689 19,
690 0,
691 17,
692 2,
693 "CONDITIONING"
694 ],
695 [
696 33,
697 17,
698 0,
699 20,
700 0,
701 "LATENT"
702 ],
703 [
704 34,
705 16,
706 2,
707 20,
708 1,
709 "VAE"
710 ],
711 [
712 35,
713 20,
714 0,
715 12,
716 1,
717 "IMAGE"
718 ],
719 [
720 36,
721 20,
722 0,
723 21,
724 0,
725 "IMAGE"
726 ],
727 [
728 37,
729 22,
730 0,
731 17,
732 3,
733 "LATENT"
734 ],
735 [
736 39,
737 14,
738 0,
739 3,
740 0,
741 "MODEL"
742 ],
743 [
744 40,
745 12,
746 0,
747 3,
748 1,
749 "CONDITIONING"
750 ]
751 ],
752 "groups": [
753 {
754 "title": "Image to Video",
755 "bounding": [
756 1454,
757 293,
758 954,
759 478
760 ],
761 "color": "#8A8",
762 "font_size": 24
763 },
764 {
765 "title": "Text to Image",
766 "bounding": [
767 332,
768 442,
769 1106,
770 544
771 ],
772 "color": "#3f789e",
773 "font_size": 24
774 }
775 ],
776 "config": [],
777 "extra": [],
778 "version": 0.4
779}