Many companies have started integrating Stable Diffusion Model into their apps and services to generate images promptly. The functionality of Stable Diffusion is quite similar to OpenAI’s Dall-E, Adobe’s FireFly, Midjourney, and other similar tools.

If you have been wondering how to install Stable Diffusion on Windows PCs, then in this article, we will be sharing a guide on how to do so.

Install Stable Diffusion on Windows PCs

Before proceeding, we would like to mention that to get a good experience, your Windows machine should have a powerful graphics card like RTX-40 series or higher. However, if you don’t have a powerful desktop with the minimum requirement of 4GB VRAM, note that it won’t work with an integrated GPU. For those who can’t meet the minimum requirement for Stable Diffusion, they can use Google Service.

Download and Install Python

  • First things first, download Python 3.10.6.
  • Run the Python installer and check “Add Python to PATH” to allow access from Command Prompt.
  • After that, simply finish your installation and customize the options according to your preferences.
  • Once it finishes, it should show “Setup was successful.”
  • To check if Python is installed, open CMD and type “Python” and hit enter. It should return the Python version installed on your desktop.
  • If it doesn’t respond back with the Python version, restart and check again.

Install Git

After installing Python, you can proceed to download Git and install it on your Windows.

Clone Web-UI

  • Run CMD as administrator and check that you are in your home directory by executing “cd %userprofile%”.
  • Next, navigate to your user with this “C:\Users\Username” (replace “Username” with your desktop username).
    • You can also execute “cd %X%” to get into the right file directory.
  • After doing this, simply execute the Clone Web-UI command “git clone”
  • In your File Explorer in your user folder, you will have a folder named “stable-diffusion-webui.”
    • %userprofile%\stable-diffusion-webui
  • There you will see a file named “Put Stable Diffusion checkpoints here.txt.”
  • Now, download the Stable Diffusion v1.5 and put the folder into the same folder in %userprofile%\stable-diffusion-webui.

Download the Stable Diffusion Model

Now that we have finished setting up the developer environment for running the stable diffusion model on Windows PCs:

  • Open the “stable-diffusion-wbui” from your File Explorer and then run the “webui-user.bat.”
  • It takes a few seconds to install the required tools to run Stable Diffusion, and it will open in Command Prompt.
  • Once it is finished, you can run it on your browser. In the Command Prompt window, it will show a URL as

How to Use and Run Stale Diffusion on Windows

To use Stale Diffusion on your desktop, all you have to do is open a web browser and go to by typing it into the address bar. Once it runs in the WebUI window, you can start generating images with the prompt.

You can adjust several parameters, including the size of the image and how many images you want to generate with a single prompt. For this, you have -formers, and if you have less than 8GB of VRAM, then execute the -medium to save memory to generate more images at a time. To make these changes, simply replace the set COMMANDLINE_ARGS= with set COMMANDLINE_ARGS=–formers –medium in the webui-user.bat.

To update your project every time you run the Stable Diffusion, simply edit the webui-user.bat and add the git pull before the last line. If you want to change the Stable Diffusion Mode, we have Stale Diffusion v1 and Stable Diffusion v2 as these models are fine-tuned and trained on a massive database.