How to Install Stable Diffusion SDXL 1.0 & SD 1.5 Locally on Windows 11 (AUTOMATIC1111 Guide)
DATE: 2025-07-30 20:33:23
STATUS: PUBLISHED
AUTHOR: illphated

How to Install Stable Diffusion SDXL 1.0 & SD 1.5 Locally on Windows 11 (AUTOMATIC1111 Guide)
If you’ve ever wanted to create stunning AI‑generated art on your own PC — no internet connection required — this guide will walk you through installing both Stable Diffusion XL 1.0 (SDXL) and Stable Diffusion 1.5 on Windows 11 using AUTOMATIC1111.
You’ll be able to run realistic models, train on your own images, and switch between SDXL and SD 1.5 anytime.
1. Check Your GPU VRAM
- SDXL 1.0 works best with 8GB+ VRAM.
- SD 1.5 runs well on 6GB VRAM or less.
- Lower VRAM can still work using AUTOMATIC1111’s
--medvramor--lowvrammodes.
2. Install Required Software
Python 3.10.6
- Download: https://www.python.org/downloads/release/python-3106/
- Important: Check “Add Python to PATH” during installation.
Git for Windows
- Download: https://git-scm.com/download/win
- Install with default settings.
3. Install AUTOMATIC1111 Web UI
-
Choose a folder where you want to install it (example:
C:AI). -
Right‑click inside the folder → Git Bash Here.
-
Run:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git -
This creates a folder called
stable-diffusion-webui.
4. Download the Models
Stable Diffusion XL 1.0
-
Base model: SDXL Base 1.0
- File:
sd_xl_base_1.0.safetensors
- File:
-
Refiner model: SDXL Refiner 1.0
- File:
sd_xl_refiner_1.0.safetensors
- File:
Stable Diffusion 1.5
-
Download from: SD 1.5 on Hugging Face
- File:
v1-5-pruned-emaonly.safetensors
- File:
5. Place Models in the Correct Folder
Move all .safetensors files into:
stable-diffusion-webuimodelsStable-diffusion
6. Launch AUTOMATIC1111
-
Open the
stable-diffusion-webuifolder. -
Double‑click:
webui-user.bat -
First launch will install dependencies — this can take a few minutes.
-
Once loaded, open your browser and go to:
http://127.0.0.1:7860
7. Running SDXL vs SD 1.5
In AUTOMATIC1111, select your model in the top left dropdown:
- For SDXL: Choose
sd_xl_base_1.0.safetensors. - For SD 1.5: Choose
v1-5-pruned-emaonly.safetensors.
Recommended Settings:
- SDXL: 1024×1024 resolution, 25–30 steps, CFG 5–7.
- SD 1.5: 512×512 resolution, 20–25 steps, CFG 7–8.
8. (Optional) Use the SDXL Refiner
- Generate your image with the SDXL base model.
- Switch to SDXL Refiner.
- Go to img2img, upload your base image.
- Set denoise strength to 0.2–0.3 for subtle detail enhancement.
9. VRAM Optimization Tips
-
Launch with:
set COMMANDLINE_ARGS=--xformers --medvram -
Use Hires. fix instead of generating huge images in one go.
-
Keep resolutions reasonable for your GPU.
10. Bonus: Better Realistic Models
Once you have SDXL running, try:
- RealVisXL v4.0 (Hugging Face) – Amazing realism.
- JuggernautXL v8 (Hugging Face) – Great balance of realism & creativity.
- Realistic Vision v5.1 (Hugging Face) – Best SD 1.5‑based realism.
With this setup, you can now generate photorealistic portraits, train your own face models, or create any kind of AI‑powered art directly on your Windows 11 PC.
You can keep both SDXL and SD 1.5 installed and switch between them anytime inside AUTOMATIC1111.
Author: Illphated Website: illphated.com