Video GenerationOpen source codelllyasviel/FramePack

FramePack: Open Source AI Repository & Self-Hosting Guide

Open-source next-frame-prediction video diffusion architecture by lllyasviel designed to synthesize long image-to-video clips on 6GB-8GB consumer GPUs.

GitHub Stars
17,420 stars
Repository License
Apache-2.0
Last Push (UTC)
Oct 16, 2025
Check the repo's license. Model weights may have a different license.
git clone https://github.com/lllyasviel/FramePack.git
View on GitHub
Installpip install -r requirements.txt && python demo_gradio.py

FramePack: Architecture & Practical Workflow

FramePack compresses temporal context frames exponentially into fixed-length KV representations so memory stays nearly constant regardless of output duration. Users can generate 30-to-60 second 30fps clips locally through a straightforward Gradio web interface.

Recommended End-to-End Pipeline

Load a starting portrait or architectural render into FramePack Gradio with TeaCache enabled, prompt camera movement in 5-second blocks, and export watermark-free MP4 clips.

Runtime Target
Self-Hosted / Windows & Linux Gradio (GitHub)
Primary Users
Indie Creators, Budget GPU Users, Animators
Code License
Apache-2.0
Focus Topics
open-source, github, video-diffusion, low-vram, local-ai

Quick Setup & Installation Steps

Platform target: Self-Hosted / Windows & Linux Gradio (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/lllyasviel/FramePack.git && cd FramePack`.
  2. 2Review the Apache-2.0 license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `pip install -r requirements.txt && python demo_gradio.py` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Load a starting portrait or architectural render into FramePack Gradio with TeaCache enabled, prompt camera movement in 5-second blocks, and export watermark-free MP4 clips.)

Hardware & VRAM Notes

Hardware & VRAM guidance: Requires NVIDIA GPU with CUDA for practical speed

GPU & VRAM

Requires NVIDIA GPU with CUDA for practical speed

System RAM & Storage

16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.

Runtime Target

Self-Hosted / Windows & Linux Gradio (GitHub)

Strengths & Best For

  • Constant-cost context packing fits long video generation into 6GB+ VRAM
  • Progressive frame preview while generating in real time
  • Simple Gradio interface for image-to-video animation
  • Best suited for: Indie Creators, Budget GPU Users, Animators

Limitations & Caveats

  • Requires NVIDIA GPU with CUDA for practical speed
  • Initial model checkpoint download is several gigabytes
  • Check the repo's license. Model weights may have a different license.

3 Similar Tools on /tools (Video)

Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.

Browse all tools
Self-Hosted FramePack vs. Hosted Alternatives (Stable Video Diffusion & CogVideoX)
FactorFramePack (Self-Hosted)Stable Video DiffusionCogVideoX
Execution & PrivacyRuns locally via Self-Hosted / Windows & Linux Gradio (GitHub); data stays on your disk or private server.Hosted cloud web interface; zero local dependency setup required.Hosted cloud web interface; zero local dependency setup required.
Cost & QuotaApache-2.0 code; bound only by local CPU/GPU hardware.Open Source; subject to vendor free-tier limits or paid plans.Open Source; subject to vendor free-tier limits or paid plans.
Primary FitConstant-cost context packing fits long video generation into 6GB+ VRAM; Progressive frame preview while generating in real timeOpen-source text/image-to-video model. Run locally or use free online demos.Open-source video diffusion transformer by Zhipu AI supporting local text-to-video and image-to-video fine-tuning.
Key Trade-offRequires NVIDIA GPU with CUDA for practical speedRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for FramePack workflows.

Cinematic FPV Drone Architectural FlythroughVideo · Video, Cinematic, Drone, Architecture
Open in Studio
Underwater Tracking Camera Over Bioluminescent Coral ReefVideo · Video, Underwater, Nature, Bioluminescence
Open in Studio
Macro E-Commerce Luxury Product RevealVideo · Video, E-Commerce, Macro, Luxury
Open in Studio

More Open Source Video Generation Repositories

Frequently Asked Questions

What does FramePack do and how does it work?

FramePack (lllyasviel/FramePack) is an open-source video generation project with 17,420 stars on GitHub. Open-source next-frame-prediction video diffusion architecture by lllyasviel designed to synthesize long image-to-video clips on 6GB-8GB consumer GPUs. FramePack compresses temporal context frames exponentially into fixed-length KV representations so memory stays nearly constant regardless of output duration. Users can generate 30-to-60 second 30fps clips locally through a straightforward Gradio web interface.

Is FramePack free to self-host and use commercially?

FramePack provides open source code licensed under Apache-2.0. Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.

What hardware, runtime, or VRAM does FramePack require?

FramePack targets Self-Hosted / Windows & Linux Gradio (GitHub). Typical installation runs via `pip install -r requirements.txt && python demo_gradio.py`. Requires NVIDIA GPU with CUDA for practical speed

How does self-hosting FramePack compare to hosted tools like Stable Video Diffusion?

Self-hosting FramePack gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted / Windows & Linux Gradio (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, Stable Video Diffusion (Open Source) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is FramePack actively maintained and what workflow fits it best?

Repository metadata records 17,420 stars on GitHub with the latest recorded push on Oct 16, 2025. Load a starting portrait or architectural render into FramePack Gradio with TeaCache enabled, prompt camera movement in 5-second blocks, and export watermark-free MP4 clips.