Stable Diffusion web UI https://github.com/AUTOMATIC1111/stable-diffusion-webui

天问 56311eb65d Update 'README.md' 2 years ago
.gitignore 0bb343c26d Initial commit 2 years ago
LICENSE 0bb343c26d Initial commit 2 years ago
README.md 56311eb65d Update 'README.md' 2 years ago

README.md

Stable Diffusion web UI

A browser interface based on Gradio library for Stable Diffusion.

Check the custom scripts wiki page for extra scripts developed by users.

https://github.com/sd-webui/stable-diffusion-webui

https://github.com/AUTOMATIC1111/stable-diffusion-webui

Installation and Running

  • linux
  • Nvidia GPU
  • python3
  • git

git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git.

下载模型文件(.ckpt): https://huggingface.co/CompVis/stable-diffusion-v-1-4-original 移动到 models/Stable-diffusion

Make sure the required dependencies are met and follow the instructions available for both NVidia (recommended) and AMD GPUs.

Alternatively, use Google Colab:

Automatic Installation on Windows

  1. Install Python 3.10.6, 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. Place model.ckpt in the models directory (see dependencies for where to get it).
  5. (Optional) Place GFPGANv1.4.pth in the base directory, alongside webui.py (see dependencies for where to get it).
  6. Run webui-user.bat from Windows Explorer as normal, non-administrator, user.

Automatic Installation on Linux

  1. Install the dependencies:

    # Debian-based:
    sudo apt install wget git python3 python3-venv
    # Red Hat-based:
    sudo dnf install wget git python3
    # Arch-based:
    sudo pacman -S wget git python3
    
  2. To install in /home/$(whoami)/stable-diffusion-webui/, run:

    bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh)
    

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.

Credits