CLI and server for Stable Diffusion.
CLI and server for AUTOMATIC1111's Stable Diffusion WebUI.
This project is dead for now since I no longer have a need for a CLI tool. If a need for it arises I'll pick it back up.
The goal is to separate the compute server running the WebUI from the client and enable abstraction of the WebUI's features to enable powerful integration into other projects.
Yeah.
- CLI application.
- HTTP API via Django server running on the same machine as the WebUI.
- Python library (
StableDiffusionAPI
)
- Copy
config.sample.yml
toconfig.yml
- Run
./stable-diffusion.py
You can install the CLI application with ./stable-diffusion.py install
. Make sure to add the path the app gives you to your PATH.
Located in StableDiffusionAPI
. The main file is api.py
. It's really not that complicated.
import StableDiffusionAPI
api = StableDiffusionAPI.API(config)
r = api.create_hypernetwork('poo poo pee pee')
print(r)