
Stable Diffusion is a powerful open-source AI model that generates images from text prompts (like “a castle floating in space”) using a process called diffusion. It was developed by Stability AI and quickly became one of the most popular AI image generators due to its high quality, open licensing, and flexibility.
While cloud-based services (like Midjourney or DreamStudio) are convenient, running Stable Diffusion locally offers several benefits:
Here’s how to set up Stable Diffusion on Windows. You’ll need a machine with a GPU (ideally with at least 6–8 GB of VRAM).
The easiest way to run Stable Diffusion is using a community tool like AUTOMATIC1111’s Web UI, which adds a friendly browser interface and tons of features.
Open a terminal and follow these steps:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
cd stable-diffusion-webui
python -m venv venv
Activate venv on Windows:
venv\Scripts\activate
You can place model checkpoints into the following folder: models/Stable-diffusion/
Example: Download v1-5-pruned-emaonly.ckpt or v1-5.safetensors from Hugging Face and place it here: stable-diffusion-webui/models/Stable-diffusion/
python launch.py
The first run will install dependencies automatically. Afterward, open your browser and go to:
http://127.0.0.1:7860
negative prompt: disfigured, ugly, bad anatomy, bad hands, bad eyes, missing limbs, extra limbs, deformed, blurry, low resolution, low quality, cartoon, anime, 3d, render, illustration, painting, drawing, sketch, watermark, text, signature, CGI, fake, doll, plastic, unrealistic
DPM++ 2M Karras is often recommended for realism.Positive: Close-up portrait of a young woman, natural light, soft shadows, sharp focus on eyes, highly detailed skin texture, subtle freckles, gentle smile, bokeh background, RAW photo, DSLR photo, 8K, intricate details, photorealistic, by Peter Hurley
Negative: disfigured, ugly, bad anatomy, cartoon, anime, painting, blurry, low quality, mutated, extra limbs
Positive: Hyperrealistic landscape photo of a winding river through a lush green valley at golden hour, dramatic clouds, sun rays filtering through trees, clear water reflections, detailed foliage, rocks, wide angle, 8K, cinematic lighting, ultra quality
Negative: cartoon, painting, illustration, blurry, low resolution, abstract, distorted
Positive: Detailed photograph of a steaming cup of coffee on a wooden table, scattered coffee beans, soft studio lighting, shallow depth of field, sharp focus, water droplets on cup, hyperrealistic, food photography, 8K
Negative: blurry, messy, ugly, low quality, drawing, cartoon, painting, fake
The best way to get amazing results is to experiment with different models, prompt combinations, negative prompts, and settings. Keep track of what works and what doesn't. Many Stable Diffusion communities (like on Reddit, Discord, or Civitai) share prompts and settings, which can be a great starting point for your own creations.
Running Stable Diffusion on your local desktop gives you full control over your creative AI experience. With tools like AUTOMATIC1111, you don’t need to be a Python expert to explore AI image generation.
Whether you're an artist, game developer, or just exploring what’s possible, local Stable Diffusion gives you creative power without the limits of cloud-based tools.