π Stable Diffusion WebUI - Easy Setup Guide (Windows)
This guide helps you set up Stable Diffusion WebUI by AUTOMATIC1111 along with GFPGAN face restoration on a Windows machine using Git Bash.
β Step-by-Step Installation Instructions
πΉ Step 1: Create Required Accounts
Before proceeding, create and log into your accounts on:
Youβll need a Hugging Face account to access model files like stable-diffusion-v1-4
.
πΉ Step 2: Install Git Bash
Download and install Git for Windows:
π https://gitforwindows.org/
πΉ Step 3: Create a Working Folder
Create a new folder in your C drive and name it:
C:\Ai
Copy the full path (right-click the folder > "Copy as path").
πΉ Step 4: Open Git Bash and Navigate
Launch Git Bash, and run this command to move into the Ai
folder:
cd /c/Ai
(If your path has spaces or is different, enclose it in double quotes.)
πΉ Step 5: Clone Stable Diffusion WebUI Repo
Download AUTOMATIC1111βs WebUI from GitHub:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
πΉ Step 6: Download GFPGAN (Face Restoration Model)
Clone the GFPGAN repository:
git clone https://github.com/TencentARC/GFPGAN
πΉ Step 7: Install Python 3.10.6
Download and install the exact version:
π Python 3.10.6 Download
π Ensure you check βAdd Python to PATHβ during installation.
πΉ Step 8: Download Stable Diffusion v1-4 Checkpoint
Visit the model page on Hugging Face: π https://huggingface.co/CompVis/stable-diffusion-v1-4
Click βAccess repositoryβ and accept terms.
Download the v1-4-pruned-emaonly.ckpt file.
πΉ Step 9: Organize Files
Move the GFPGAN folder into the stable-diffusion-webui directory:
C:\Ai\stable-diffusion-webui\GFPGAN
Move the v1-4-pruned-emaonly.ckpt file into:
C:\Ai\stable-diffusion-webui\models\Stable-diffusion
πΉ Step 10: Launch the WebUI
Go to your stable-diffusion-webui folder:
cd stable-diffusion-webui
Run the WebUI:
./webui.bat
Wait for it to complete setup and load. Once done, youβll see a local URL like:
Running on local URL: http://127.0.0.1:7860
Open that URL in any browser. You're ready to generate AI images!
π You're Done!
You now have Stable Diffusion WebUI running locally with support for:
GFPGAN (face enhancement)
v1-4 Stable Diffusion model
π οΈ Tips
To upgrade later, just run:
git pull
For additional models, place .ckpt or .safetensors files inside models/Stable-diffusion/.
π Resources
AUTOMATIC1111 WebUI
GFPGAN
Stable Diffusion v1-4
- Downloads last month
- -
Model tree for ankitkushwaha90/stable-defusion
Base model
black-forest-labs/FLUX.1-Kontext-dev