ByteDance / AnimateDiff-Lightning

huggingface.co
Total runs: 15.4K
24-hour runs: 0
7-day runs: -10
30-day runs: 1.5K
Model's Last Updated: January 06 2025
text-to-video

Introduction of AnimateDiff-Lightning

Model Details of AnimateDiff-Lightning

AnimateDiff-Lightning

AnimateDiff-Lightning is a lightning-fast text-to-video generation model. It can generate videos more than ten times faster than the original AnimateDiff. For more information, please refer to our research paper: AnimateDiff-Lightning: Cross-Model Diffusion Distillation . We release the model as part of the research.

Our models are distilled from AnimateDiff SD1.5 v2 . This repository contains checkpoints for 1-step, 2-step, 4-step, and 8-step distilled models. The generation quality of our 2-step, 4-step, and 8-step model is great. Our 1-step model is only provided for research purposes.

Demo

Try AnimateDiff-Lightning using our text-to-video generation demo .

Recommendation

AnimateDiff-Lightning produces the best results when used with stylized base models. We recommend using the following base models:

Realistic

Anime & Cartoon

Additionally, feel free to explore different settings. We find using 3 inference steps on the 2-step model produces great results. We find certain base models produces better results with CFG. We also recommend using Motion LoRAs as they produce stronger motion. We use Motion LoRAs with strength 0.7~0.8 to avoid watermark.

Diffusers Usage
import torch
from diffusers import AnimateDiffPipeline, MotionAdapter, EulerDiscreteScheduler
from diffusers.utils import export_to_gif
from huggingface_hub import hf_hub_download
from safetensors.torch import load_file

device = "cuda"
dtype = torch.float16

step = 4  # Options: [1,2,4,8]
repo = "ByteDance/AnimateDiff-Lightning"
ckpt = f"animatediff_lightning_{step}step_diffusers.safetensors"
base = "emilianJR/epiCRealism"  # Choose to your favorite base model.

adapter = MotionAdapter().to(device, dtype)
adapter.load_state_dict(load_file(hf_hub_download(repo ,ckpt), device=device))
pipe = AnimateDiffPipeline.from_pretrained(base, motion_adapter=adapter, torch_dtype=dtype).to(device)
pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing", beta_schedule="linear")

output = pipe(prompt="A girl smiling", guidance_scale=1.0, num_inference_steps=step)
export_to_gif(output.frames[0], "animation.gif")
ComfyUI Usage
  1. Download animatediff_lightning_workflow.json and import it in ComfyUI.
  2. Install nodes. You can install them manually or use ComfyUI-Manager .
  3. Download your favorite base model checkpoint and put them under /models/checkpoints/
  4. Download AnimateDiff-Lightning checkpoint animatediff_lightning_Nstep_comfyui.safetensors and put them under /custom_nodes/ComfyUI-AnimateDiff-Evolved/models/

ComfyUI Workflow

Video-to-Video Generation

AnimateDiff-Lightning is great for video-to-video generation. We provide the simplist comfyui workflow using ControlNet.

  1. Download animatediff_lightning_v2v_openpose_workflow.json and import it in ComfyUI.
  2. Install nodes. You can install them manually or use ComfyUI-Manager .
  3. Download your favorite base model checkpoint and put them under /models/checkpoints/
  4. Download AnimateDiff-Lightning checkpoint animatediff_lightning_Nstep_comfyui.safetensors and put them under /custom_nodes/ComfyUI-AnimateDiff-Evolved/models/
  5. Download ControlNet OpenPose control_v11p_sd15_openpose.pth checkpoint to /models/controlnet/
  6. Upload your video and run the pipeline.

Additional notes:

  1. Video shouldn't be too long or too high resolution. We used 576x1024 8 second 30fps videos for testing.
  2. Set the frame rate to match your input video. This allows audio to match with the output video.
  3. DWPose will download checkpoint itself on its first run.
  4. DWPose may get stuck in UI, but the pipeline is actually still running in the background. Check ComfyUI log and your output folder.

ComfyUI OpenPose Workflow

Cite Our Work

@misc{lin2024animatedifflightning,
      title={AnimateDiff-Lightning: Cross-Model Diffusion Distillation}, 
      author={Shanchuan Lin and Xiao Yang},
      year={2024},
      eprint={2403.12706},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

Runs of ByteDance AnimateDiff-Lightning on huggingface.co

15.4K
Total runs
0
24-hour runs
515
3-day runs
-10
7-day runs
1.5K
30-day runs

More Information About AnimateDiff-Lightning huggingface.co Model

More AnimateDiff-Lightning license Visit here:

https://choosealicense.com/licenses/creativeml-openrail-m

AnimateDiff-Lightning huggingface.co

AnimateDiff-Lightning huggingface.co is an AI model on huggingface.co that provides AnimateDiff-Lightning's model effect (), which can be used instantly with this ByteDance AnimateDiff-Lightning model. huggingface.co supports a free trial of the AnimateDiff-Lightning model, and also provides paid use of the AnimateDiff-Lightning. Support call AnimateDiff-Lightning model through api, including Node.js, Python, http.

AnimateDiff-Lightning huggingface.co Url

https://huggingface.co/ByteDance/AnimateDiff-Lightning

ByteDance AnimateDiff-Lightning online free

AnimateDiff-Lightning huggingface.co is an online trial and call api platform, which integrates AnimateDiff-Lightning's modeling effects, including api services, and provides a free online trial of AnimateDiff-Lightning, you can try AnimateDiff-Lightning online for free by clicking the link below.

ByteDance AnimateDiff-Lightning online free url in huggingface.co:

https://huggingface.co/ByteDance/AnimateDiff-Lightning

AnimateDiff-Lightning install

AnimateDiff-Lightning is an open source model from GitHub that offers a free installation service, and any user can find AnimateDiff-Lightning on GitHub to install. At the same time, huggingface.co provides the effect of AnimateDiff-Lightning install, users can directly use AnimateDiff-Lightning installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

AnimateDiff-Lightning install url in huggingface.co:

https://huggingface.co/ByteDance/AnimateDiff-Lightning

Url of AnimateDiff-Lightning

AnimateDiff-Lightning huggingface.co Url

Provider of AnimateDiff-Lightning huggingface.co

ByteDance
ORGANIZATIONS

Other API from ByteDance

huggingface.co

Total runs: 51.8K
Run Growth: 7.4K
Growth Rate: 14.16%
Updated:December 05 2024
huggingface.co

Total runs: 22.2K
Run Growth: -3.3K
Growth Rate: -12.41%
Updated:January 19 2026
huggingface.co

Total runs: 6.5K
Run Growth: 6.5K
Growth Rate: 60.23%
Updated:January 19 2026
huggingface.co

Total runs: 2.9K
Run Growth: -351
Growth Rate: -242.07%
Updated:September 08 2025
huggingface.co

Total runs: 2.3K
Run Growth: 1.4K
Growth Rate: 65.52%
Updated:September 08 2025
huggingface.co

Total runs: 933
Run Growth: 552
Growth Rate: 59.87%
Updated:July 16 2025
huggingface.co

Total runs: 854
Run Growth: 316
Growth Rate: 37.00%
Updated:December 12 2025
huggingface.co

Total runs: 566
Run Growth: 251
Growth Rate: 44.82%
Updated:April 04 2025
huggingface.co

Total runs: 539
Run Growth: -63
Growth Rate: -13.61%
Updated:November 12 2025
huggingface.co

Total runs: 521
Run Growth: -611
Growth Rate: -121.23%
Updated:November 28 2025
huggingface.co

Total runs: 364
Run Growth: -3
Growth Rate: -0.83%
Updated:September 08 2025
huggingface.co

Total runs: 171
Run Growth: 91
Growth Rate: 61.90%
Updated:July 01 2025
huggingface.co

Total runs: 152
Run Growth: -79
Growth Rate: -57.66%
Updated:June 10 2026
huggingface.co

Total runs: 120
Run Growth: -38
Growth Rate: -33.04%
Updated:June 02 2026
huggingface.co

Total runs: 75
Run Growth: -27
Growth Rate: -35.53%
Updated:September 08 2025
huggingface.co

Total runs: 56
Run Growth: 32
Growth Rate: 55.17%
Updated:April 22 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 26 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 11 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 02 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 01 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 27 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 24 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 13 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 05 2025