How to install Stable Diffusion on PC

featured image for how to install stable diffusion on pc

Stable Diffusion is a generative AI model that can create realistic images from text descriptions. In this tutorial, I will give you a step-by-step guide on how to install Stable Diffusion on PC.

Stable diffusion is a text-to-image AI tool based on diffusion models, which are a type of neural network that can be used to generate images from noise. Stable Diffusion is particularly good at generating images that are both realistic and creative.

In this tutorial, we use AUTOMATIC1111 WebUI, a browser interface for Stable Diffusion, a text-to-image diffusion model. It is a free and open-source project developed by the user AUTOMATIC1111 on GitHub .

AUTOMATIC1111 WebUI offers a variety of features for creating images from text prompts, including:

  • A simple and intuitive interface
  • Support for multiple models, including SD 1.5, SD 2, and SD-XL
  • The ability to control the style, content, and resolution of images
  • The ability to save and share images

Installation Procedure for stable diffusion on pC

To install AUTOMATIC1111 WebUI for using Stable Diffusion on your PC, you will need to follow these steps:

Prerequisite: Make sure you have a Nvidea Graphics card with at least 6GB of VRAM and 25 Gb of Storage.

  1. Install Python 3.10.6. You can download Python from the official Python website . 

While installing, make sure to enable the add to path checkbox

python Screenshot for how ro install stable diffusion on PC
  1. Install Git. Git is a version control system that you will need to clone the Stable Diffusion repository. You can download Git from the official Git website. . Just use the default setting during the installation. 
GNPU Licence screenshot
  1. Create an empty folder on your PC, press shift + right click on the empty folder, and choose the open in terminal option
PC stable difussion Screen Shot
  1. Once you open the terminal, copy and paste the command below into the terminal and press enter to run it as shown below. 

 git clone

Git clone stable diffusion terminal
  1. Now, there will be a folder called “stable-diffusion-webui” inside the empty folder that you have created. Inside the “stable-diffusion-webui” folder, you will find a file called webui.bat. Now just double-click on that file and open it. It will open a new terminal, and the setup process will be started.
Screenshot of work folder
  1. The setup process will take 15 to 30 minutes, depending on your internet connection speed. Once the installation is complete, you will see a line labeled “Running on local URL:” on your terminal as shown in the screenshot below.
terminal screenshot for stable difussion
  1. Now, just navigate to the URL: on your browser on the PC. This will launch the Automatic1111 Stable Diffusion web UI in your browser. You can then use the web UI to create images.
Stable Diffusiion UI screenshot

Here are some additional tips for installing Automatic1111:

  • Make sure you have enough disk space to install Automatic1111. At least about 25GB of storage.
  • If you are using a GPU, make sure it has at least 6GB of VRAM. Automatic1111 can be very demanding on GPU resources.
  • If you are having trouble installing Automatic1111, there are a few helpful resources available online. The Automatic1111 GitHub repository has a troubleshooting section with common problems and solutions. There are also a number of YouTube tutorials that can walk you through the installation process.

Round Up

And there you have it, the quick guide to showing you how to install Stable Diffusion on PC It’s a relatively straight forward process. Once you get going, you will find that Stable diffusion is a powerful AI tool that lets you create a dynamic range of creative art just by entering a prompt.

I hope you enjoy using Automatic1111 to create your own generative art using the stable diffusion models.

Join Our Tech Community!

Subscribe & get an instant FREE gift! + receive news, updates, and special gifts straight to your inbox.

You Might Also Like

Where Should We Send The Gift?

Provide your name and email, and we’ll send the guide directly to your inbox!

How to Create the Perfect ChatGPT Prompt for Precise Answers!

Crafting an effective prompt is a learnable skill. Your choice of words in the prompt directly influences ChatGPT’s responses. This guide will show you the key elements for getting the right response.