AUTOMATIC1111/stable-diffusion-webui

★ 164,940⑂ 30,553

Stable Diffusion web UI

164,940Star
30,553Fork
1,260Watch
2,508Issue
PythonLanguage
AGPL-3.0License
Created 2022-08-22 · last push 2026-03-02 · repository size 36552 KB · default branch master

README

Stable Diffusion web UI

A web interface for Stable Diffusion, implemented using Gradio library.

Features

Detailed feature showcase with images:

Installation and Running

Make sure the required dependencies are met and follow the instructions available for: Alternatively, use online services (like Google Colab):

Installation on Windows 10/11 with NVidia-GPUs using release package

1. Download sd.webui.zip from v1.0.0-pre and extract its contents. 2. Run update.bat. 3. Run run.bat.
For more details see Install-and-Run-on-NVidia-GPUs

Automatic Installation on Windows

1. Install Python 3.10.6 (Newer version of Python does not support torch), checking "Add Python to PATH". 2. Install git. 3. Download the stable-diffusion-webui repository, for example by running git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git. 4. Run webui-user.bat from Windows Explorer as normal, non-administrator, user.

Automatic Installation on Linux

1. Install the dependencies: ```bash

Debian-based:

sudo apt install wget git python3 python3-venv libgl1 libglib2.0-0

Red Hat-based:

sudo dnf install wget git python3 gperftools-libs libglvnd-glx

openSUSE-based:

sudo zypper install wget git python3 libtcmalloc4 libglvnd

Arch-based:

sudo pacman -S wget git python3 ``` If your system is very new, you need to install python3.11 or python3.10: ```bash

Ubuntu 24.04

sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install python3.11

Manjaro/Arch

sudo pacman -S yay yay -S python311 # do not confuse with python3.11 package

Only for 3.11

Then set up env variable in launch script

export python_cmd="python3.11"

or in webui-user.sh

python_cmd="python3.11" ``` 2. Navigate to the directory you would like the webui to be installed and execute the following command: ```bash wget -q https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh ``` Or just clone the repo wherever you want: ```bash git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui ``` 3. Run webui.sh. 4. Check webui-user.sh for options.

Installation on Apple Silicon

Find the instructions here.

Contributing

Here's how to add code to this repo: Contributing

Documentation

The documentation was moved from this README over to the project's wiki. For the purposes of getting Google and other search engines to crawl the wiki, here's a link to the (not for humans) crawlable wiki.

Credits

Licenses for borrowed code can be found in Settings -> Licenses screen, and also in html/licenses.html file.

More Image Trending projects

1

Comfy-Org / ComfyUI

Python★ 133,239⑂ 0
2

opencv / opencv

C++★ 90,840⑂ 0
3
4

d2l-ai / d2l-zh

Python★ 80,681⑂ 0
5

unslothai / unsloth

Python★ 76,181⑂ 0
6

microsoft / AI-For-Beginners

Jupyter Notebook★ 68,502⑂ 0