AUTOMATIC1111

stable-diffusion-webui: Generate Images with Stable Diffusion

A Gradio-based web interface for generating and editing images with Stable Diffusion. It gives artists and other local users a browser-based workflow for prompts, image-to-image tools, model options, and extensions.

Stars
165k
Forks
32.3k
Stars, last 16 days
-93

Our take

Health score

43/100

How it is scored
Activity
20
Community
76
Issues
53
Pull requests
21

-93 stars in the last 16 days

  • More contributors than 77% of the projects we track

Overview

stable-diffusion-webui provides a browser-based interface for Stable Diffusion, implemented with Gradio. It brings text-to-image and image-to-image generation, model controls, and related image tools into one interface rather than requiring users to interact with model code directly.

It is intended for people who want to run image generation on their own supported hardware and customize their workflow through settings and community extensions. See the official repository and its wiki for setup and feature details.

Key Features

  • Generate images from text prompts and transform existing images with image-to-image.
  • Create inpainted or outpainted images, sketches, tiled images, and high-resolution results.
  • Adjust samplers, seeds, prompt attention, negative prompts, and other generation parameters.
  • Save generation parameters with images and load them back into the interface.
  • Use checkpoint, VAE, embedding, hypernetwork, and LoRA options, including checkpoint merging.
  • Upscale images and use face-restoration tools through the Extras tab.
  • Extend the interface with community scripts and access its API.

Use Cases

  • Digital artists can iterate on prompt wording, seeds, and sampling settings while comparing generated results.
  • Creators can edit or extend existing images using img2img, inpainting, and outpainting workflows.
  • Users maintaining local image-generation setups can manage checkpoints and related model components from a web UI.
  • Developers can integrate generation into other workflows using the API or community scripts.

Getting Started

The README describes prerequisites and platform-specific setup. For example, on Linux, install the required system packages, clone the repository, and run the launcher:

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

Check the README and installation wiki for dependencies, hardware-specific instructions, and configuration options.

Alternatives

  • StreamDiffusion: StreamDiffusion focuses on low-latency image generation for interactive apps, while stable-diffusion-webui provides a broader browser-based creation and editing workflow.
ProjectLanguageLicenseStarsStatus
stable-diffusion-webuiPythonAGPL-3.0165kNot checked yet
StreamDiffusionPythonApache-2.010.8kInactive

Considerations

  • Setup requires Python, Git, and the project’s dependencies; model files and compatible hardware are also needed for local generation.
  • Hardware support and instructions vary by platform. The README recommends Nvidia GPUs and links to separate guidance for AMD, Intel, Ascend, and Apple Silicon.
  • The README reports that lower-memory GPUs may work, but available memory affects which workflows are practical.
  • The project is licensed under AGPL-3.0. Review the license before redistributing or incorporating it into another product.
  • The repository has a large feature set and supports community extensions, so setup and behavior can depend on selected models, settings, and extensions.

Found this useful?

Share it with someone who would like stable-diffusion-webui.

Comparisons