Stable Diffusion AI
Image Generator

Set up your own private image generation server on Linux using AUTOMATIC1111 WebUI with hardware acceleration.

1. System Dependencies & Python Venv

Install Python, Git, and essential building blocks on Debian or Ubuntu:

sudo apt update && sudo apt install -y wget git python3 python3-venv python3-pip libgl1 libglib2.0-0

2. Cloning AUTOMATIC1111 Repository

Clone the web interface repository to your server:

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

Download a base model checkpoint (such as SD 1.5 or SDXL) into the models/Stable-diffusion folder.

3. Launching the Web Server

Start the web server with external API & web listening flags:

./webui.sh --listen --enable-insecure-extension-access
Access the web UI at http://your-server-ip:7860 in your browser to start generating AI images.

Related AI Guides