AUTOMATIC1111's Stable Diffusion Web UI is the go-to interface for a vast number of AI artists, prized for its comprehensive features and active development community. If you're one of the many users who call AUTOMATIC1111 home, you'll be pleased to know that integrating AnimateDiff is incredibly simple. By adding a single extension, you can unlock powerful text-to-video capabilities directly within the familiar txt2img and img2img tabs. There's no need to learn a whole new program; you can start making your static images move right away.
This guide provides a clear, step-by-step process for the full AnimateDiff install and setup within AUTOMATIC1111. We will cover installing the correct extension, downloading and placing the essential motion module files, and walking through the settings to generate your very first animation. Follow this tutorial, and you'll be leveraging the power of AnimateDiff in your AUTOMATIC1111 workflow today.
Step 1: Install the sd-webui-animatediff Extension
The key to using AnimateDiff in AUTOMATIC1111 is the excellent sd-webui-animatediff extension developed by user continue-revolution. The installation process is handled entirely through the AUTOMATIC1111 interface.
Navigate to the Extensions Tab
Start by launching your AUTOMATIC1111 Web UI as you normally would. Once it's loaded, click on the Extensions tab at the top of the page.
Install from URL
Within the Extensions tab, find and click on the Install from URL sub-tab. This allows you to add new functionality from GitHub repositories directly.
Enter the Repository URL
In the field labeled “URL for extension's git repository,” you need to paste the precise address for the sd-webui-animatediff extension. Copy and paste the following URL:
https://github.com/continue-revolution/sd-webui-animatediffAfter pasting the URL, click the “Install” button. Wait for a confirmation message to appear below the button stating that the installation was successful.
Apply and Restart UI
Go to the “Installed” tab. You should see sd-webui-animatediff in the list. Click the “Apply and restart UI” button. This is a critical step; the extension will not be active until you have fully restarted the interface.
Step 2: Download and Place Motion Modules
With the extension installed, you now need to provide it with a motion module. This is the model that contains the “knowledge” of how to animate things. Without it, the AnimateDiff extension won't work.
- Download a Motion Module: There are several versions available, but a great one to start with is mm_sd_v15_v2.ckpt. This is a versatile and high-quality module for Stable Diffusion 1.5. You can also experiment with others like mm_sd_v14.ckpt or the newer v3_sd15_mm.ckpt.
- Find the Correct Folder: Navigate to your AUTOMATIC1111 installation directory. The correct path for the motion modules is inside the extension's folder:
stable-diffusion-webui/extensions/sd-webui-animatediff/model/- Place the File: Copy the downloaded .ckpt or .safetensors motion module file(s) into this model directory.
After placing the models, it's a good practice to restart AUTOMATIC1111 one more time to ensure they are detected properly.
Step 3: Generate Your First Animation
All the setup is complete! Now you can create your first video using the familiar AUTOMATIC1111 txt2img interface.
- Go to the txt2img tab.
- Write a prompt and a negative prompt, just as you would for a static image.
- Choose your Stable Diffusion checkpoint model at the top left. Remember, AnimateDiff works best with SD1.5-based models.
- Scroll down and find the AnimateDiff section (it will be a dropdown menu). Expand it.
- Check the box for “Enable AnimateDiff”.
- From the Motion module dropdown, select the model you downloaded (e.g., mm_sd_v15_v2.ckpt).
- Set the core animation parameters:
- Number of frames: Start with 16 for a short clip.
- FPS (Frames per second): 8 is a good starting point for a smooth but quick generation.
- Closed loop: For now, leave this on 'A' (Ping-Pong) or off. This setting helps create seamless loops, but is more advanced.
- Leave your other txt2img settings (Sampling method, steps, CFG scale) as you normally would.
- Click Generate!
The generation process will take longer than a single image, as it's creating 16 frames. When it's finished, the output gallery will show a GIF of your animation. You have successfully used the AnimateDiff for AUTOMATIC1111 extension!
Troubleshooting and Next Steps
If you encounter errors, the most common issues are an incomplete restart of the UI or placing the motion module in the wrong directory. Double-check the paths and make sure you've fully restarted the application.
Now that you have the basic install complete, you can start exploring more advanced features:
- Experiment with different motion modules to see how they change the animation style.
- Try using Motion LoRAs for specific camera movements like pans and zooms.
- Integrate ControlNet to guide your animations for even greater consistency.
The AnimateDiff extension for AUTOMATIC1111 is a gateway to a whole new world of creative expression. Have fun bringing your ideas to life!