Skip to content

fkleon/sd.cpp-webui

 
 

Repository files navigation

sd.cpp-webui

A simple Gradio-based interface for stable-diffusion.cpp.

This program acts primarily as a command generator for stable-diffusion.cpp, with some extra features.

Features

  • Minimal python dependencies (Gradio is the main one, no PyTorch required)
  • Supports most stable-diffusion.cpp features (the missing ones are work in progress)
  • Built-in image gallery
  • Metadata reader

stable-diffusion.cpp's supported models

  • SD1.x, SD2.x, SD-Turbo, SDXL, SDXL-Turbo, NitroFusion
  • SD3, SD3.5, Flux-dev, Flux-schnell, Chroma, Qwen Image
  • Flux Kontext, Qwen Image Edit
  • Wan2.1, Wan2.2
  • TAESD
  • PhotoMaker
  • ControlNet
  • Upscaling models
  • LoRAs and embeddings

Installation and Running

Dependencies

  • Python (3.13 on Windows)
  • Git (Recommended)

Setup

  • Detailed instructions for Linux/MacOS: sdcpp_webui.sh

  • Detailed instructions for Windows: sdcpp_webui_windows.ps1(WIP)

  • Quick Start for experienced users:

    1. Clone the repository:

      git clone https://github.com/daniandtheweb/sd.cpp-webui.git
    2. Obtain the stable-diffusion.cpp binary (sd for Linux/MacOS or sd.exe for Windows) by compiling or downloading it from the releases and place it in the main sd.cpp-webui folder.

    3. Run sdcpp_webui.sh if you're on Linux/MacOS or sdcpp_webui_windows.ps1(WIP) if you're on Windows.

    4. Access the WebUI with the browser at http://localhost:7860/.

sdcpp_webui_screenshot

Contributors

Thank you to all the contributors!

Contributors

Star History

Star History Chart

Credits

About

A simple webui for stable-diffusion.cpp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.3%
  • Other 1.7%