All Guides

Stable Diffusion Lokale Installation

Installieren Sie Stable Diffusion auf Ihrem Computer. Verwendung mit AUTOMATIC1111 WebUI.

Advanced45 Min.

Setup Steps

1. System requirements: NVIDIA GPU (8GB+ VRAM), Python 3.10+, Git

2. Install Python 3.10 (3.10.x recommended):

sudo apt install python3.10 python3.10-venv

3. Clone AUTOMATIC1111 WebUI with Git:

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

4. Download a model (Stable Diffusion XL or SD 1.5):

wget -P models/Stable-diffusion/ https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors

5. Launch the WebUI:

./webui.sh

6. Dependencies will be automatically downloaded on first run (10-20 min)

7. Open http://127.0.0.1:7860 in your browser

8. For remote access:

./webui.sh --listen --port 7860

9. For low VRAM optimization:

./webui.sh --medvram --xformers