Skip to main content
  1. Home
  2. Computing
  3. How tos

How to run Stable Diffusion to make awesome AI-generated art

Add as a preferred source on Google

Stable Diffusion is an exciting and increasingly popular AI generative art tool that takes simple text prompts and creates incredible images seemingly from nothing. While there are controversies over where it gets its inspiration from, it's proven to be a great tool for generating character model art for RPGs, wall art for those unable to afford artist commissions, and cool concept art to inspire writers and other creative endeavors.

If you're interested in exploring how to use Stable Diffusion on a PC, here's our guide on getting started.

If you're more of an Apple fan, we also have a guide on how to run Stable Diffusion on a Mac, instead.

Recommended Videos

Difficulty

Hard

Duration

20 minutes

What You Need

  • Desktop PC with a modern graphics card with at least 8GB of VRAM

  • An admin account that lets you install applications

How to run Stable Diffusion on your PC

You can use Stable Diffusion online easily enough by visiting any of the many online services, like StableDiffusionWeb. If you run stable diffusion yourself, though, you can skip the queues, and use it as many times as you like with the only delay being how fast your PC can generate the images.

Here's how to run Stable Diffusion on your PC.

Step 1: Download the latest version of Python from the official website. At the time of writing, this is Python 3.10.10. Look at the file links at the bottom of the page and select the Windows Installer (64-bit) version. When it's ready, install it like you would any other application.

Note: Your web browser may flag this file as potentially dangerous, but as long as you're downloading from the official website, you should be fine to ignore that.

Step 2: Download the latest version of Git for Windows from the official website. Install it as you would any other application, and keep all settings at their default selections. You will also likely need to add Python to the PATH variable. To do so, follow the instructions from Educative.io, here.

Step 3: Download the Stable Diffusion project file from its GitHub page by selecting the green Code button, then select Download ZIP under the Local heading. Extract it somewhere memorable, like the desktop, or in the root of the C:\ directory.

Downloading the Stable Diffusion codebase from GiTHub.
Image used with permission by copyright holder

Step 4: Download the checkpoint file “768-v-ema.ckpt” from AI company, Hugging Face, here. It's a large download so might take a while to complete. When it does, extract it into the "stable-diffusion-webui\models\Stable-diffusion\" folder. You'll know you found the right one because it has a text file in it called "Put Stable Diffusion checkpoints here."

Step 5: Download the config yaml file (you might need to right click the page and select Save as.) and copy and paste it in the same location as the other checkpoint file. Rename it to the same name (768-v-ema.ckpt) and remove its .txt file extension.

Installing Stable Diffusion checkpoints.
Image used with permission by copyright holder

Step 6: Navigate back to the stable-diffusion-webui folder, and run the webui-user.bat file. Wait until all the dependencies are installed. This can take some time, even on fast computers with high-speed internet, but the process is well documented and you'll see it progress through it in real time.

Step 7: Once it's finished, you should see a Command Prompt window like the one above, with a URL at the end similar to "http://127.0.0.1:7860". Copy and paste that URL into a web browser of your choice, and it should be greeted with the Stable Diffusion web interface.

Installing Stable Diffusion on a local PC.
Image used with permission by copyright holder

Step 8: Input your image text prompt and adjust any of the settings you like, then select the Generate button to create an image with Stable Diffusion. You can adjust the resolution of the image using the Width and Height settings, or increase the sampling steps for a higher-quality image. There are other settings that can change the end result of your AI artwork, too. Play around with it all to see what works for you.

If it all works out, you should have as much AI-generated art as you desire without needing to go online or queue with other users.

Runnign a local version of Stable Diffusion in your web browser.
Image used with permission by copyright holder

Now that you've had a chance to play around with Stable Diffusion, how about trying out the ChatGPT natural language chatbot AI? If you're interested, here's how to use ChatGPT yourself.

Jon Martindale
Jon Martindale covers how to guides, best-of lists, and explainers to help everyone understand the hottest new hardware and…
How to install macOS 27 Golden Gate public beta on your Mac?
From a smarter Siri to a more reliable Spotlight, here's your full walkthrough for installing macOS 27 Golden Gate's public beta today.
macOS 27 Golden Gate

Along with iOS 27’s public beta, Apple has also released macOS 27 Golden Gate’s public beta build, so that early adopters can get their hands on the new features, including Siri AI, and provide timely feedback to help ensure a stable iOS launch in September. 

If you’re sold on all the new features but don’t want to put your faithful MacBook through developer beta duty, a public beta offers a much more refined experience. To install macOS 27’s public beta, follow the steps given below. 

Read more
Microsoft is finally fixing the worst thing about Windows Search, but you can’t try it just yet
Windows Insiders in the Experimental channel are getting a Search experience that finally feels less of a billboard and more of what users actually need.
Page, Text, Person

Windows Search has been a mess for years, and I do not use that word lightly. Open it to find a file, and you get trending Bing topics, Microsoft Store promotions, and an AI tools tile that just opens a browser. 

That is changing, but not immediately for all users. Microsoft is rolling out a batch of Windows Search improvements to Insiders in the Experimental channel, and for once, this isn't just a fresh coat of paint.

Read more
Apple doesn’t want to share this AirPods feature with Meta, but the EU may force its hand
Spring 2027, EU only, built under DMA pressure.
The front of the Ray-Ban Meta smartglasses.

I’ve been an AirPods user for the last four years, and one of the things that makes it genuinely hard to leave behind is the seamless, almost magical pairing experience across devices. Open an AirPods case near your iPhone, and a pop-up appears within seconds. Switch to your Mac and the audio follows. 

However, the experience is limited only to Apple devices. Doesn’t matter whether you have one of the coolest pieces of tech on the market right now; if it’s not Apple, it won’t get the same treatment. However, that might change for the Meta Quest or the Ray-Ban Meta glasses, thanks to pressure from the EU. 

Read more