视频生成Apache-2.0Python

AnimateDiff

Animate your Stable Diffusion checkpoints with plug-in motion modules.

Star 数
12.3K
Fork 数
1.1K
未关闭 Issue
320
最近提交
2024-07-31

数据来自 GitHub API · 更新于 2026-10-15

AnimateDiff 是什么?

AnimateDiff adds a motion module to existing Stable Diffusion models, so any community checkpoint or LoRA can produce short animations. Most people use it via ComfyUI or A1111 extensions.

主要功能

  • Works with existing SD1.5 checkpoints and LoRAs
  • Motion LoRAs for camera moves
  • SparseCtrl for keyframe/sketch control

系统要求

平台
Linux · Windows
显卡
NVIDIA
显存
8–12 GB

如何安装 AnimateDiff

根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。

Reference code

  1. 1
    Clone and install.
    git clone https://github.com/guoyww/AnimateDiff.git
    cd AnimateDiff
    pip install -r requirements.txt
  2. 2
    Download motion modules as described in the README and run a config.
    python -m scripts.animate --config configs/prompts/1_animate/1_1_animate_RealisticVision.yaml

优势

  • Reuses your favorite SD styles
  • Huge community of workflows

不足

  • Short, low-resolution clips
  • Older SD1.5-era quality

AnimateDiff 替代品对比

软件Star 数许可证平台显存
AnimateDiff

Animate your Stable Diffusion checkpoints with plug-in motion modules.

12.3KApache-2.08–12 GB
FramePack

Long image-to-video generation on laptop GPUs with as little as 6 GB VRAM.

17.3KApache-2.06 GB minimum
Wan 2.2

Alibaba’s open-weight video generation models (text, image and speech to video).

17.9KApache-2.024 GB for TI2V-5B at 720p; 80 GB-class GPUs (or offloading) for A14B models
LTX-Video

Fast, real-time-capable open video generation from Lightricks.

11.1KApache-2.012 GB+ for smaller variants; more for 13B models
HunyuanVideo

Tencent’s 13B-parameter open video foundation model.

12.6KTencent Hunyuan Community License45 GB minimum, 60–80 GB recommended for 720p (per README); less with community quantizations
CogVideoX

Open text-to-video and image-to-video models from Zhipu AI / Tsinghua.

13.1KApache-2.0~12–24 GB depending on model and optimizations (see the README table)

相关模型

常见问题

AnimateDiff 免费吗?

是的——AnimateDiff 是开源软件,采用 Apache-2.0 许可证。商用前请确认软件及模型权重的许可条款。

AnimateDiff 支持 Windows、Mac 和 Linux 吗?

AnimateDiff 支持:Linux, Windows。

运行 AnimateDiff 需要什么配置?

NVIDIA. VRAM: 8–12 GB

如何安装 AnimateDiff?

1. Clone and install. 2. Download motion modules as described in the README and run a config.

AnimateDiff 有哪些好的替代品?

常见替代品包括 FramePack, Wan 2.2, LTX-Video, HunyuanVideo,详见本页对比表。

可以不安装、在线使用 AnimateDiff 吗?

如果没有大显存显卡,AiLoft 可在云端运行 Veo 3.1 和可灵 2.5,在浏览器中生成并对比视频。

没有 24GB 显卡?在线生成 AI 视频

在云端运行 Veo 3.1 和可灵 2.5,并排对比视频,按条付费。