How to Install Stable Diffusion for Windows 10/11
Using Stable Diffusion on your own PC Hardware
Automatic 1111 stable Diffusion webui is a great way to get started and run it on your own hardware. You should have a decent GPU, AMD or better yet a Nividia RTX 2080 or newer.
You can find the github repo here Stable Diffusion Github
Prepare Your Computer: Before you begin, your computer needs to have the right tools. Youâll need to install Python Python 3.10 ( if you donât have it already ) , which is like the language your computer needs to speak to run this program. You also need something called git, which is a way for your computer to talk to GitHub, where the program lives.
For Python, you need version 3.10.6. Even if there are newer versions, you need to stick with this one because the program weâre running needs it. Make sure to check the box that says âAdd Python to PATHâ during installation. This lets your computer know where to find Python when it needs it.
Get the Program: Now that your computer has the tools, we can go get the program. Weâre going to use git to download (or âcloneâ) the program from GitHub. If you donât have git you can get it here Install Git here Open the command prompt (you can search for âcmdâ in your start menu), then type in
1
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
and press Enter. This tells git to go to that website (github) and download the program. You can also create a new Folder anywere on your hard drive and in the file explorer address click in it and type cmd, it will open command prompt right to that path and then you can do the git clone.
- Install the Program: After youâve downloaded the program, youâll have a new folder called âstable-diffusion-webuiâ on your computer. In this folder, youâll find a file called webui-user.bat. This is like the instruction manual for your computer. Double-click on this file to run it. You donât need to run it as an administrator.
Open your browser and type in the url box 127.0.0.1:7860 and your ready to start using Stable Diffusion.
Run the Program: Now the program is all set up! Any time you want to run it, just go back to the âstable-diffusion-webuiâ folder and double-click webui-user.bat. You can also make a shortcut on your desktop to this file.
A few notes about running the webui-user.bat
You can add different options when starting stable diffusion, as you learn there can be additional options to add when starting SD like âxformers
Below is an example of what I use
1
2
3
4
5
6
7
8
@echo off
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS= --xformers
git pull
call webui.bat
There are a few youtubers that cover stable diffusion content really good, I would check them out for details
https://www.youtube.com/@OlivioSarikas
https://www.youtube.com/@Aitrepreneur
https://www.youtube.com/@sebastiankamph
https://www.youtube.com/@mreflow