lllyasviel /FramePack
Lets make video diffusion practical!
★ 17,356⑂ 1,750👁 142⑃ 53● 575▤ 1
More from this author
+0
Daily
17,356
stars
1,750
forks
142
watchers
53
prs
575
issues
1
releases
README
FramePack
Official implementation and desktop software for "Frame Context Packing and Drift Prevention in Next-Frame-Prediction Video Diffusion Models".
Links: Paper, Project Page
FramePack is a next-frame (next-frame-section) prediction neural network structure that generates videos progressively.
FramePack compresses input contexts to a constant length so that the generation workload is invariant to video length.
FramePack can process a very large number of frames with 13B models even on laptop GPUs.
FramePack can be trained with a much larger batch size, similar to the batch size for image diffusion training.
Video diffusion, but feels like image diffusion.
News
2025 July 14: Some pure text2video anti-drifting stress-test results of FramePack-P1 are uploaded here, using common prompts without any reference images.
2025 June 26: Some results of FramePack-P1 are uploaded here. The FramePack-P1 will be the next version of FramePack with two designs: Planned Anti-Drifting and History Discretization.
2025 May 03: The FramePack-F1 is released. Try it here.
Note that this GitHub repository is the only official FramePack website. We do not have any web services. All other websites are spam and fake, including but not limited to framepack.co, frame_pack.co, framepack.net, frame_pack.net, framepack.ai, frame_pack.ai, framepack.pro, frame_pack.pro, framepack.cc, frame_pack.cc,framepackai.co, frame_pack_ai.co, framepackai.net, frame_pack_ai.net, framepackai.pro, frame_pack_ai.pro, framepackai.cc, frame_pack_ai.cc, and so on. Again, they are all spam and fake. Do not pay money or download files from any of those websites.
Requirements
Note that this repo is a functional desktop software with minimal standalone high-quality sampling system and memory management.
Start with this repo before you try anything else!
Requirements:
Nvidia GPU in RTX 30XX, 40XX, 50XX series that supports fp16 and bf16. The GTX 10XX/20XX are not tested.
Linux or Windows operating system.
At least 6GB GPU memory.
To generate 1-minute video (60 seconds) at 30fps (1800 frames) using 13B model, the minimal required GPU memory is 6GB. (Yes 6 GB, not a typo. Laptop GPUs are okay.)
About speed, on my RTX 4090 desktop it generates at a speed of 2.5 seconds/frame (unoptimized) or 1.5 seconds/frame (teacache). On my laptops like 3070ti laptop or 3060 laptop, it is about 4x to 8x slower. Troubleshoot if your speed is much slower than this.
In any case, you will directly see the generated frames since it is next-frame(-section) prediction. So you will get lots of visual feedback before the entire video is generated.
Installation
Windows:
Click Here to Download One-Click Package (CUDA 12.6 + Pytorch 2.6)
Copy this prompt:
The man dances energetically, leaping mid-air with fluid arm swings and quick footwork.
Set like this:
(all default parameters, with teacache turned off)
!image
The result will be:
Video may be Top issues
#151Exceedingly slow speed on 4060 Laptop....55 comments · 2025-04-20#379Censoring41 comments · 2025-04-27#117RTX 3090 (24 GB vram) + 64 GB RAM => 16 minutes to generate 5 sec video?36 comments · 2025-04-19#28Fails to follow prompts to generate complex sequential actions35 comments · 2025-04-17#13Getting error: ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host33 comments · 2025-04-17#327Xformers, Flashattn, Sageattn for RTX509028 comments · 2025-04-25#552FramePack F1: The longer the video, the much less forward movement of the object26 comments · 2025-05-18#499RTX 50 Series Install Sage Attention26 comments · 2025-05-07
Discussions
#835rere0 comments · 2026-10-31#817Proper nsfw video generation tool with right models?1 comments · 2026-07-29#798Test FramePack-F1 on different versions of Torch0 comments · 2026-01-12#795Please Help, having Several Issues0 comments · 2025-12-15#794I Need Help Bigtime installing Framepack on Nvidia RTX 50600 comments · 2025-12-12#793I Need Help Bigtime installing Framepack on Nvidia RTX 50601 comments · 2025-12-12#788Framepack0 comments · 2025-11-24#777Where does F1 save outputs and partial outputs?1 comments · 2025-10-29
Latest release
Windows windows 2025-04-18Windows