This guide will walk you through the installation process of the AUTOMATIC1111 version of Stable Diffusion, enabling you to create AI-generated images on your PC.
2. Overview
Overview
Welcome to your step-by-step guide on
installing Stable Diffusion on Windows!
If you're excited about exploring the
capabilities of AI in generating art or
simply curious about the latest in AI
technology, you've come to the right
place
This guide will walk you
through the installation
process of the
AUTOMATIC1111 version of
Stable Diffusion, enabling
you to create AI-generated
images on your PC.
3. Introduction
Stable Diffusion is a groundbreaking text-to-image AI
capable of transforming your text descriptions into
detailed images. This guide will focus on installing the
AUTOMATIC1111 Stable Diffusion variant on Windows,
making it straightforward for anyone to start creating
AI art from their desktop.
4. Windows 10
or higher 🖥️
Operating System
System Requirements
Nvidia GPU with
at least 4 GB VRAM
Graphics
Cloud Services
Alternatives
Google Colab
Alternatives
5. Setting up Python
Installing Git
Downloading AUTOMATIC111
Step by Step Installation
Acquiring the model file
Launching the Web UI
🌐
🔑
📁
6. Option 1
Setting up Python
Python 3.10.6 is our starting point (steer clear of 3.11 or newer).
Microsoft Store
(Recommended)
• First, remove any previous
Python installations via the
Control Panel.
• Install Python 3.10 from the
Microsoft Store.
7. Option 2
Setting up Python
Official Python Website: opt for the 64-bit installer and
ensure "Add Python to PATH" is checked.
Installation Verification
• Open Command Prompt,
type python, and confirm
that "Python 3.10" appears. If
not, consider a reboot or
reinstall..
8. Official Website
Installing Git
Git is crucial for downloading and updating AUTOMATIC1111
• Download and install Git
from its official website.
• Accepting the license and
following the setup
instructions.
9. Option
Downloading Automatic111
Choose a specific location on your computer where you wish
to download and install AUTOMATIC1111. Avoid using system
directories to minimize permissions issues.
• Open Command Prompt,
Navigate to your chosen
directory,
• Clone the repository with git
clone
• https://github.com/AUTOMA
TIC1111/stable-diffusion-
webui.git.
11. Option
Launching the Web UI
http://127.0.0.1:7860/
• Return to the main stable-
diffusion-webui directory
and locate webui-user.bat.
• Double-click this file to run
and complete the
installation.
• Once it's ready, visit
http://127.0.0.1:7860/ in your
browser to access the
AUTOMATIC1111 web UI.
13. Troubleshooting Tips
If you encounter issues, here are a few suggestions:
Confirm Python 3.10 installation and PATH configuration.
Check Git installation and repository cloning.
Ensure the model file is correctly placed in the designated folder.
14. Conclusion
Congratulations! 🎉 You've now installed Stable
Diffusion on your Windows PC. Explore the
possibilities by entering prompts into the web UI. To
close the application, simply shut down the
Command Prompt window.
15. 10%
20%
70%
Simplify with Installer Script
To enhance the user experience and streamline the installation process of Stable
Diffusion on Windows, we've crafted a specialized installer script. This tool is
designed to automate the setup, allowing you to dive into the creative possibilities
of Stable Diffusion without the technical hassle.
16. Access and
Instructions
01
Visit our GitHub repository to
find the installer script. This
repository serves as a hub for
the script, updates, and detailed
instructions
• Once downloaded, right-click
on the script file
(StableDiffusion.ps1) and select
'Run as administrator' to
initiate the automated
installation process.
• Follow any on-screen prompts to
complete the setup. The script will
guide you through the necessary
steps, from installing dependencies
like Python and Git to setting up the
Stable Diffusion environment itself.
02
03
17. 10%
20%
70%
FAQs
Troubleshooting FAQ: How to Install Stable Diffusion on Windows
What should I do if the Python installation fails?
Ensure you're attempting to install Python 3.10.6 and not a newer version, as
compatibility issues may arise with Stable Diffusion. If the installation fails, try
downloading the installer again from the official Python website, run it as an
administrator, and ensure you select the option to "Add Python 3.10 to PATH"
during the setup.
Why can't I clone the AUTOMATIC1111 repository using Git?
Check your internet connection first. If that's stable, ensure Git is properly installed by
running git --version in your command prompt. If Git is not recognized, reinstall Git
and ensure it's added to your system's PATH. If Git is installed but you still can't clone
the repository, verify the repository URL is correct and accessible.
18. 10%
20%
70%
FAQs
Troubleshooting FAQ: How to Install Stable Diffusion on Windows
The model file download link isn't working. What should I do?
Model file links may change or expire over time. If the provided link isn't working,
visit the official AUTOMATIC1111 GitHub page or community forums for an updated
link. Ensure you're downloading the correct version of the model file compatible
with the AUTOMATIC1111 web UI.
How can I solve "Permission Denied" errors when running scripts?
This issue often arises due to insufficient privileges. Run your command prompt as
an administrator by right-clicking on it and selecting "Run as administrator." If the
problem persists, check the permissions of the folder where you're trying to install
Stable Diffusion and adjust them accordingly.
19. 10%
20%
70%
FAQs
Troubleshooting FAQ: How to Install Stable Diffusion on Windows
The web UI doesn't start after running webui-user.bat. What's wrong?
First, ensure all installation steps were completed successfully, including Python,
Git, and model file setup. If the script seems to halt or crash, it could be due to
missing dependencies. Run the command prompt as an administrator and
navigate to the stable-diffusion-webui directory. Run webui-user.bat from there,
and look for any error messages in the command prompt window for clues.
How do I know if my GPU is compatible?
Stable Diffusion requires a discrete Nvidia GPU with at least 4 GB of VRAM. You can
check your GPU model by going to "Device Manager" -> "Display adapters" on your
Windows system. For compatibility, ensure your Nvidia drivers are up to date by
visiting the official Nvidia website.
20. 10%
20%
70%
FAQs
Troubleshooting FAQ: How to Install Stable Diffusion on Windows
Installation completed, but performance is slow. How can I improve it?
Ensure your GPU drivers are up to date and consider closing other resource-
intensive applications while running Stable Diffusion. Performance also greatly
depends on your hardware specifications. For better performance, using a
machine with higher specs is recommended.
What should I do if I encounter other errors not listed here?
For errors or issues not covered in this FAQ, consult the AUTOMATIC1111 GitHub
repository's "Issues" section to see if others have faced and resolved similar problems.
If not, consider opening a new issue with a detailed description of your problem.