FramePack
lllyasviel / FramePack
面向低显存的视频生成框架,用下一帧预测和分段生成,把长视频生成压到 6GB 笔记本 GPU 可跑。A low-VRAM video generation framework using next-frame prediction and segmented generation, aiming at long clips on a 6GB laptop GPU.
为什么选Why choose it
- 只有 6–8GB 显存却想生成长视频,它的分段与漂移控制是实用路线。Designed for very small GPU memory.
- 把“长视频一致性”拆成逐段条件,工程上比一次性生成整段更可控。Segmented generation enables longer clips.
- Gradio 界面开箱即用,适合快速验证创意而不是先搭训练管线。A practical local-video option.
不适合Not for
需要电影级画质或长镜头严格一致性;低显存换来的分辨率和速度有限。You need the highest motion quality.
批量生产/多用户服务,单机 demo 形态不适合。You need multi-user serving.
最小上手Minimum setup
- 按 README 安装依赖并下载权重。Run the official low-VRAM example on a 6–8GB GPU.
- 用官方 Gradio demo 生成 5–10 秒短片,记录显存峰值。Generate two segments and check the seam.
- 换自己的首帧图,比较不同分段长度下的漂移与一致性。Record time per second of output.
依赖与成本Dependencies and cost
Python;CUDA 6GB+ 显存;模型权重;ffmpeg。Check runtime, model weights and external service dependencies in the README.
许可与使用边界License and usage boundaries
代码 Apache-2.0;模型权重与生成内容另计。Code is Apache-2.0; model weights, training data and generated content may have separate terms — check each before commercial use.
开源不等于可商用:GPL / AGPL 有传染性;代码许可、模型许可、生成内容许可要分开看。上线前读仓库 LICENSE 与模型卡,必要时让法务确认。Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.
替代与相邻Alternatives and neighbors
- Open-Sora — 规模 / 性能Scale / performance,开源视频生成全流程:数据清洗、VAE、DiT 训练、推理,支持文生视频与图生视频。A full open video-generation pipeline: data cleaning, VAE, DiT training and inference for text-to-video and image-to-video.
- Wan2.1 — 特定场景Niche,开源视频生成模型与推理代码,支持文生视频、图生视频与多尺寸。Open-source video generation models and inference code for text-to-video, image-to-video and multiple resolutions.
- CogVideo — 生产可用Production,智谱 CogVideoX 系列视频生成模型与推理代码,支持文本/图像到视频。Zhipu’s CogVideoX family of video generation models and inference code for text-to-video and image-to-video.
下一步Next steps
- 打开 GitHub,先读 README、LICENSE、最近 release 与 issue。Open GitHub and read the README, LICENSE, latest release and issues first.
- 按“部署依赖 / 显存 / 数据 / 网络 / 权限”列一张上手清单。Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
- 用一个小样本跑通,再决定是否进生产;不要直接上生产数据。Run a small sample first, then decide on production; never start with production data.
GitHub 仓库 ↗GitHub repository ↗ 文档 ↗Docs ↗ 加入对比Add to compare