Thanks to visit codestin.com
Credit goes to github.com

Skip to content
forked from sunxfancy/SSUI

A Python-Script Based Stable Diffusion UI

ImSwordTooth/SSUI

 
 

Repository files navigation

Stable Scripts UI

Stable Scripts UI is a web-based user interface for Stable Scripts - a kind of python scripts can easily reproduce the same results by other users.

Desktop Version VSCode Plugin

Why Stable Scripts?

Comparing to other stable diffusion UI, SSUI has 5 major pros:

  • Easy to use: Quickly create, run, and share stable scripts, which is self-contained and can automatically download the necessary python modules, AI models and other dependent data.
  • Reproducible: Scripts, its necessary modules, and the SSUI itself are versioned. Scripts can be run in the exactly same environment as the script author.
  • Management: Manage your models and configurations
  • Strong Typed: All resources (include models) are strong types and can be prevented from being misused.
  • Customizable: You can customize the scripts, types, models, panels, loaders, ui framework and more.

Types

  • DiffusionModel
    • SD1
    • SDXL
      • Pony
      • Illustrious
    • Flux
  • Clip
  • VAE
  • Latent
  • Image
  • Mask
  • ControlNet
  • Conditioning

Setup Development Environment

Dependencies

First, please check out the dependencies are installed on your device.

Nodejs & Python Environment

The following command will install yarn packages and a embedded python environment in '.venv' and necessary python packages for you.

yarn

Run Development Server

yarn dev:server
yarn dev:functional_ui
yarn dev:desktop

Then start a executor for running the task:

yarn dev:executor

Run the example

Example URL:

http://127.0.0.1:7420/?path=<example_path>/basic/workflow-sd1.py

Download the testing models

To test the image generation, you need the following models, including:

  • SD1.5
  • SDXL
  • Flux

You can download them from: https://huggingface.co/datasets/sunxfancy/TestSDModels/tree/main

About

A Python-Script Based Stable Diffusion UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.0%
  • TypeScript 7.7%
  • Rust 0.9%
  • JavaScript 0.3%
  • CSS 0.1%
  • HTML 0.0%