How to Run Stable Diffusion On Windows

Want to try Stable Diffusion? Awesome! Let’s get it running on your Windows computer.
Using it this way lets you experiment and get the results you’re looking for.
This guide is intended for users running a Windows operating system.

Minimum System Requirements for Stable Diffusion

GPU: You’ll need a GeForce RTX GPU with at least 8GB of memory.

? Heads Up : To use Stable Diffusion, make sure you have the right GPU (graphics card).

Don’t Have the Required GPU? No Worries!

If your PC doesn’t meet these requirements, you can see the guide How to run Stable Diffusion on Google Colab.

Step 1: Install Python & Git

1. Download Python 3.10.6.

?Make sure to check the box that says “Add Python to PATH.”

2. Install Git

Step 2: Download Stable Diffusion Web-UI

  1. Open Command Prompt by pressing the Windows key and typing cmd.
  2. Type this line and hit Enter:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git

Step 3: Download a Stable Diffusion Model

  1. Navigate to the folder: stable-diffusion-webui\models\Stable-diffusion.
  2. Download the Stable Diffusion v1.5 model checkpoint file from here.
  3. Move the downloaded file into the folder.

Step 4: Run the Web UI

  1. Go back to the stable-diffusion-webui folder and double-click on webui-user.bat.

2. Wait a bit. A website address will show up: http://127.0.0.1:7860.

Step 5: Run Stable Diffusion

  1. Open your web browser and navigate to http://127.0.0.1:7860.
  2. Type something and click ‘Generate‘ to see if it works.

If your computer does not meet the Minimum System Requirements for Stable Diffusion, it will not generate images properly.

In that case, go to the guide on How to Run Stable Diffusion on Google Colab.