工作流 /
视频 /
WAN 2.1 FLF2V: Simple ComfyUI Workflow for First-Last Frame Video Generation (Low VRAM Friendly, Laptop)

WAN 2.1 FLF2V: Simple ComfyUI Workflow for First-Last Frame Video Generation (Low VRAM Friendly, Laptop)
WAN 2.1 FLF2V: Simple ComfyUI Workflow for First-Last Frame Video Generation (Low VRAM Friendly, Laptop)
THIS MODEL PAGE IS OUTDATED CHECK OUT MY ULTIMATE WORKFLOW IT INCLUDES FIRST FRAME LAST FRAME:https://civitai.com/models/1309674?modelVersionId=1496495
视频
32 个节点 1,318 次使用 The_frizzy1 38 KB
需要的权重
这个工作流引用了 1 个权重文件,其中 0 个能在本站模型库里找到。
The_frizzy1_wan-2.1-flf2v_v2.0.1.json
模型库暂未收录
节点构成
Note
× 2
CLIPTextEncode
× 2
CLIPVisionEncode
× 2
LoadAndResizeImage
× 2
MarkdownNote
× 2
Lora Loader Stack (rgthree)
× 1
TorchCompileModelWanVideoV2
× 1
PathchSageAttentionKJ
× 1
SkipLayerGuidanceWanVideo
× 1
RIFE VFI
× 1
WanVideoNAG
× 1
WanVideoTeaCacheKJ
× 1
ApplyRifleXRoPE_WanVideo
× 1
UpscaleModelLoader
× 1
ImageScale
× 1
ModelSamplingSD3
× 1
官方标注的模型
RealESRGAN_x4.pthclip_vision_h_fp8_e4m3fn.safetensorsrife49.ptht5xxl_um_fp8_e4m3fn_scaled.safetensorswan2.1-flf2v-720p-14b-q2_k.ggufwan_2.1_vae.safetensors
工作流 JSON
和上面「下载工作流 JSON」是同一份文件。
1{
2 "id": "835fe4fb-8a94-466a-b3de-015717ef0946",
3 "revision": 0,
4 "last_node_id": 408,
5 "last_link_id": 851,
6 "nodes": [
7 {
8 "id": 233,
9 "type": "Note",
10 "pos": [
11 -700.5222778320312,
12 474.97137451171875
13 ],
14 "size": [
15 210,
16 117.09991455078125
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [],
23 "properties": [],
24 "widgets_values": [
25 "For Quantization:\nQ5_k_m is proabaly the best sweet spot between accuracy and size.\nI still get good results with:\nQ2_k but dont get a _s version it doesent work very well."
26 ],
27 "color": "#432",
28 "bgcolor": "#653"
29 },
30 {
31 "id": 370,
32 "type": "Lora Loader Stack (rgthree)",
33 "pos": [
34 -24.085371017456055,
35 488.0351257324219
36 ],
37 "size": [
38 271.8785095214844,
39 246
40 ],
41 "flags": [],
42 "order": 11,
43 "mode": 0,
44 "inputs": [
45 {
46 "name": "model",
47 "type": "MODEL",
48 "link": 841
49 },
50 {
51 "name": "clip",
52 "type": "CLIP",
53 "link": 743
54 }
55 ],
56 "outputs": [
57 {
58 "name": "MODEL",
59 "type": "MODEL",
60 "links": [
61 792
62 ]
63 },
64 {
65 "name": "CLIP",
66 "type": "CLIP",
67 "links": [
68 744,
69 745
70 ]
71 }
72 ],
73 "properties": {
74 "cnr_id": "rgthree-comfy",
75 "ver": "f754c4765849aa748abb35a1f030a5ed6474a69b",
76 "Node name for S&R": "Lora Loader Stack (rgthree)"
77 },
78 "widgets_values": [
79 "None",
80 1,
81 "None",
82 1,
83 "None",
84 1,
85 "None",
86 1
87 ],
88 "color": "#223",
89 "bgcolor": "#335"
90 },
91 {
92 "id": 330,
93 "type": "TorchCompileModelWanVideoV2",
94 "pos": [
95 228.5065155029297,
96 187.26113891601562
97 ],
98 "size": [
99 342.74609375,
100 178
101 ],
102 "flags": [],
103 "order": 12,
104 "mode": 0,
105 "inputs": [
106 {
107 "name": "model",
108 "type": "MODEL",
109 "link": 792
110 }
111 ],
112 "outputs": [
113 {
114 "name": "MODEL",
115 "type": "MODEL",
116 "links": [
117 689
118 ]
119 }
120 ],
121 "properties": {
122 "cnr_id": "comfyui-kjnodes",
123 "ver": "f7eb33abc80a2aded1b46dff0dd14d07856a7d50",
124 "Node name for S&R": "TorchCompileModelWanVideoV2"
125 },
126 "widgets_values": [
127 "inductor",
128 false,
129 "default",
130 false,
131 true,
132 64
133 ],
134 "color": "#432",
135 "bgcolor": "#653"
136 },
137 {
138 "id": 279,
139 "type": "PathchSageAttentionKJ",
140 "pos": [
141 590.2732543945312,
142 122.15495300292969
143 ],
144 "size": [
145 315,
146 58
147 ],
148 "flags": [],
149 "order": 18,
150 "mode": 0,
151 "inputs": [
152 {
153 "name": "model",
154 "type": "MODEL",
155 "link": 790
156 }
157 ],
158 "outputs": [
159 {
160 "name": "MODEL",
161 "type": "MODEL",
162 "links": [
163 791
164 ]
165 }
166 ],
167 "properties": {
168 "cnr_id": "comfyui-kjnodes",
169 "ver": "8ecf5cd05e0a1012087b0da90eea9a13674668db",
170 "Node name for S&R": "PathchSageAttentionKJ"
171 },
172 "widgets_values": [
173 "sageattn_qk_int8_pv_fp16_triton"
174 ],
175 "color": "#432",
176 "bgcolor": "#653"
177 },
178 {
179 "id": 386,
180 "type": "SkipLayerGuidanceWanVideo",
181 "pos": [
182 593.7037963867188,
183 237.8304443359375
184 ],
185 "size": [
186 297.5747985839844,
187 106
188 ],
189 "flags": [],
190 "order": 19,
191 "mode": 0,
192 "inputs": [
193 {
194 "name": "model",
195 "type": "MODEL",
196 "link": 791
197 }
198 ],
199 "outputs": [
200 {
201 "name": "MODEL",
202 "type": "MODEL",
203 "links": [
204 786
205 ]
206 }
207 ],
208 "properties": {
209 "cnr_id": "comfyui-kjnodes",
210 "ver": "ad37ce656c13e9abea002b46e3a89be3dba32355",
211 "Node name for S&R": "SkipLayerGuidanceWanVideo"
212 },
213 "widgets_values": [
214 "10",
215 0.2,
216 1
217 ],
218 "color": "#432",
219 "bgcolor": "#653"
220 },
221 {
222 "id": 106,
223 "type": "RIFE VFI",
224 "pos": [
225 1287.05810546875,
226 1128.234375
227 ],
228 "size": [
229 478.8000183105469,
230 198
231 ],
232 "flags": [],
233 "order": 28,
234 "mode": 0,
235 "inputs": [
236 {
237 "name": "frames",
238 "type": "IMAGE",
239 "link": 253
240 },
241 {
242 "name": "optional_interpolation_states",
243 "shape": 7,
244 "type": "INTERPOLATION_STATES",
245 "link": null
246 }
247 ],
248 "outputs": [
249 {
250 "name": "IMAGE",
251 "type": "IMAGE",
252 "slot_index": 0,
253 "links": [
254 380
255 ]
256 }
257 ],
258 "properties": {
259 "cnr_id": "comfyui-frame-interpolation",
260 "ver": "c336f7184cb1ac1243381e725fea1ad2c0a10c09",
261 "Node name for S&R": "RIFE VFI",
262 "aux_id": "Fannovel16/ComfyUI-Frame-Interpolation"
263 },
264 "widgets_values": [
265 "rife49.pth",
266 10,
267 1,
268 false,
269 false,
270 1
271 ],
272 "color": "#323",
273 "bgcolor": "#535"
274 },
275 {
276 "id": 385,
277 "type": "WanVideoNAG",
278 "pos": [
279 1449.0513916015625,
280 155.44549560546875
281 ],
282 "size": [
283 270,
284 126
285 ],
286 "flags": [],
287 "order": 23,
288 "mode": 0,
289 "inputs": [
290 {
291 "name": "model",
292 "type": "MODEL",
293 "link": 787
294 },
295 {
296 "name": "conditioning",
297 "type": "CONDITIONING",
298 "link": 789
299 }
300 ],
301 "outputs": [
302 {
303 "name": "model",
304 "type": "MODEL",
305 "links": [
306 801
307 ]
308 }
309 ],
310 "properties": {
311 "cnr_id": "comfyui-kjnodes",
312 "ver": "ad37ce656c13e9abea002b46e3a89be3dba32355",
313 "Node name for S&R": "WanVideoNAG"
314 },
315 "widgets_values": [
316 11,
317 0.25,
318 2.3730000000000007
319 ],
320 "color": "#2a363b",
321 "bgcolor": "#3f5159"
322 },
323 {
324 "id": 226,
325 "type": "WanVideoTeaCacheKJ",
326 "pos": [
327 232.1935272216797,
328 0.35735753178596497
329 ],
330 "size": [
331 340.20001220703125,
332 154
333 ],
334 "flags": {
335 "collapsed": false
336 },
337 "order": 15,
338 "mode": 0,
339 "inputs": [
340 {
341 "name": "model",
342 "type": "MODEL",
343 "link": 689
344 }
345 ],
346 "outputs": [
347 {
348 "name": "model",
349 "type": "MODEL",
350 "slot_index": 0,
351 "links": [
352 719
353 ]
354 }
355 ],
356 "properties": {
357 "cnr_id": "comfyui-kjnodes",
358 "ver": "fa6d20eeb32cbcbd84ee325e3cfdc6ed6b43056f",
359 "Node name for S&R": "WanVideoTeaCacheKJ",
360 "aux_id": "kijai/ComfyUI-KJNodes"
361 },
362 "widgets_values": [
363 0.2750000000000001,
364 0.6000000000000001,
365 0.9000000000000001,
366 "main_device",
367 "1.3B"
368 ],
369 "color": "#432",
370 "bgcolor": "#653"
371 },
372 {
373 "id": 359,
374 "type": "ApplyRifleXRoPE_WanVideo",
375 "pos": [
376 622.8348388671875,
377 0.0916915088891983
378 ],
379 "size": [
380 280.4371032714844,
381 78
382 ],
383 "flags": [],
384 "order": 17,
385 "mode": 0,
386 "inputs": [
387 {
388 "name": "model",
389 "type": "MODEL",
390 "link": 719
391 },
392 {
393 "name": "latent",
394 "type": "LATENT",
395 "link": 849
396 }
397 ],
398 "outputs": [
399 {
400 "name": "MODEL",
401 "type": "MODEL",
402 "links": [
403 790
404 ]
405 }
406 ],
407 "properties": {
408 "cnr_id": "comfyui-kjnodes",
409 "ver": "f7eb33abc80a2aded1b46dff0dd14d07856a7d50",
410 "Node name for S&R": "ApplyRifleXRoPE_WanVideo"
411 },
412 "widgets_values": [
413 4
414 ],
415 "color": "#432",
416 "bgcolor": "#653"
417 },
418 {
419 "id": 230,
420 "type": "Note",
421 "pos": [
422 1522.8568115234375,
423 1451.509033203125
424 ],
425 "size": [
426 334.1397705078125,
427 160.9766845703125
428 ],
429 "flags": [],
430 "order": 1,
431 "mode": 0,
432 "inputs": [],
433 "outputs": [],
434 "properties": [],
435 "widgets_values": [
436 "If you want to know how to set the correct settings look at this article: \n\nhttps://www.reddit.com/r/StableDiffusion/comments/1j0zmgs/i_asked_deep_research_to_get_best_practices_for\n\nI like Denoise 1 Euler simple cfg:6-4 steps:30 is good at about 50 I would stop cause it just takes forever."
437 ],
438 "color": "#432",
439 "bgcolor": "#653"
440 },
441 {
442 "id": 78,
443 "type": "UpscaleModelLoader",
444 "pos": [
445 901.8253173828125,
446 1029.76220703125
447 ],
448 "size": [
449 315,
450 58
451 ],
452 "flags": [],
453 "order": 2,
454 "mode": 0,
455 "inputs": [],
456 "outputs": [
457 {
458 "name": "UPSCALE_MODEL",
459 "type": "UPSCALE_MODEL",
460 "slot_index": 0,
461 "links": [
462 817
463 ]
464 }
465 ],
466 "properties": {
467 "cnr_id": "comfy-core",
468 "ver": "0.3.15",
469 "Node name for S&R": "UpscaleModelLoader"
470 },
471 "widgets_values": [
472 "RealESRGAN_x4.pth"
473 ],
474 "color": "#223",
475 "bgcolor": "#335"
476 },
477 {
478 "id": 80,
479 "type": "ImageScale",
480 "pos": [
481 924.83203125,
482 1168.09765625
483 ],
484 "size": [
485 315,
486 130
487 ],
488 "flags": [],
489 "order": 27,
490 "mode": 0,
491 "inputs": [
492 {
493 "name": "image",
494 "type": "IMAGE",
495 "link": 816
496 }
497 ],
498 "outputs": [
499 {
500 "name": "IMAGE",
501 "type": "IMAGE",
502 "slot_index": 0,
503 "links": [
504 253
505 ]
506 }
507 ],
508 "properties": {
509 "cnr_id": "comfy-core",
510 "ver": "0.3.15",
511 "Node name for S&R": "ImageScale"
512 },
513 "widgets_values": [
514 "lanczos",
515 1080,
516 1920,
517 "center"
518 ],
519 "color": "#323",
520 "bgcolor": "#535"
521 },
522 {
523 "id": 364,
524 "type": "ModelSamplingSD3",
525 "pos": [
526 1491.4228515625,
527 27.75309944152832
528 ],
529 "size": [
530 270,
531 58
532 ],
533 "flags": [],
534 "order": 22,
535 "mode": 0,
536 "inputs": [
537 {
538 "name": "model",
539 "type": "MODEL",
540 "link": 751
541 }
542 ],
543 "outputs": [
544 {
545 "name": "MODEL",
546 "type": "MODEL",
547 "links": [
548 787
549 ]
550 }
551 ],
552 "properties": {
553 "cnr_id": "comfy-core",
554 "ver": "0.3.43",
555 "Node name for S&R": "ModelSamplingSD3"
556 },
557 "widgets_values": [
558 6.000000000000001
559 ],
560 "color": "#2a363b",
561 "bgcolor": "#3f5159"
562 },
563 {
564 "id": 316,
565 "type": "WanVideoEnhanceAVideoKJ",
566 "pos": [
567 1102.465087890625,
568 27.36427879333496
569 ],
570 "size": [
571 326.1216735839844,
572 78
573 ],
574 "flags": [],
575 "order": 20,
576 "mode": 0,
577 "inputs": [
578 {
579 "name": "model",
580 "type": "MODEL",
581 "link": 786
582 },
583 {
584 "name": "latent",
585 "type": "LATENT",
586 "link": 848
587 }
588 ],
589 "outputs": [
590 {
591 "name": "model",
592 "type": "MODEL",
593 "links": [
594 750
595 ]
596 }
597 ],
598 "properties": {
599 "cnr_id": "comfyui-kjnodes",
600 "ver": "b7e5b6f1e2b7c79b3f1e4b4bfe5e1687715803ab",
601 "Node name for S&R": "WanVideoEnhanceAVideoKJ"
602 },
603 "widgets_values": [
604 1.0000000000000002
605 ],
606 "color": "#2a363b",
607 "bgcolor": "#3f5159"
608 },
609 {
610 "id": 373,
611 "type": "CFGZeroStarAndInit",
612 "pos": [
613 1102.1168212890625,
614 154.39366149902344
615 ],
616 "size": [
617 270,
618 82
619 ],
620 "flags": [],
621 "order": 21,
622 "mode": 0,
623 "inputs": [
624 {
625 "name": "model",
626 "type": "MODEL",
627 "link": 750
628 }
629 ],
630 "outputs": [
631 {
632 "name": "MODEL",
633 "type": "MODEL",
634 "links": [
635 751
636 ]
637 }
638 ],
639 "properties": {
640 "cnr_id": "comfyui-kjnodes",
641 "ver": "ff49e1b01f10a14496b08e21bb89b64d2b15f333",
642 "Node name for S&R": "CFGZeroStarAndInit"
643 },
644 "widgets_values": [
645 false,
646 2
647 ],
648 "color": "#2a363b",
649 "bgcolor": "#3f5159"
650 },
651 {
652 "id": 307,
653 "type": "CLIPLoader",
654 "pos": [
655 -386.5144348144531,
656 623.2466430664062
657 ],
658 "size": [
659 315,
660 106
661 ],
662 "flags": [],
663 "order": 3,
664 "mode": 0,
665 "showAdvanced": true,
666 "inputs": [],
667 "outputs": [
668 {
669 "name": "CLIP",
670 "type": "CLIP",
671 "links": [
672 743
673 ]
674 }
675 ],
676 "properties": {
677 "cnr_id": "comfy-core",
678 "ver": "0.3.27",
679 "Node name for S&R": "CLIPLoader"
680 },
681 "widgets_values": [
682 "t5xxl_um_fp8_e4m3fn_scaled.safetensors",
683 "wan",
684 "cpu"
685 ],
686 "color": "#223",
687 "bgcolor": "#335"
688 },
689 {
690 "id": 82,
691 "type": "VHS_VideoCombine",
692 "pos": [
693 2023.0849609375,
694 788.7296752929688
695 ],
696 "size": [
697 227.08653259277344,
698 716.15380859375
699 ],
700 "flags": [],
701 "order": 29,
702 "mode": 0,
703 "inputs": [
704 {
705 "name": "images",
706 "type": "IMAGE",
707 "link": 380
708 },
709 {
710 "name": "audio",
711 "shape": 7,
712 "type": "AUDIO",
713 "link": null
714 },
715 {
716 "name": "meta_batch",
717 "shape": 7,
718 "type": "VHS_BatchManager",
719 "link": null
720 },
721 {
722 "name": "vae",
723 "shape": 7,
724 "type": "VAE",
725 "link": null
726 }
727 ],
728 "outputs": [
729 {
730 "name": "Filenames",
731 "type": "VHS_FILENAMES",
732 "slot_index": 0,
733 "links": null
734 }
735 ],
736 "title": "Export",
737 "properties": {
738 "cnr_id": "comfyui-videohelpersuite",
739 "ver": "124c913ccdd8a585734ea758c35fa1bab8499c99",
740 "Node name for S&R": "VHS_VideoCombine",
741 "aux_id": "Kosinkadink/ComfyUI-VideoHelperSuite"
742 },
743 "widgets_values": {
744 "frame_rate": 24,
745 "loop_count": 0,
746 "filename_prefix": "AnimateDiff",
747 "format": "video/h264-mp4",
748 "pix_fmt": "yuv420p",
749 "crf": 19,
750 "save_metadata": false,
751 "trim_to_audio": false,
752 "pingpong": true,
753 "save_output": true,
754 "videopreview": {
755 "hidden": false,
756 "paused": false,
757 "params": {
758 "filename": "AnimateDiff_00085.mp4",
759 "subfolder": "",
760 "type": "output",
761 "format": "video/h264-mp4",
762 "frame_rate": 24,
763 "workflow": "AnimateDiff_00085.png",
764 "fullpath": "C:\\Users\\friso\\Desktop\\ComfyUI_windows_portable_nvidia\\ComfyUI_windows_portable\\ComfyUI\\output\\AnimateDiff_00085.mp4"
765 }
766 }
767 },
768 "color": "#322",
769 "bgcolor": "#533"
770 },
771 {
772 "id": 398,
773 "type": "ImageUpscaleWithModel",
774 "pos": [
775 1389.1080322265625,
776 1022.8790283203125
777 ],
778 "size": [
779 221.98202514648438,
780 46
781 ],
782 "flags": {
783 "collapsed": false
784 },
785 "order": 26,
786 "mode": 0,
787 "inputs": [
788 {
789 "name": "upscale_model",
790 "type": "UPSCALE_MODEL",
791 "link": 817
792 },
793 {
794 "name": "image",
795 "type": "IMAGE",
796 "link": 822
797 }
798 ],
799 "outputs": [
800 {
801 "name": "IMAGE",
802 "type": "IMAGE",
803 "links": [
804 816
805 ]
806 }
807 ],
808 "properties": {
809 "cnr_id": "comfy-core",
810 "ver": "0.3.44",
811 "Node name for S&R": "ImageUpscaleWithModel"
812 },
813 "widgets_values": []
814 },
815 {
816 "id": 111,
817 "type": "CLIPTextEncode",
818 "pos": [
819 324.1131286621094,
820 732.385009765625
821 ],
822 "size": [
823 422.84503173828125,
824 164.31304931640625
825 ],
826 "flags": [],
827 "order": 14,
828 "mode": 0,
829 "inputs": [
830 {
831 "name": "clip",
832 "type": "CLIP",
833 "link": 745
834 }
835 ],
836 "outputs": [
837 {
838 "name": "CONDITIONING",
839 "type": "CONDITIONING",
840 "slot_index": 0,
841 "links": [
842 789,
843 840
844 ]
845 }
846 ],
847 "title": "CLIP Text Encode (Negative Prompt)",
848 "properties": {
849 "cnr_id": "comfy-core",
850 "ver": "0.3.15",
851 "Node name for S&R": "CLIPTextEncode"
852 },
853 "widgets_values": [
854 ""
855 ],
856 "color": "#322",
857 "bgcolor": "#533"
858 },
859 {
860 "id": 403,
861 "type": "CLIPVisionEncode",
862 "pos": [
863 19.702274322509766,
864 790.0439453125
865 ],
866 "size": [
867 290.390625,
868 78
869 ],
870 "flags": {
871 "collapsed": true
872 },
873 "order": 9,
874 "mode": 0,
875 "inputs": [
876 {
877 "name": "clip_vision",
878 "type": "CLIP_VISION",
879 "link": 824
880 },
881 {
882 "name": "image",
883 "type": "IMAGE",
884 "link": 825
885 }
886 ],
887 "outputs": [
888 {
889 "name": "CLIP_VISION_OUTPUT",
890 "type": "CLIP_VISION_OUTPUT",
891 "links": [
892 842
893 ]
894 }
895 ],
896 "title": "CLIP Vision Encode Start Image",
897 "properties": {
898 "cnr_id": "comfy-core",
899 "ver": "0.3.44",
900 "Node name for S&R": "CLIPVisionEncode"
901 },
902 "widgets_values": [
903 "center"
904 ],
905 "color": "#223",
906 "bgcolor": "#335"
907 },
908 {
909 "id": 402,
910 "type": "CLIPVisionLoader",
911 "pos": [
912 -374.8016052246094,
913 890.4683837890625
914 ],
915 "size": [
916 270,
917 58
918 ],
919 "flags": [],
920 "order": 4,
921 "mode": 0,
922 "inputs": [],
923 "outputs": [
924 {
925 "name": "CLIP_VISION",
926 "type": "CLIP_VISION",
927 "links": [
928 824,
929 843
930 ]
931 }
932 ],
933 "properties": {
934 "cnr_id": "comfy-core",
935 "ver": "0.3.44",
936 "Node name for S&R": "CLIPVisionLoader"
937 },
938 "widgets_values": [
939 "clip_vision_h_fp8_e4m3fn.safetensors"
940 ],
941 "color": "#223",
942 "bgcolor": "#335"
943 },
944 {
945 "id": 406,
946 "type": "CLIPVisionEncode",
947 "pos": [
948 26.763193130493164,
949 844.5009155273438
950 ],
951 "size": [
952 290.390625,
953 78
954 ],
955 "flags": {
956 "collapsed": true
957 },
958 "order": 10,
959 "mode": 0,
960 "inputs": [
961 {
962 "name": "clip_vision",
963 "type": "CLIP_VISION",
964 "link": 843
965 },
966 {
967 "name": "image",
968 "type": "IMAGE",
969 "link": 844
970 }
971 ],
972 "outputs": [
973 {
974 "name": "CLIP_VISION_OUTPUT",
975 "type": "CLIP_VISION_OUTPUT",
976 "links": [
977 845
978 ]
979 }
980 ],
981 "title": "CLIP Vision Encode End Image",
982 "properties": {
983 "cnr_id": "comfy-core",
984 "ver": "0.3.44",
985 "Node name for S&R": "CLIPVisionEncode"
986 },
987 "widgets_values": [
988 "center"
989 ],
990 "color": "#223",
991 "bgcolor": "#335"
992 },
993 {
994 "id": 369,
995 "type": "LoadAndResizeImage",
996 "pos": [
997 -379.0736389160156,
998 1059.7825927734375
999 ],
1000 "size": [
1001 270,
1002 566
1003 ],
1004 "flags": [],
1005 "order": 5,
1006 "mode": 0,
1007 "inputs": [],
1008 "outputs": [
1009 {
1010 "name": "image",
1011 "type": "IMAGE",
1012 "links": [
1013 825,
1014 847
1015 ]
1016 },
1017 {
1018 "name": "mask",
1019 "type": "MASK",
1020 "links": []
1021 },
1022 {
1023 "name": "width",
1024 "type": "INT",
1025 "links": null
1026 },
1027 {
1028 "name": "height",
1029 "type": "INT",
1030 "links": null
1031 },
1032 {
1033 "name": "image_path",
1034 "type": "STRING",
1035 "links": null
1036 }
1037 ],
1038 "title": "Start Image",
1039 "properties": {
1040 "cnr_id": "comfyui-kjnodes",
1041 "ver": "ff49e1b01f10a14496b08e21bb89b64d2b15f333",
1042 "Node name for S&R": "LoadAndResizeImage"
1043 },
1044 "widgets_values": [
1045 "AnimateDiff_00026.png",
1046 false,
1047 720,
1048 1280,
1049 1,
1050 false,
1051 2,
1052 "alpha",
1053 "",
1054 "image"
1055 ],
1056 "color": "#223",
1057 "bgcolor": "#335"
1058 },
1059 {
1060 "id": 405,
1061 "type": "LoadAndResizeImage",
1062 "pos": [
1063 -54.955936431884766,
1064 1037.1014404296875
1065 ],
1066 "size": [
1067 270,
1068 566
1069 ],
1070 "flags": [],
1071 "order": 6,
1072 "mode": 0,
1073 "inputs": [],
1074 "outputs": [
1075 {
1076 "name": "image",
1077 "type": "IMAGE",
1078 "links": [
1079 844,
1080 846
1081 ]
1082 },
1083 {
1084 "name": "mask",
1085 "type": "MASK",
1086 "links": []
1087 },
1088 {
1089 "name": "width",
1090 "type": "INT",
1091 "links": null
1092 },
1093 {
1094 "name": "height",
1095 "type": "INT",
1096 "links": null
1097 },
1098 {
1099 "name": "image_path",
1100 "type": "STRING",
1101 "links": null
1102 }
1103 ],
1104 "title": "End Image",
1105 "properties": {
1106 "cnr_id": "comfyui-kjnodes",
1107 "ver": "ff49e1b01f10a14496b08e21bb89b64d2b15f333",
1108 "Node name for S&R": "LoadAndResizeImage"
1109 },
1110 "widgets_values": [
1111 "AnimateDiff_00035.png",
1112 false,
1113 720,
1114 1280,
1115 1,
1116 false,
1117 2,
1118 "alpha",
1119 "",
1120 "image"
1121 ],
1122 "color": "#223",
1123 "bgcolor": "#335"
1124 },
1125 {
1126 "id": 44,
1127 "type": "CLIPTextEncode",
1128 "pos": [
1129 319.3870544433594,
1130 478.16705322265625
1131 ],
1132 "size": [
1133 426.4548034667969,
1134 196.80123901367188
1135 ],
1136 "flags": [],
1137 "order": 13,
1138 "mode": 0,
1139 "inputs": [
1140 {
1141 "name": "clip",
1142 "type": "CLIP",
1143 "link": 744
1144 }
1145 ],
1146 "outputs": [
1147 {
1148 "name": "CONDITIONING",
1149 "type": "CONDITIONING",
1150 "slot_index": 0,
1151 "links": [
1152 839
1153 ]
1154 }
1155 ],
1156 "title": "CLIP Text Encode (Positive Prompt)",
1157 "properties": {
1158 "cnr_id": "comfy-core",
1159 "ver": "0.3.15",
1160 "Node name for S&R": "CLIPTextEncode"
1161 },
1162 "widgets_values": [
1163 "A futuristic female cyborg standing in a neon-lit control room."
1164 ],
1165 "color": "#232",
1166 "bgcolor": "#353"
1167 },
1168 {
1169 "id": 275,
1170 "type": "LoaderGGUF",
1171 "pos": [
1172 -388.7915344238281,
1173 506.6331481933594
1174 ],
1175 "size": [
1176 315,
1177 58
1178 ],
1179 "flags": [],
1180 "order": 7,
1181 "mode": 0,
1182 "inputs": [],
1183 "outputs": [
1184 {
1185 "name": "MODEL",
1186 "type": "MODEL",
1187 "slot_index": 0,
1188 "links": [
1189 841
1190 ]
1191 }
1192 ],
1193 "properties": {
1194 "cnr_id": "gguf",
1195 "ver": "2ed7acf3cdcaba4ca70e7961507b47598d3e1ce0",
1196 "Node name for S&R": "LoaderGGUF",
1197 "aux_id": "calcuis/gguf"
1198 },
1199 "widgets_values": [
1200 "wan2.1-flf2v-720p-14b-q2_k.gguf"
1201 ],
1202 "color": "#223",
1203 "bgcolor": "#335"
1204 },
1205 {
1206 "id": 382,
1207 "type": "VAELoader",
1208 "pos": [
1209 -374.8248291015625,
1210 784.7362670898438
1211 ],
1212 "size": [
1213 270,
1214 58
1215 ],
1216 "flags": [],
1217 "order": 8,
1218 "mode": 0,
1219 "inputs": [],
1220 "outputs": [
1221 {
1222 "name": "VAE",
1223 "type": "VAE",
1224 "links": [
1225 819,
1226 850
1227 ]
1228 }
1229 ],
1230 "properties": {
1231 "cnr_id": "comfy-core",
1232 "ver": "0.3.44",
1233 "Node name for S&R": "VAELoader"
1234 },
1235 "widgets_values": [
1236 "wan_2.1_vae.safetensors"
1237 ],
1238 "color": "#223",
1239 "bgcolor": "#335"
1240 },
1241 {
1242 "id": 404,
1243 "type": "WanFirstLastFrameToVideo",
1244 "pos": [
1245 931.7603759765625,
1246 535.571044921875
1247 ],
1248 "size": [
1249 275.09765625,
1250 250
1251 ],
1252 "flags": [],
1253 "order": 16,
1254 "mode": 0,
1255 "inputs": [
1256 {
1257 "name": "positive",
1258 "type": "CONDITIONING",
1259 "link": 839
1260 },
1261 {
1262 "name": "negative",
1263 "type": "CONDITIONING",
1264 "link": 840
1265 },
1266 {
1267 "name": "vae",
1268 "type": "VAE",
1269 "link": 850
1270 },
1271 {
1272 "name": "clip_vision_start_image",
1273 "shape": 7,
1274 "type": "CLIP_VISION_OUTPUT",
1275 "link": 842
1276 },
1277 {
1278 "name": "clip_vision_end_image",
1279 "shape": 7,
1280 "type": "CLIP_VISION_OUTPUT",
1281 "link": 845
1282 },
1283 {
1284 "name": "start_image",
1285 "shape": 7,
1286 "type": "IMAGE",
1287 "link": 847
1288 },
1289 {
1290 "name": "end_image",
1291 "shape": 7,
1292 "type": "IMAGE",
1293 "link": 846
1294 }
1295 ],
1296 "outputs": [
1297 {
1298 "name": "positive",
1299 "type": "CONDITIONING",
1300 "links": [
1301 838
1302 ]
1303 },
1304 {
1305 "name": "negative",
1306 "type": "CONDITIONING",
1307 "links": [
1308 837
1309 ]
1310 },
1311 {
1312 "name": "latent",
1313 "type": "LATENT",
1314 "links": [
1315 848,
1316 849,
1317 851
1318 ]
1319 }
1320 ],
1321 "properties": {
1322 "cnr_id": "comfy-core",
1323 "ver": "0.3.44",
1324 "Node name for S&R": "WanFirstLastFrameToVideo"
1325 },
1326 "widgets_values": [
1327 720,
1328 1280,
1329 25,
1330 1
1331 ],
1332 "color": "#2a363b",
1333 "bgcolor": "#3f5159"
1334 },
1335 {
1336 "id": 400,
1337 "type": "VAEDecodeTiled",
1338 "pos": [
1339 421.2698059082031,
1340 1063.927978515625
1341 ],
1342 "size": [
1343 270,
1344 150
1345 ],
1346 "flags": [],
1347 "order": 25,
1348 "mode": 0,
1349 "inputs": [
1350 {
1351 "name": "samples",
1352 "type": "LATENT",
1353 "link": 818
1354 },
1355 {
1356 "name": "vae",
1357 "type": "VAE",
1358 "link": 819
1359 }
1360 ],
1361 "outputs": [
1362 {
1363 "name": "IMAGE",
1364 "type": "IMAGE",
1365 "links": [
1366 822
1367 ]
1368 }
1369 ],
1370 "properties": {
1371 "cnr_id": "comfy-core",
1372 "ver": "0.3.44",
1373 "Node name for S&R": "VAEDecodeTiled"
1374 },
1375 "widgets_values": [
1376 256,
1377 64,
1378 64,
1379 8
1380 ]
1381 },
1382 {
1383 "id": 391,
1384 "type": "Asymmetric Tiled KSampler",
1385 "pos": [
1386 1313.024169921875,
1387 531.4937133789062
1388 ],
1389 "size": [
1390 272.0835876464844,
1391 310
1392 ],
1393 "flags": [],
1394 "order": 24,
1395 "mode": 0,
1396 "inputs": [
1397 {
1398 "name": "model",
1399 "type": "MODEL",
1400 "link": 801
1401 },
1402 {
1403 "name": "positive",
1404 "type": "CONDITIONING",
1405 "link": 838
1406 },
1407 {
1408 "name": "negative",
1409 "type": "CONDITIONING",
1410 "link": 837
1411 },
1412 {
1413 "name": "latent_image",
1414 "type": "LATENT",
1415 "link": 851
1416 }
1417 ],
1418 "outputs": [
1419 {
1420 "name": "LATENT",
1421 "type": "LATENT",
1422 "links": [
1423 818
1424 ]
1425 }
1426 ],
1427 "properties": {
1428 "cnr_id": "tiled_ksampler",
1429 "ver": "d954379b188efd8d66f4280878a7b582038729e5",
1430 "Node name for S&R": "Asymmetric Tiled KSampler"
1431 },
1432 "widgets_values": [
1433 8894,
1434 "fixed",
1435 1,
1436 1,
1437 35,
1438 6,
1439 "dpmpp_2m",
1440 "sgm_uniform",
1441 1
1442 ],
1443 "color": "#332922",
1444 "bgcolor": "#593930"
1445 },
1446 {
1447 "id": 407,
1448 "type": "MarkdownNote",
1449 "pos": [
1450 -1400,
1451 -50
1452 ],
1453 "size": [
1454 620,
1455 1000
1456 ],
1457 "flags": [],
1458 "order": 30,
1459 "mode": 0,
1460 "inputs": [],
1461 "outputs": [],
1462 "title": "How to use",
1463 "properties": [],
1464 "widgets_values": [
1465 "## How to use (v2.0.1)\n\n**What it does:** give a start image and an end image; Wan 2.1 FLF2V (14B, GGUF) makes a video that moves from the first to the last. Then RealESRGAN x4 upscales the frames, they are scaled to 1080x1920 and saved as an mp4. Low-VRAM friendly (4 GB).\n\n**Inputs**\n1. **Start Image** and **End Image** (bottom left): load your two pictures. Resize is off in both loaders; WanFirstLastFrameToVideo scales both to its width x height (720x1280, portrait, center crop). Use the same shape for both.\n2. **Positive prompt**: describe the motion between the two images. The negative prompt is empty by default.\n3. **Models** (top left): GGUF model in Loader GGUF, text encoder in Load CLIP (type wan), VAE, CLIP vision. LoRAs go in the Lora Loader Stack (all None by default).\n\n**Important settings**\n- **WanFirstLastFrameToVideo**: width 720, height 1280, length 25 frames. Width and height should match the image loaders.\n- **Sampler** (Asymmetric Tiled KSampler): seed 8894 fixed, 35 steps, cfg 6, dpmpp_2m / sgm_uniform, denoise 1.\n- **Speed and quality patches** (top): TorchCompile, TeaCache (KJ), RifleXRoPE, Sage attention patch, Skip Layer Guidance, Enhance-A-Video, CFG-Zero*, NAG, shift 6 (ModelSamplingSD3).\n- **Upscale** (bottom right): RealESRGAN x4, then Lanczos to 1080x1920 (center crop). RIFE VFI multiplier 1.\n- **Export**: 24 fps h264 mp4, pingpong on (plays forward then back).\n\n**Tips**\n- Quant: Q5_K_M is a good balance of quality and size. Q2_K still works; avoid the _S versions.\n- Sampler: euler / simple, cfg 4 to 6, about 30 steps works well. Above 50 steps takes very long for little gain.\n- The Sage attention patch node needs the sageattention package. Without it, bypass that node (Ctrl+B).\n- Faster attention: start ComfyUI with --use-sage-attention (less VRAM). --use-ck-attention changes the image for the same seed.\n- Missing \"Asymmetric Tiled KSampler\" or \"RIFE VFI\": install the tiled_ksampler and ComfyUI-Frame-Interpolation packs (see Downloads).\n\n_Tested on: no test hardware is listed for this release. Not run on ComfyUI 0.45.3 (it needs two custom packs and model files that the 0.45.3 test server does not have)._"
1466 ],
1467 "color": "#432",
1468 "bgcolor": "#653"
1469 },
1470 {
1471 "id": 408,
1472 "type": "MarkdownNote",
1473 "pos": [
1474 -1400,
1475 990
1476 ],
1477 "size": [
1478 620,
1479 560
1480 ],
1481 "flags": [],
1482 "order": 31,
1483 "mode": 0,
1484 "inputs": [],
1485 "outputs": [],
1486 "title": "Downloads",
1487 "properties": [],
1488 "widgets_values": [
1489 "## Downloads - put each file in the ComfyUI folder shown\n\nFolders are inside `ComfyUI/models/`. Full table: downloads.md.\n\n| Folder | File (click = download) | Note |\n|---|---|---|\n| `diffusion_models/` | [wan2.1-flf2v-720p-14b-q2_k.gguf](https://huggingface.co/calcuis/wan-gguf/resolve/main/wan2.1-flf2v-720p-14b-q2_k.gguf) | Pick your quant from the repo |\n| `vae/` | [wan_2.1_vae.safetensors](https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors) | |\n| `text_encoders/` | [t5xxl_um_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/calcuis/wan-gguf/resolve/main/t5xxl_um_fp8_e4m3fn_scaled.safetensors) | 6.7 GB |\n| `clip_vision/` | [clip_vision_h_fp8_e4m3fn.safetensors](https://huggingface.co/calcuis/wan-gguf/resolve/main/clip_vision_h_fp8_e4m3fn.safetensors) | 0.6 GB |\n| `upscale_models/` | [RealESRGAN_x4.pth](https://huggingface.co/ai-forever/Real-ESRGAN/resolve/main/RealESRGAN_x4.pth) | 0.07 GB |\n\n`rife49.pth` is downloaded by ComfyUI-Frame-Interpolation on first run.\n\n**Custom node packs:** gguf, tiled_ksampler, ComfyUI-KJNodes, ComfyUI-VideoHelperSuite, rgthree-comfy, ComfyUI-Frame-Interpolation.\n\nOne command from the repo root: `python scripts/frizzy.py doctor wan2.1/flf2v`"
1490 ],
1491 "color": "#432",
1492 "bgcolor": "#653"
1493 }
1494 ],
1495 "links": [
1496 [
1497 253,
1498 80,
1499 0,
1500 106,
1501 0,
1502 "IMAGE"
1503 ],
1504 [
1505 380,
1506 106,
1507 0,
1508 82,
1509 0,
1510 "IMAGE"
1511 ],
1512 [
1513 689,
1514 330,
1515 0,
1516 226,
1517 0,
1518 "MODEL"
1519 ],
1520 [
1521 719,
1522 226,
1523 0,
1524 359,
1525 0,
1526 "MODEL"
1527 ],
1528 [
1529 743,
1530 307,
1531 0,
1532 370,
1533 1,
1534 "CLIP"
1535 ],
1536 [
1537 744,
1538 370,
1539 1,
1540 44,
1541 0,
1542 "CLIP"
1543 ],
1544 [
1545 745,
1546 370,
1547 1,
1548 111,
1549 0,
1550 "CLIP"
1551 ],
1552 [
1553 750,
1554 316,
1555 0,
1556 373,
1557 0,
1558 "MODEL"
1559 ],
1560 [
1561 751,
1562 373,
1563 0,
1564 364,
1565 0,
1566 "MODEL"
1567 ],
1568 [
1569 786,
1570 386,
1571 0,
1572 316,
1573 0,
1574 "MODEL"
1575 ],
1576 [
1577 787,
1578 364,
1579 0,
1580 385,
1581 0,
1582 "MODEL"
1583 ],
1584 [
1585 789,
1586 111,
1587 0,
1588 385,
1589 1,
1590 "CONDITIONING"
1591 ],
1592 [
1593 790,
1594 359,
1595 0,
1596 279,
1597 0,
1598 "MODEL"
1599 ],
1600 [
1601 791,
1602 279,
1603 0,
1604 386,
1605 0,
1606 "MODEL"
1607 ],
1608 [
1609 792,
1610 370,
1611 0,
1612 330,
1613 0,
1614 "MODEL"
1615 ],
1616 [
1617 801,
1618 385,
1619 0,
1620 391,
1621 0,
1622 "MODEL"
1623 ],
1624 [
1625 816,
1626 398,
1627 0,
1628 80,
1629 0,
1630 "IMAGE"
1631 ],
1632 [
1633 817,
1634 78,
1635 0,
1636 398,
1637 0,
1638 "UPSCALE_MODEL"
1639 ],
1640 [
1641 818,
1642 391,
1643 0,
1644 400,
1645 0,
1646 "LATENT"
1647 ],
1648 [
1649 819,
1650 382,
1651 0,
1652 400,
1653 1,
1654 "VAE"
1655 ],
1656 [
1657 822,
1658 400,
1659 0,
1660 398,
1661 1,
1662 "IMAGE"
1663 ],
1664 [
1665 824,
1666 402,
1667 0,
1668 403,
1669 0,
1670 "CLIP_VISION"
1671 ],
1672 [
1673 825,
1674 369,
1675 0,
1676 403,
1677 1,
1678 "IMAGE"
1679 ],
1680 [
1681 837,
1682 404,
1683 1,
1684 391,
1685 2,
1686 "CONDITIONING"
1687 ],
1688 [
1689 838,
1690 404,
1691 0,
1692 391,
1693 1,
1694 "CONDITIONING"
1695 ],
1696 [
1697 839,
1698 44,
1699 0,
1700 404,
1701 0,
1702 "CONDITIONING"
1703 ],
1704 [
1705 840,
1706 111,
1707 0,
1708 404,
1709 1,
1710 "CONDITIONING"
1711 ],
1712 [
1713 841,
1714 275,
1715 0,
1716 370,
1717 0,
1718 "MODEL"
1719 ],
1720 [
1721 842,
1722 403,
1723 0,
1724 404,
1725 3,
1726 "CLIP_VISION_OUTPUT"
1727 ],
1728 [
1729 843,
1730 402,
1731 0,
1732 406,
1733 0,
1734 "CLIP_VISION"
1735 ],
1736 [
1737 844,
1738 405,
1739 0,
1740 406,
1741 1,
1742 "IMAGE"
1743 ],
1744 [
1745 845,
1746 406,
1747 0,
1748 404,
1749 4,
1750 "CLIP_VISION_OUTPUT"
1751 ],
1752 [
1753 846,
1754 405,
1755 0,
1756 404,
1757 6,
1758 "IMAGE"
1759 ],
1760 [
1761 847,
1762 369,
1763 0,
1764 404,
1765 5,
1766 "IMAGE"
1767 ],
1768 [
1769 848,
1770 404,
1771 2,
1772 316,
1773 1,
1774 "LATENT"
1775 ],
1776 [
1777 849,
1778 404,
1779 2,
1780 359,
1781 1,
1782 "LATENT"
1783 ],
1784 [
1785 850,
1786 382,
1787 0,
1788 404,
1789 2,
1790 "VAE"
1791 ],
1792 [
1793 851,
1794 404,
1795 2,
1796 391,
1797 3,
1798 "LATENT"
1799 ]
1800 ],
1801 "groups": [
1802 {
1803 "id": 1,
1804 "title": "Models and Loras",
1805 "bounding": [
1806 -418.4708557128906,
1807 397.3606872558594,
1808 695.1738891601562,
1809 562.715576171875
1810 ],
1811 "color": "#88A",
1812 "font_size": 24,
1813 "flags": []
1814 },
1815 {
1816 "id": 2,
1817 "title": "Prompt and Sampler",
1818 "bounding": [
1819 296.4618225097656,
1820 395.78802490234375,
1821 1487.3677978515625,
1822 557.2505493164062
1823 ],
1824 "color": "#8A8",
1825 "font_size": 24,
1826 "flags": []
1827 },
1828 {
1829 "id": 3,
1830 "title": "Input image workflow",
1831 "bounding": [
1832 -413.62481689453125,
1833 971.7687377929688,
1834 684.10009765625,
1835 685.4319458007812
1836 ],
1837 "font_size": 24,
1838 "flags": []
1839 },
1840 {
1841 "id": 4,
1842 "title": "Upscaler and 2nd frame interpolaration",
1843 "bounding": [
1844 865.3817749023438,
1845 966.560302734375,
1846 913.2577514648438,
1847 409.3675231933594
1848 ],
1849 "color": "#a1309b",
1850 "font_size": 24,
1851 "flags": []
1852 },
1853 {
1854 "id": 5,
1855 "title": "Compiling, Cache Internal Frame Interpolaration",
1856 "bounding": [
1857 209.2317352294922,
1858 -53.53274154663086,
1859 793.6033935546875,
1860 427.86962890625
1861 ],
1862 "color": "#b58b2a",
1863 "font_size": 24,
1864 "flags": []
1865 },
1866 {
1867 "id": 6,
1868 "title": "Enhance and Sampling",
1869 "bounding": [
1870 1072.814697265625,
1871 -46.315372467041016,
1872 719.3086547851562,
1873 376.06207275390625
1874 ],
1875 "color": "#3f789e",
1876 "font_size": 24,
1877 "flags": []
1878 }
1879 ],
1880 "config": [],
1881 "extra": {
1882 "ds": {
1883 "scale": 0.6303940863128983,
1884 "offset": [
1885 323.4265208739523,
1886 -549.6207218870653
1887 ]
1888 },
1889 "frontendVersion": "1.23.4",
1890 "groupNodes": [],
1891 "node_versions": {
1892 "comfyui-frame-interpolation": "c336f7184cb1ac1243381e725fea1ad2c0a10c09",
1893 "comfy-core": "0.3.15",
1894 "comfyui-videohelpersuite": "124c913ccdd8a585734ea758c35fa1bab8499c99",
1895 "comfyui-hunyuanvideowrapper": "8e0283bb3c9c2d0e38097c09fdfd3ad8e24cd333",
1896 "ComfyUI-GGUF": "5875c52f59baca3a9372d68c43a3775e21846fe0",
1897 "ComfyUI-HunyuanVideoSamplerSave": "12da6f230aae1427c74e96dd3d34735d5b8bd390",
1898 "comfyui-kjnodes": "095c8d4b526ba3c1f12fd9dd1d7f3540c6a11358"
1899 },
1900 "ue_links": [],
1901 "VHS_latentpreview": false,
1902 "VHS_latentpreviewrate": 0,
1903 "VHS_MetadataImage": true,
1904 "VHS_KeepIntermediate": true
1905 },
1906 "version": 0.4
1907}