New Tool Radar

Local AI

Install Automatic1111 WebUI and Generate a First Local Image

Clone the Automatic1111 Stable Diffusion WebUI, add a checkpoint model, launch it, and generate a first image in the browser.

Schematic with three steps: Clone the WebUI; Add a checkpoint model; Launch and generate.

Automatic1111, or A1111, is the most widely used browser interface for Stable Diffusion. It runs locally on your machine; the browser is only the window you use to control it. A checkpoint model, Python, and Git are all it needs to start.

What you need

  • Python 3.10.6 and Git installed
  • An NVIDIA GPU with at least 4 to 6 GB of VRAM, 8 GB or more ideal
  • At least 20 GB of free disk space for the app and models

Step 1: Clone the WebUI

Open a terminal in the folder you want and run git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git. Using Git instead of a ZIP download makes future updates as easy as git pull inside that folder.

Step 2: Add a checkpoint model

Download a base model such as v1-5-pruned-emaonly.ckpt from the runwayml stable-diffusion-v1-5 page on Hugging Face, and place it inside the models/Stable-diffusion folder. Prefer the .safetensors format, because it cannot execute hidden code the way older formats can.

Step 3: Launch and generate

On Windows double-click webui-user.bat; on Linux or macOS run ./webui.sh. The first launch builds a Python environment and downloads libraries, then shows a local address, usually http://127.0.0.1:7860. Open it, pick the checkpoint, type a prompt, set sampling steps to 20 to 30 and CFG scale to 5 to 8, and click Generate.

Worked example: first image with the v1.5 base model

The table below is a synthetic example. The install steps, the model name, and the settings ranges come from the cited WebUI guides; the prompt is illustrative.

Setting Value Note
Checkpoint v1-5-pruned-emaonly.ckpt In models/Stable-diffusion
Sampling steps 20 Good starting range 20-30
CFG scale 7 Good starting range 5-8
Address http://127.0.0.1:7860 Local browser UI

Expected result (UNTESTED). the WebUI opens at http://127.0.0.1:7860 and Generate produces an image from the prompt. This check was not run live; the steps and settings come from the cited WebUI guides.

Limits

  • A CPU-only run is extremely slow; a dedicated GPU is strongly recommended.
  • The first launch takes a while while it builds the environment.
  • Use –listen carefully; never expose the interface to the public internet without authentication.
  • Respect the licensing terms of models and generated images, especially for commercial use.

Sources

See all