工作流 /
视频 /
因果驱动:图生视频

因果驱动:图生视频
Causal Forcing: Image to Video
输入文本提示词并选择一个模型检查点。使用因果强制或因果强制++,通过1到4个推理步骤生成高质量视频。
视频
5 个节点 1 个输入 70 次使用 ComfyUI ≥ 0.21.0 ComfyUI 44 KB
需要的权重
这个工作流引用了 3 个权重文件,其中 3 个能在本站模型库里找到。
causal_forcing-framewise.safetensors
在模型库查看
umt5_xxl_fp8_e4m3fn_scaled.safetensors
在模型库查看
wan_2.1_vae.safetensors
在模型库查看
节点构成
MarkdownNote
× 2
SaveVideo
× 1
LoadImage
× 1
96ba6b5d-dd48-49b3-84c3-5b86eafc2a07
× 1
官方标注的模型
Wan2.1
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "b5d4e2f9-8c3a-4b0e-a4d2-f9e6b3c0a1d5",
3 "revision": 1,
4 "last_node_id": 31,
5 "last_link_id": 37,
6 "nodes": [
7 {
8 "id": 16,
9 "type": "SaveVideo",
10 "pos": [
11 260,
12 600
13 ],
14 "size": [
15 590,
16 570
17 ],
18 "flags": [],
19 "order": 4,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "video",
24 "type": "VIDEO",
25 "link": 28
26 }
27 ],
28 "outputs": [],
29 "properties": {
30 "cnr_id": "comfy-core",
31 "ver": "0.22.0",
32 "enableTabs": false,
33 "tabWidth": 65,
34 "tabXOffset": 10,
35 "hasSecondTab": false,
36 "secondTabText": "Send Back",
37 "secondTabOffset": 80,
38 "secondTabWidth": 65,
39 "Node name for S&R": "SaveVideo"
40 },
41 "widgets_values": [
42 "video/CausalForcing_I2V",
43 "auto",
44 "auto"
45 ]
46 },
47 {
48 "id": 18,
49 "type": "LoadImage",
50 "pos": [
51 -710,
52 600
53 ],
54 "size": [
55 410,
56 570
57 ],
58 "flags": [],
59 "order": 0,
60 "mode": 0,
61 "inputs": [],
62 "outputs": [
63 {
64 "name": "IMAGE",
65 "type": "IMAGE",
66 "links": [
67 27
68 ]
69 },
70 {
71 "name": "MASK",
72 "type": "MASK",
73 "links": null
74 }
75 ],
76 "properties": {
77 "cnr_id": "comfy-core",
78 "ver": "0.22.0",
79 "enableTabs": false,
80 "tabWidth": 65,
81 "tabXOffset": 10,
82 "hasSecondTab": false,
83 "secondTabText": "Send Back",
84 "secondTabOffset": 80,
85 "secondTabWidth": 65,
86 "Node name for S&R": "LoadImage"
87 },
88 "widgets_values": [
89 "girl_riding_a_wolf.png",
90 "image"
91 ]
92 },
93 {
94 "id": 29,
95 "type": "96ba6b5d-dd48-49b3-84c3-5b86eafc2a07",
96 "pos": [
97 -240,
98 600
99 ],
100 "size": [
101 430,
102 570
103 ],
104 "flags": [],
105 "order": 3,
106 "mode": 0,
107 "inputs": [
108 {
109 "label": "first_frame",
110 "name": "start_image",
111 "type": "IMAGE",
112 "link": 27
113 },
114 {
115 "label": "positive_prompt",
116 "name": "text",
117 "type": "STRING",
118 "widget": {
119 "name": "text"
120 },
121 "link": null
122 },
123 {
124 "label": "duration",
125 "name": "value",
126 "type": "FLOAT",
127 "widget": {
128 "name": "value"
129 },
130 "link": null
131 }
132 ],
133 "outputs": [
134 {
135 "name": "VIDEO",
136 "type": "VIDEO",
137 "links": [
138 28
139 ]
140 }
141 ],
142 "properties": {
143 "proxyWidgets": [
144 [
145 "4",
146 "text"
147 ],
148 [
149 "8",
150 "width"
151 ],
152 [
153 "8",
154 "height"
155 ],
156 [
157 "28",
158 "value"
159 ],
160 [
161 "11",
162 "noise_seed"
163 ],
164 [
165 "1",
166 "unet_name"
167 ],
168 [
169 "2",
170 "clip_name"
171 ],
172 [
173 "3",
174 "vae_name"
175 ]
176 ],
177 "cnr_id": "comfy-core",
178 "ver": "0.22.0",
179 "enableTabs": false,
180 "tabWidth": 65,
181 "tabXOffset": 10,
182 "hasSecondTab": false,
183 "secondTabText": "Send Back",
184 "secondTabOffset": 80,
185 "secondTabWidth": 65
186 },
187 "widgets_values": []
188 },
189 {
190 "id": 30,
191 "type": "MarkdownNote",
192 "pos": [
193 -2180,
194 600
195 ],
196 "size": [
197 610,
198 890
199 ],
200 "flags": [],
201 "order": 1,
202 "mode": 0,
203 "inputs": [],
204 "outputs": [],
205 "properties": [],
206 "widgets_values": [
207 "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links\n\n- [Hugging Face:Comfy-Org/Wan_2.1_ComfyUI_repackaged](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged)\n\n**ModelScope mirrors** (alternative repo location)\n\n- [ModelScope:Comfy-Org/Wan_2.1_ComfyUI_repackaged](https://modelscope.cn/models/Comfy-Org/Wan_2.1_ComfyUI_repackaged)\n\n**diffusion_models**\n\n- [causal_forcing-framewise.safetensors](https://huggingface.co/TalmajM/causal_forcing_framewise_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/causal_forcing-framewise.safetensors) (5.29 GB)\n\n**vae**\n\n- [wan_2.1_vae.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors) (242.1 MB)\n\n**text_encoders**\n\n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors) (6.27 GB)\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── causal_forcing-framewise.safetensors\n│ ├── 📂 vae/\n│ │ └── wan_2.1_vae.safetensors\n│ └── 📂 text_encoders/\n│ └── umt5_xxl_fp8_e4m3fn_scaled.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
208 ],
209 "color": "#222",
210 "bgcolor": "#000"
211 },
212 {
213 "id": 31,
214 "type": "MarkdownNote",
215 "pos": [
216 -1540,
217 600
218 ],
219 "size": [
220 760,
221 1326.015625
222 ],
223 "flags": [],
224 "order": 2,
225 "mode": 0,
226 "inputs": [],
227 "outputs": [],
228 "title": "Note: Causal Forcing Framewise",
229 "properties": [],
230 "widgets_values": [
231 "## About Causal Forcing\n\n[Causal Forcing](https://github.com/thu-ml/Causal-Forcing) is an open-source video generation method from Tsinghua University. It uses **Causal ODE** or **Causal Consistency Distillation** to distill autoregressive diffusion models into a few-step generator, enabling high-quality real-time interactive video generation.\n\nCompared to earlier methods like Self Forcing, Causal Forcing delivers better visual quality and motion dynamics at the same training budget and inference speed.\n\n**This workflow template is image-to-video (I2V) only** — it takes a starting image and animates it with a text prompt. It uses the **Causal Forcing Framewise 4-step** checkpoint with Wan 2.1 components.\n\n## Duration Limit\n\n**The maximum output length in this template is about 5 seconds.**\n\n- Output is encoded at **16 fps** (`CreateVideo`)\n- Frame count is computed as `min(duration × 16 + 1, 81)`\n- The cap of **81 frames** corresponds to roughly **5 seconds** of video\n\nAdjust the **duration** input on the subgraph (default: 5). Values above ~5 s will still be clamped to 81 frames.\n\n## How to Use\n\n1. **Load Image** — upload the first frame of your video\n2. **Image to Video (Causal Forcing Framewise)** subgraph — set the main controls:\n - **first_frame** — connected from Load Image\n - **positive_prompt** — describe the motion and scene you want\n - **width / height** — output resolution (default 832 × 480)\n - **duration** — length in seconds (default 5, max ~5)\n - **noise_seed** — change to get different results\n3. **Save Video** — output is saved under `video/CausalForcing_I2V`\n\nThe **negative prompt** is preset inside the subgraph and is not exposed as an input. Edit it inside the subgraph if you need to customize it.\n\n## Sampling Settings (inside subgraph)\n\nThese are pre-tuned for the framewise 4-step checkpoint and generally should not be changed:\n\n- **4 sampling steps** (`BasicScheduler`)\n- **CFG = 1** (`CFGGuider`) — classifier-free guidance is disabled\n- **SamplerARVideo** — autoregressive frame-by-frame generation\n\n## Tips\n\n- Write prompts that describe **motion and camera behavior**, not just the static image content\n- Match your input image aspect ratio to **width / height** for best results\n- For longer videos, see the upstream project's [long video generation](https://github.com/thu-ml/Causal-Forcing) extensions (Rolling Forcing, etc.)"
232 ],
233 "color": "#222",
234 "bgcolor": "#000"
235 }
236 ],
237 "links": [
238 [
239 27,
240 18,
241 0,
242 29,
243 0,
244 "IMAGE"
245 ],
246 [
247 28,
248 29,
249 0,
250 16,
251 0,
252 "VIDEO"
253 ]
254 ],
255 "groups": [],
256 "definitions": {
257 "subgraphs": [
258 {
259 "id": "96ba6b5d-dd48-49b3-84c3-5b86eafc2a07",
260 "version": 1,
261 "state": {
262 "lastGroupId": 7,
263 "lastNodeId": 31,
264 "lastLinkId": 37,
265 "lastRerouteId": 0
266 },
267 "revision": 1,
268 "config": [],
269 "name": "Image to Video (Causal Forcing Framewise)",
270 "inputNode": {
271 "id": -10,
272 "bounding": [
273 -1420,
274 540,
275 138.64453125,
276 228
277 ]
278 },
279 "outputNode": {
280 "id": -20,
281 "bounding": [
282 1380,
283 563,
284 128,
285 68
286 ]
287 },
288 "inputs": [
289 {
290 "id": "cb3a4a56-59d6-4712-bd76-0353d48ddccd",
291 "name": "start_image",
292 "type": "IMAGE",
293 "linkIds": [
294 20
295 ],
296 "localized_name": "start_image",
297 "label": "first_frame",
298 "pos": [
299 -1305.35546875,
300 564
301 ]
302 },
303 {
304 "id": "8e8b2247-da4e-4185-a589-62afb14ecd59",
305 "name": "text",
306 "type": "STRING",
307 "linkIds": [
308 29
309 ],
310 "label": "positive_prompt",
311 "pos": [
312 -1305.35546875,
313 584
314 ]
315 },
316 {
317 "id": "1138547c-4c6c-448a-9ec2-1c5adae2507e",
318 "name": "width",
319 "type": "INT",
320 "linkIds": [
321 31
322 ],
323 "pos": [
324 -1305.35546875,
325 604
326 ]
327 },
328 {
329 "id": "d39fa17a-196f-4ac2-9790-7e02925e5a56",
330 "name": "height",
331 "type": "INT",
332 "linkIds": [
333 32
334 ],
335 "pos": [
336 -1305.35546875,
337 624
338 ]
339 },
340 {
341 "id": "6b4d6c63-b647-429e-8d59-54afc56456df",
342 "name": "value",
343 "type": "FLOAT",
344 "linkIds": [
345 33
346 ],
347 "label": "duration",
348 "pos": [
349 -1305.35546875,
350 644
351 ]
352 },
353 {
354 "id": "670c0034-cf0a-4e36-9a1d-bfaee6e10583",
355 "name": "noise_seed",
356 "type": "INT",
357 "linkIds": [
358 34
359 ],
360 "pos": [
361 -1305.35546875,
362 664
363 ]
364 },
365 {
366 "id": "0aaf57f1-c3c5-4936-ad82-c4ff83963956",
367 "name": "unet_name",
368 "type": "COMBO",
369 "linkIds": [
370 35
371 ],
372 "pos": [
373 -1305.35546875,
374 684
375 ]
376 },
377 {
378 "id": "024a57ca-a64a-4b14-84a1-83887e5cdc7a",
379 "name": "clip_name",
380 "type": "COMBO",
381 "linkIds": [
382 36
383 ],
384 "pos": [
385 -1305.35546875,
386 704
387 ]
388 },
389 {
390 "id": "49f50a92-e71c-41b7-9b98-38698b8be540",
391 "name": "vae_name",
392 "type": "COMBO",
393 "linkIds": [
394 37
395 ],
396 "pos": [
397 -1305.35546875,
398 724
399 ]
400 }
401 ],
402 "outputs": [
403 {
404 "id": "fc74ce56-649b-43b5-aa21-56edff0ccb70",
405 "name": "VIDEO",
406 "type": "VIDEO",
407 "linkIds": [
408 19
409 ],
410 "localized_name": "VIDEO",
411 "pos": [
412 1404,
413 587
414 ]
415 }
416 ],
417 "widgets": [],
418 "nodes": [
419 {
420 "id": 1,
421 "type": "UNETLoader",
422 "pos": [
423 -770,
424 130
425 ],
426 "size": [
427 450,
428 140
429 ],
430 "flags": [],
431 "order": 1,
432 "mode": 0,
433 "inputs": [
434 {
435 "localized_name": "unet_name",
436 "name": "unet_name",
437 "type": "COMBO",
438 "widget": {
439 "name": "unet_name"
440 },
441 "link": 35
442 }
443 ],
444 "outputs": [
445 {
446 "localized_name": "MODEL",
447 "name": "MODEL",
448 "type": "MODEL",
449 "slot_index": 0,
450 "links": [
451 1
452 ]
453 }
454 ],
455 "properties": {
456 "cnr_id": "comfy-core",
457 "ver": "0.22.0",
458 "enableTabs": false,
459 "tabWidth": 65,
460 "tabXOffset": 10,
461 "hasSecondTab": false,
462 "secondTabText": "Send Back",
463 "secondTabOffset": 80,
464 "secondTabWidth": 65,
465 "Node name for S&R": "UNETLoader",
466 "models": [
467 {
468 "name": "causal_forcing-framewise.safetensors",
469 "url": "https://huggingface.co/TalmajM/causal_forcing_framewise_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/causal_forcing-framewise.safetensors",
470 "directory": "diffusion_models"
471 }
472 ]
473 },
474 "widgets_values": [
475 "causal_forcing-framewise.safetensors",
476 "default"
477 ]
478 },
479 {
480 "id": 9,
481 "type": "CLIPTextEncode",
482 "pos": [
483 -210,
484 470
485 ],
486 "size": [
487 410,
488 170
489 ],
490 "flags": [],
491 "order": 7,
492 "mode": 0,
493 "inputs": [
494 {
495 "localized_name": "clip",
496 "name": "clip",
497 "type": "CLIP",
498 "link": 7
499 }
500 ],
501 "outputs": [
502 {
503 "localized_name": "CONDITIONING",
504 "name": "CONDITIONING",
505 "type": "CONDITIONING",
506 "slot_index": 0,
507 "links": [
508 8
509 ]
510 }
511 ],
512 "title": "CLIP Text Encode (Negative Prompt)",
513 "properties": {
514 "cnr_id": "comfy-core",
515 "ver": "0.22.0",
516 "enableTabs": false,
517 "tabWidth": 65,
518 "tabXOffset": 10,
519 "hasSecondTab": false,
520 "secondTabText": "Send Back",
521 "secondTabOffset": 80,
522 "secondTabWidth": 65,
523 "Node name for S&R": "CLIPTextEncode"
524 },
525 "widgets_values": [
526 "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走,不合理的动作"
527 ],
528 "color": "#223",
529 "bgcolor": "#335"
530 },
531 {
532 "id": 12,
533 "type": "SamplerARVideo",
534 "pos": [
535 280,
536 290
537 ],
538 "size": [
539 270,
540 110
541 ],
542 "flags": [],
543 "order": 0,
544 "mode": 0,
545 "inputs": [],
546 "outputs": [
547 {
548 "localized_name": "SAMPLER",
549 "name": "SAMPLER",
550 "type": "SAMPLER",
551 "slot_index": 0,
552 "links": [
553 15
554 ]
555 }
556 ],
557 "properties": {
558 "cnr_id": "comfy-core",
559 "ver": "0.22.0",
560 "enableTabs": false,
561 "tabWidth": 65,
562 "tabXOffset": 10,
563 "hasSecondTab": false,
564 "secondTabText": "Send Back",
565 "secondTabOffset": 80,
566 "secondTabWidth": 65,
567 "Node name for S&R": "SamplerARVideo"
568 },
569 "widgets_values": [
570 1
571 ]
572 },
573 {
574 "id": 3,
575 "type": "VAELoader",
576 "pos": [
577 -770,
578 560
579 ],
580 "size": [
581 460,
582 110
583 ],
584 "flags": [],
585 "order": 3,
586 "mode": 0,
587 "inputs": [
588 {
589 "localized_name": "vae_name",
590 "name": "vae_name",
591 "type": "COMBO",
592 "widget": {
593 "name": "vae_name"
594 },
595 "link": 37
596 }
597 ],
598 "outputs": [
599 {
600 "localized_name": "VAE",
601 "name": "VAE",
602 "type": "VAE",
603 "slot_index": 0,
604 "links": [
605 4,
606 10
607 ]
608 }
609 ],
610 "properties": {
611 "cnr_id": "comfy-core",
612 "ver": "0.22.0",
613 "enableTabs": false,
614 "tabWidth": 65,
615 "tabXOffset": 10,
616 "hasSecondTab": false,
617 "secondTabText": "Send Back",
618 "secondTabOffset": 80,
619 "secondTabWidth": 65,
620 "Node name for S&R": "VAELoader",
621 "models": [
622 {
623 "name": "wan_2.1_vae.safetensors",
624 "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
625 "directory": "vae"
626 }
627 ]
628 },
629 "widgets_values": [
630 "wan_2.1_vae.safetensors"
631 ]
632 },
633 {
634 "id": 11,
635 "type": "RandomNoise",
636 "pos": [
637 280,
638 120
639 ],
640 "size": [
641 270,
642 110
643 ],
644 "flags": [],
645 "order": 8,
646 "mode": 0,
647 "inputs": [
648 {
649 "localized_name": "noise_seed",
650 "name": "noise_seed",
651 "type": "INT",
652 "widget": {
653 "name": "noise_seed"
654 },
655 "link": 34
656 }
657 ],
658 "outputs": [
659 {
660 "localized_name": "NOISE",
661 "name": "NOISE",
662 "type": "NOISE",
663 "slot_index": 0,
664 "links": [
665 14
666 ]
667 }
668 ],
669 "title": "Random Noise",
670 "properties": {
671 "cnr_id": "comfy-core",
672 "ver": "0.22.0",
673 "enableTabs": false,
674 "tabWidth": 65,
675 "tabXOffset": 10,
676 "hasSecondTab": false,
677 "secondTabText": "Send Back",
678 "secondTabOffset": 80,
679 "secondTabWidth": 65,
680 "Node name for S&R": "RandomNoise"
681 },
682 "widgets_values": [
683 483145124184881,
684 "randomize"
685 ]
686 },
687 {
688 "id": 13,
689 "type": "BasicScheduler",
690 "pos": [
691 280,
692 450
693 ],
694 "size": [
695 270,
696 180
697 ],
698 "flags": [],
699 "order": 9,
700 "mode": 0,
701 "inputs": [
702 {
703 "localized_name": "model",
704 "name": "model",
705 "type": "MODEL",
706 "link": 13
707 }
708 ],
709 "outputs": [
710 {
711 "localized_name": "SIGMAS",
712 "name": "SIGMAS",
713 "type": "SIGMAS",
714 "slot_index": 0,
715 "links": [
716 16
717 ]
718 }
719 ],
720 "title": "Schedule (4 steps)",
721 "properties": {
722 "cnr_id": "comfy-core",
723 "ver": "0.22.0",
724 "enableTabs": false,
725 "tabWidth": 65,
726 "tabXOffset": 10,
727 "hasSecondTab": false,
728 "secondTabText": "Send Back",
729 "secondTabOffset": 80,
730 "secondTabWidth": 65,
731 "Node name for S&R": "BasicScheduler"
732 },
733 "widgets_values": [
734 "simple",
735 4,
736 1
737 ]
738 },
739 {
740 "id": 14,
741 "type": "CFGGuider",
742 "pos": [
743 280,
744 680
745 ],
746 "size": [
747 270,
748 160
749 ],
750 "flags": [],
751 "order": 10,
752 "mode": 0,
753 "inputs": [
754 {
755 "localized_name": "model",
756 "name": "model",
757 "type": "MODEL",
758 "link": 12
759 },
760 {
761 "localized_name": "positive",
762 "name": "positive",
763 "type": "CONDITIONING",
764 "link": 3
765 },
766 {
767 "localized_name": "negative",
768 "name": "negative",
769 "type": "CONDITIONING",
770 "link": 8
771 }
772 ],
773 "outputs": [
774 {
775 "localized_name": "GUIDER",
776 "name": "GUIDER",
777 "type": "GUIDER",
778 "slot_index": 0,
779 "links": [
780 17
781 ]
782 }
783 ],
784 "title": "CFG Guider (cfg=1)",
785 "properties": {
786 "cnr_id": "comfy-core",
787 "ver": "0.22.0",
788 "enableTabs": false,
789 "tabWidth": 65,
790 "tabXOffset": 10,
791 "hasSecondTab": false,
792 "secondTabText": "Send Back",
793 "secondTabOffset": 80,
794 "secondTabWidth": 65,
795 "Node name for S&R": "CFGGuider"
796 },
797 "widgets_values": [
798 1
799 ]
800 },
801 {
802 "id": 15,
803 "type": "SamplerCustomAdvanced",
804 "pos": [
805 650,
806 120
807 ],
808 "size": [
809 270,
810 170
811 ],
812 "flags": [],
813 "order": 11,
814 "mode": 0,
815 "inputs": [
816 {
817 "localized_name": "noise",
818 "name": "noise",
819 "type": "NOISE",
820 "link": 14
821 },
822 {
823 "localized_name": "guider",
824 "name": "guider",
825 "type": "GUIDER",
826 "link": 17
827 },
828 {
829 "localized_name": "sampler",
830 "name": "sampler",
831 "type": "SAMPLER",
832 "link": 15
833 },
834 {
835 "localized_name": "sigmas",
836 "name": "sigmas",
837 "type": "SIGMAS",
838 "link": 16
839 },
840 {
841 "localized_name": "latent_image",
842 "name": "latent_image",
843 "type": "LATENT",
844 "link": 9
845 }
846 ],
847 "outputs": [
848 {
849 "localized_name": "output",
850 "name": "output",
851 "type": "LATENT",
852 "slot_index": 0,
853 "links": [
854 5
855 ]
856 },
857 {
858 "localized_name": "denoised_output",
859 "name": "denoised_output",
860 "type": "LATENT",
861 "slot_index": 1,
862 "links": []
863 }
864 ],
865 "properties": {
866 "cnr_id": "comfy-core",
867 "ver": "0.22.0",
868 "enableTabs": false,
869 "tabWidth": 65,
870 "tabXOffset": 10,
871 "hasSecondTab": false,
872 "secondTabText": "Send Back",
873 "secondTabOffset": 80,
874 "secondTabWidth": 65,
875 "Node name for S&R": "SamplerCustomAdvanced"
876 },
877 "widgets_values": []
878 },
879 {
880 "id": 2,
881 "type": "CLIPLoader",
882 "pos": [
883 -770,
884 330
885 ],
886 "size": [
887 450,
888 170
889 ],
890 "flags": [],
891 "order": 2,
892 "mode": 0,
893 "inputs": [
894 {
895 "localized_name": "clip_name",
896 "name": "clip_name",
897 "type": "COMBO",
898 "widget": {
899 "name": "clip_name"
900 },
901 "link": 36
902 }
903 ],
904 "outputs": [
905 {
906 "localized_name": "CLIP",
907 "name": "CLIP",
908 "type": "CLIP",
909 "slot_index": 0,
910 "links": [
911 2,
912 7
913 ]
914 }
915 ],
916 "properties": {
917 "cnr_id": "comfy-core",
918 "ver": "0.22.0",
919 "enableTabs": false,
920 "tabWidth": 65,
921 "tabXOffset": 10,
922 "hasSecondTab": false,
923 "secondTabText": "Send Back",
924 "secondTabOffset": 80,
925 "secondTabWidth": 65,
926 "Node name for S&R": "CLIPLoader",
927 "models": [
928 {
929 "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
930 "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
931 "directory": "text_encoders"
932 }
933 ]
934 },
935 "widgets_values": [
936 "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
937 "wan",
938 "default"
939 ]
940 },
941 {
942 "id": 8,
943 "type": "ARVideoI2V",
944 "pos": [
945 -200,
946 760
947 ],
948 "size": [
949 280,
950 250
951 ],
952 "flags": [],
953 "order": 6,
954 "mode": 0,
955 "inputs": [
956 {
957 "localized_name": "model",
958 "name": "model",
959 "type": "MODEL",
960 "link": 1
961 },
962 {
963 "localized_name": "vae",
964 "name": "vae",
965 "type": "VAE",
966 "link": 10
967 },
968 {
969 "localized_name": "start_image",
970 "name": "start_image",
971 "type": "IMAGE",
972 "link": 20
973 },
974 {
975 "localized_name": "width",
976 "name": "width",
977 "type": "INT",
978 "widget": {
979 "name": "width"
980 },
981 "link": 31
982 },
983 {
984 "localized_name": "height",
985 "name": "height",
986 "type": "INT",
987 "widget": {
988 "name": "height"
989 },
990 "link": 32
991 },
992 {
993 "localized_name": "length",
994 "name": "length",
995 "type": "INT",
996 "widget": {
997 "name": "length"
998 },
999 "link": 26
1000 }
1001 ],
1002 "outputs": [
1003 {
1004 "localized_name": "MODEL",
1005 "name": "MODEL",
1006 "type": "MODEL",
1007 "slot_index": 0,
1008 "links": [
1009 12,
1010 13
1011 ]
1012 },
1013 {
1014 "localized_name": "LATENT",
1015 "name": "LATENT",
1016 "type": "LATENT",
1017 "slot_index": 1,
1018 "links": [
1019 9
1020 ]
1021 }
1022 ],
1023 "properties": {
1024 "cnr_id": "comfy-core",
1025 "ver": "0.22.0",
1026 "enableTabs": false,
1027 "tabWidth": 65,
1028 "tabXOffset": 10,
1029 "hasSecondTab": false,
1030 "secondTabText": "Send Back",
1031 "secondTabOffset": 80,
1032 "secondTabWidth": 65,
1033 "Node name for S&R": "ARVideoI2V"
1034 },
1035 "widgets_values": [
1036 832,
1037 480,
1038 81,
1039 1
1040 ]
1041 },
1042 {
1043 "id": 6,
1044 "type": "VAEDecode",
1045 "pos": [
1046 1030,
1047 110
1048 ],
1049 "size": [
1050 230,
1051 100
1052 ],
1053 "flags": [],
1054 "order": 5,
1055 "mode": 0,
1056 "inputs": [
1057 {
1058 "localized_name": "samples",
1059 "name": "samples",
1060 "type": "LATENT",
1061 "link": 5
1062 },
1063 {
1064 "localized_name": "vae",
1065 "name": "vae",
1066 "type": "VAE",
1067 "link": 4
1068 }
1069 ],
1070 "outputs": [
1071 {
1072 "localized_name": "IMAGE",
1073 "name": "IMAGE",
1074 "type": "IMAGE",
1075 "slot_index": 0,
1076 "links": [
1077 18
1078 ]
1079 }
1080 ],
1081 "properties": {
1082 "cnr_id": "comfy-core",
1083 "ver": "0.22.0",
1084 "enableTabs": false,
1085 "tabWidth": 65,
1086 "tabXOffset": 10,
1087 "hasSecondTab": false,
1088 "secondTabText": "Send Back",
1089 "secondTabOffset": 80,
1090 "secondTabWidth": 65,
1091 "Node name for S&R": "VAEDecode"
1092 },
1093 "widgets_values": []
1094 },
1095 {
1096 "id": 17,
1097 "type": "CreateVideo",
1098 "pos": [
1099 1040,
1100 290
1101 ],
1102 "size": [
1103 270,
1104 130
1105 ],
1106 "flags": [],
1107 "order": 12,
1108 "mode": 0,
1109 "inputs": [
1110 {
1111 "localized_name": "images",
1112 "name": "images",
1113 "type": "IMAGE",
1114 "link": 18
1115 },
1116 {
1117 "localized_name": "audio",
1118 "name": "audio",
1119 "shape": 7,
1120 "type": "AUDIO",
1121 "link": null
1122 }
1123 ],
1124 "outputs": [
1125 {
1126 "localized_name": "VIDEO",
1127 "name": "VIDEO",
1128 "type": "VIDEO",
1129 "links": [
1130 19
1131 ]
1132 }
1133 ],
1134 "properties": {
1135 "cnr_id": "comfy-core",
1136 "ver": "0.22.0",
1137 "enableTabs": false,
1138 "tabWidth": 65,
1139 "tabXOffset": 10,
1140 "hasSecondTab": false,
1141 "secondTabText": "Send Back",
1142 "secondTabOffset": 80,
1143 "secondTabWidth": 65,
1144 "Node name for S&R": "CreateVideo"
1145 },
1146 "widgets_values": [
1147 16
1148 ]
1149 },
1150 {
1151 "id": 4,
1152 "type": "CLIPTextEncode",
1153 "pos": [
1154 -220,
1155 130
1156 ],
1157 "size": [
1158 420,
1159 270
1160 ],
1161 "flags": [],
1162 "order": 4,
1163 "mode": 0,
1164 "inputs": [
1165 {
1166 "localized_name": "clip",
1167 "name": "clip",
1168 "type": "CLIP",
1169 "link": 2
1170 },
1171 {
1172 "localized_name": "text",
1173 "name": "text",
1174 "type": "STRING",
1175 "widget": {
1176 "name": "text"
1177 },
1178 "link": 29
1179 }
1180 ],
1181 "outputs": [
1182 {
1183 "localized_name": "CONDITIONING",
1184 "name": "CONDITIONING",
1185 "type": "CONDITIONING",
1186 "slot_index": 0,
1187 "links": [
1188 3
1189 ]
1190 }
1191 ],
1192 "title": "CLIP Text Encode (Positive Prompt)",
1193 "properties": {
1194 "cnr_id": "comfy-core",
1195 "ver": "0.22.0",
1196 "enableTabs": false,
1197 "tabWidth": 65,
1198 "tabXOffset": 10,
1199 "hasSecondTab": false,
1200 "secondTabText": "Send Back",
1201 "secondTabOffset": 80,
1202 "secondTabWidth": 65,
1203 "Node name for S&R": "CLIPTextEncode"
1204 },
1205 "widgets_values": [
1206 "A blonde girl rides a white wolf running forward at night, camera locked on them, always centered in the shot."
1207 ],
1208 "color": "#232",
1209 "bgcolor": "#353"
1210 },
1211 {
1212 "id": 23,
1213 "type": "ComfyMathExpression",
1214 "pos": [
1215 -760,
1216 940
1217 ],
1218 "size": [
1219 380,
1220 220
1221 ],
1222 "flags": [],
1223 "order": 13,
1224 "mode": 0,
1225 "inputs": [
1226 {
1227 "label": "a",
1228 "localized_name": "values.a",
1229 "name": "values.a",
1230 "type": "FLOAT,INT,BOOLEAN",
1231 "link": 25
1232 },
1233 {
1234 "label": "b",
1235 "localized_name": "values.b",
1236 "name": "values.b",
1237 "shape": 7,
1238 "type": "FLOAT,INT,BOOLEAN",
1239 "link": null
1240 }
1241 ],
1242 "outputs": [
1243 {
1244 "localized_name": "FLOAT",
1245 "name": "FLOAT",
1246 "type": "FLOAT",
1247 "links": null
1248 },
1249 {
1250 "localized_name": "INT",
1251 "name": "INT",
1252 "type": "INT",
1253 "links": [
1254 26
1255 ]
1256 },
1257 {
1258 "localized_name": "BOOL",
1259 "name": "BOOL",
1260 "type": "BOOLEAN",
1261 "links": []
1262 }
1263 ],
1264 "properties": {
1265 "cnr_id": "comfy-core",
1266 "ver": "0.22.0",
1267 "enableTabs": false,
1268 "tabWidth": 65,
1269 "tabXOffset": 10,
1270 "hasSecondTab": false,
1271 "secondTabText": "Send Back",
1272 "secondTabOffset": 80,
1273 "secondTabWidth": 65,
1274 "Node name for S&R": "ComfyMathExpression"
1275 },
1276 "widgets_values": [
1277 "min(a * 16 + 1, 81)"
1278 ]
1279 },
1280 {
1281 "id": 28,
1282 "type": "PrimitiveFloat",
1283 "pos": [
1284 -770,
1285 780
1286 ],
1287 "size": [
1288 270,
1289 110
1290 ],
1291 "flags": [],
1292 "order": 14,
1293 "mode": 0,
1294 "inputs": [
1295 {
1296 "localized_name": "value",
1297 "name": "value",
1298 "type": "FLOAT",
1299 "widget": {
1300 "name": "value"
1301 },
1302 "link": 33
1303 }
1304 ],
1305 "outputs": [
1306 {
1307 "localized_name": "FLOAT",
1308 "name": "FLOAT",
1309 "type": "FLOAT",
1310 "links": [
1311 25
1312 ]
1313 }
1314 ],
1315 "title": "Float (Duration)",
1316 "properties": {
1317 "cnr_id": "comfy-core",
1318 "ver": "0.22.0",
1319 "enableTabs": false,
1320 "tabWidth": 65,
1321 "tabXOffset": 10,
1322 "hasSecondTab": false,
1323 "secondTabText": "Send Back",
1324 "secondTabOffset": 80,
1325 "secondTabWidth": 65,
1326 "Node name for S&R": "PrimitiveFloat"
1327 },
1328 "widgets_values": [
1329 5
1330 ]
1331 }
1332 ],
1333 "groups": [
1334 {
1335 "id": 5,
1336 "title": "Sampling",
1337 "bounding": [
1338 270,
1339 50,
1340 710,
1341 840
1342 ],
1343 "color": "#3f789e",
1344 "flags": []
1345 },
1346 {
1347 "id": 6,
1348 "title": "Models",
1349 "bounding": [
1350 -810,
1351 50,
1352 530,
1353 650
1354 ],
1355 "color": "#3f789e",
1356 "flags": []
1357 },
1358 {
1359 "id": 7,
1360 "title": "Prompt",
1361 "bounding": [
1362 -250,
1363 50,
1364 490,
1365 650
1366 ],
1367 "color": "#3f789e",
1368 "flags": []
1369 }
1370 ],
1371 "links": [
1372 {
1373 "id": 7,
1374 "origin_id": 2,
1375 "origin_slot": 0,
1376 "target_id": 9,
1377 "target_slot": 0,
1378 "type": "CLIP"
1379 },
1380 {
1381 "id": 13,
1382 "origin_id": 8,
1383 "origin_slot": 0,
1384 "target_id": 13,
1385 "target_slot": 0,
1386 "type": "MODEL"
1387 },
1388 {
1389 "id": 12,
1390 "origin_id": 8,
1391 "origin_slot": 0,
1392 "target_id": 14,
1393 "target_slot": 0,
1394 "type": "MODEL"
1395 },
1396 {
1397 "id": 3,
1398 "origin_id": 4,
1399 "origin_slot": 0,
1400 "target_id": 14,
1401 "target_slot": 1,
1402 "type": "CONDITIONING"
1403 },
1404 {
1405 "id": 8,
1406 "origin_id": 9,
1407 "origin_slot": 0,
1408 "target_id": 14,
1409 "target_slot": 2,
1410 "type": "CONDITIONING"
1411 },
1412 {
1413 "id": 14,
1414 "origin_id": 11,
1415 "origin_slot": 0,
1416 "target_id": 15,
1417 "target_slot": 0,
1418 "type": "NOISE"
1419 },
1420 {
1421 "id": 17,
1422 "origin_id": 14,
1423 "origin_slot": 0,
1424 "target_id": 15,
1425 "target_slot": 1,
1426 "type": "GUIDER"
1427 },
1428 {
1429 "id": 15,
1430 "origin_id": 12,
1431 "origin_slot": 0,
1432 "target_id": 15,
1433 "target_slot": 2,
1434 "type": "SAMPLER"
1435 },
1436 {
1437 "id": 16,
1438 "origin_id": 13,
1439 "origin_slot": 0,
1440 "target_id": 15,
1441 "target_slot": 3,
1442 "type": "SIGMAS"
1443 },
1444 {
1445 "id": 9,
1446 "origin_id": 8,
1447 "origin_slot": 1,
1448 "target_id": 15,
1449 "target_slot": 4,
1450 "type": "LATENT"
1451 },
1452 {
1453 "id": 1,
1454 "origin_id": 1,
1455 "origin_slot": 0,
1456 "target_id": 8,
1457 "target_slot": 0,
1458 "type": "MODEL"
1459 },
1460 {
1461 "id": 10,
1462 "origin_id": 3,
1463 "origin_slot": 0,
1464 "target_id": 8,
1465 "target_slot": 1,
1466 "type": "VAE"
1467 },
1468 {
1469 "id": 26,
1470 "origin_id": 23,
1471 "origin_slot": 1,
1472 "target_id": 8,
1473 "target_slot": 5,
1474 "type": "INT"
1475 },
1476 {
1477 "id": 5,
1478 "origin_id": 15,
1479 "origin_slot": 0,
1480 "target_id": 6,
1481 "target_slot": 0,
1482 "type": "LATENT"
1483 },
1484 {
1485 "id": 4,
1486 "origin_id": 3,
1487 "origin_slot": 0,
1488 "target_id": 6,
1489 "target_slot": 1,
1490 "type": "VAE"
1491 },
1492 {
1493 "id": 18,
1494 "origin_id": 6,
1495 "origin_slot": 0,
1496 "target_id": 17,
1497 "target_slot": 0,
1498 "type": "IMAGE"
1499 },
1500 {
1501 "id": 2,
1502 "origin_id": 2,
1503 "origin_slot": 0,
1504 "target_id": 4,
1505 "target_slot": 0,
1506 "type": "CLIP"
1507 },
1508 {
1509 "id": 25,
1510 "origin_id": 28,
1511 "origin_slot": 0,
1512 "target_id": 23,
1513 "target_slot": 0,
1514 "type": "FLOAT"
1515 },
1516 {
1517 "id": 20,
1518 "origin_id": -10,
1519 "origin_slot": 0,
1520 "target_id": 8,
1521 "target_slot": 2,
1522 "type": "IMAGE"
1523 },
1524 {
1525 "id": 19,
1526 "origin_id": 17,
1527 "origin_slot": 0,
1528 "target_id": -20,
1529 "target_slot": 0,
1530 "type": "VIDEO"
1531 },
1532 {
1533 "id": 29,
1534 "origin_id": -10,
1535 "origin_slot": 1,
1536 "target_id": 4,
1537 "target_slot": 1,
1538 "type": "STRING"
1539 },
1540 {
1541 "id": 31,
1542 "origin_id": -10,
1543 "origin_slot": 2,
1544 "target_id": 8,
1545 "target_slot": 3,
1546 "type": "INT"
1547 },
1548 {
1549 "id": 32,
1550 "origin_id": -10,
1551 "origin_slot": 3,
1552 "target_id": 8,
1553 "target_slot": 4,
1554 "type": "INT"
1555 },
1556 {
1557 "id": 33,
1558 "origin_id": -10,
1559 "origin_slot": 4,
1560 "target_id": 28,
1561 "target_slot": 0,
1562 "type": "FLOAT"
1563 },
1564 {
1565 "id": 34,
1566 "origin_id": -10,
1567 "origin_slot": 5,
1568 "target_id": 11,
1569 "target_slot": 0,
1570 "type": "INT"
1571 },
1572 {
1573 "id": 35,
1574 "origin_id": -10,
1575 "origin_slot": 6,
1576 "target_id": 1,
1577 "target_slot": 0,
1578 "type": "COMBO"
1579 },
1580 {
1581 "id": 36,
1582 "origin_id": -10,
1583 "origin_slot": 7,
1584 "target_id": 2,
1585 "target_slot": 0,
1586 "type": "COMBO"
1587 },
1588 {
1589 "id": 37,
1590 "origin_id": -10,
1591 "origin_slot": 8,
1592 "target_id": 3,
1593 "target_slot": 0,
1594 "type": "COMBO"
1595 }
1596 ],
1597 "extra": []
1598 }
1599 ]
1600 },
1601 "config": [],
1602 "extra": {
1603 "ds": {
1604 "scale": 0.5310364678777533,
1605 "offset": [
1606 2637.6598394536027,
1607 -36.274186683393204
1608 ]
1609 },
1610 "frontendVersion": "1.44.19",
1611 "workflowRendererVersion": "LG",
1612 "VHS_latentpreview": false,
1613 "VHS_latentpreviewrate": 0,
1614 "VHS_MetadataImage": true,
1615 "VHS_KeepIntermediate": true
1616 },
1617 "version": 0.4
1618}