AnimateDiff-A1111 / README.md
conrevo's picture
doc
70764d1
|
raw
history blame
2.32 kB

AnimateDiff Model Checkpoints for A1111 SD WebUI

This repository saves all AnimateDiff models in fp16 & safetensors format for A1111 AnimateDiff users, including

  • motion module (v1-v3)
  • motion LoRA (v2 only, use like any other LoRA)
  • domain adapter (v3 only, use like any other LoRA)
  • sparse ControlNet (v3 only, use like any other ControlNet)

Unless specified below, you are fine to use models from the official model repository. I will only convert state dict keys if absolutely necessary.

Motion LoRA

Put Motion LoRAs to stable-diffusion-webui/models/Lora and use Motion LoRAs like any other LoRA you use.

lora_v2 contains motion LoRAs for AnimateDiff-A1111 v2.0.0. I converted state dict keys inside motion LoRAs. Originlal motion LoRAs won't work for AnimateDiff-A1111 v2.0.0 and later due to maintenance reason.

Use convert.py in the following way if you want to convert a third-party motion LoRA to be compatible with A1111:

  • Activate your A1111 Python environment first.
  • Command: python script.py lora [file_path] [save_path]
  • Replace [file_path] with the path to your old LoRA checkpoint.
  • Replace [save_path] with the path where you want to save the new LoRA checkpoint.

Sparse ControlNet

Put Sparse ControlNets to stable-diffusion-webui/models/ControlNet and use Sparse ControlNets like any other ControlNet you use.

Like Motion LoRA, I converted state dict keys inside sparse ControlNet. Original sparse ControlNets won't work for A1111 due to maintenance reason.

Use convert.py in the following way if you want to convert a third-party sparse ControlNet to be compatible with A1111:

  • Activate your A1111 Python environment first.
  • Command: python script.py controlnet [ad_cn_old] [ad_cn_new] [normal_cn_path]
  • Replace [ad_cn_old] with the path to your old sparse ControlNet checkpoint.
  • Replace [ad_cn_new] with the path where you want to save the new sparse ControlNet checkpoint.
  • Replace [normal_cn_path] with the path to the normal ControlNet model. Download normal ControlNet from here.