January 25, 2025|5 min reading
How to Install Stable Diffusion AUTOMATIC1111 on Windows, Mac, and Linux
Don't Miss This Free AI!
Unlock hidden features and discover how to revolutionize your experience with AI.
Only for those who want to stay ahead.
Stable Diffusion has revolutionized AI-powered image generation, converting simple text prompts into stunning visuals. Among the various interfaces available, the AUTOMATIC1111 Web UI stands out for its extensive features and ease of use. This guide will walk you through installing Stable Diffusion AUTOMATIC1111 on Windows, macOS, and Linux.
System Requirements for Stable Diffusion AUTOMATIC1111
Before starting the installation, ensure your system meets the following requirements:
Operating Systems:
- Windows: Version 10 or higher
- macOS: Version 11 or higher
- Linux: Ubuntu 20.04 or similar distributions
Hardware:
- CPU: Modern multi-core processor (e.g., Intel i5 or Ryzen 5)
- RAM: Minimum 16 GB (8 GB acceptable for basic usage)
- GPU: NVIDIA GPU with CUDA support is highly recommended for optimal performance
How to Download the Stable Diffusion Model
Follow these steps to download the Stable Diffusion model files:
Visit Hugging Face: Access the official Hugging Face repository and download the model file (e.g., v1-5-pruned-emaonly.ckpt).
Accept the License Agreement: Sign up for a Hugging Face account, review the terms, and accept the license agreement.
Organize Files:
- Place the checkpoint file in the models/Stable-diffusion directory.
- (Optional) Add the VAE file to the models/VAE directory for enhanced results.
Verify Integrity: Use the provided checksum to confirm the downloaded file’s integrity.
Installing AUTOMATIC1111 on Windows
Install Python 3.10.6:
- Download Python from the official site.
- During installation, ensure the “Add Python to PATH” option is selected.
Install Git:
- Download Git from the official Git website.
- Follow the installation prompts with default settings.
Clone the Repository:
- Open Command Prompt and run the following command:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
Download the Model:
- Place the downloaded model file into the models/Stable-diffusion directory.
Launch the Web UI:
- Navigate to the repository:
cd stable-diffusion-webui
- Execute the script:
webui-user.bat
- Open your browser and go to http://127.0.0.1:7860.
Installing AUTOMATIC1111 on macOS
Install Homebrew:
- Open Terminal and run:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install Dependencies:
- Use Homebrew to install required tools:
brew install cmake protobuf rust python@3.10 git wget
Clone the Repository:
- Run:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
Download the Model File:
- Place the model file into the models/Stable-diffusion directory.
Launch the Web UI:
- Navigate to the directory:
cd stable-diffusion-webui
- Execute the script:
./webui.sh --no-half
- Access the interface at http://127.0.0.1:7860.
Installing AUTOMATIC1111 on Linux (Ubuntu)
Install Dependencies:
- Update your package list:
sudo apt update
- Install required tools:
sudo apt install git python3.10 python3.10-venv
Clone the Repository:
- Run:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
Download the Model File:
- Place the file in the models/Stable-diffusion directory.
Launch the Web UI:
- Navigate to the directory:
cd stable-diffusion-webui
- Make the script executable:
chmod +x webui.sh
- Run the script:
./webui.sh
- Open your browser and go to http://127.0.0.1:7860.
FAQs
Do I need a GPU to run Stable Diffusion AUTOMATIC1111?
A GPU is highly recommended for faster performance, but it is possible to run it on a CPU with slower results.
Can I install Stable Diffusion AUTOMATIC1111 offline?
Yes, as long as you download all necessary files and dependencies beforehand.
How do I troubleshoot common issues?
- Web UI not starting: Verify your Python version and ensure all dependencies are installed correctly.
- Errors during model loading: Check the file integrity and ensure the correct directory structure.
Can I use Docker for installation?
Yes, Docker is supported and can simplify deployment for some users.
Which version of Stable Diffusion is best for me?
AUTOMATIC1111 is a versatile and user-friendly choice for most users. However, alternatives like ComfyUI and InvokeAI might suit specific needs.
With this guide, you are now equipped to install and use Stable Diffusion AUTOMATIC1111. Start creating breathtaking visuals and explore the limitless possibilities of AI-powered art generation!
Explore more
10 Best AI Clothes Removal Tools: A Comprehensive Guide
Discover the top 10 AI clothes removal tools to streamline your creative projects. Learn about features, benefits, and c...
How to Access Google Veo 2 AI Video Generator (and Why Minimax AI is the Better Alternative)
Skip the Google Veo 2 waitlist! Discover Minimax AI Video Generator—a powerful, accessible tool for creating high-qualit...
Recraft 20B: The Ultimate AI Design Tool for Creatives
Explore Recraft 20B, the powerful AI design tool for creatives. Learn how it excels in logo design, patterns, and more. ...