I want to find a way to automate the creation of my stable diffusion images with a python or javascript codebase.
The automatic1111, a stable diffusion web UI to create images with stable diffusion models combine with a lot of features and one of them are an web API to interacte with the system behind the web UI.
I create in 2 differents languages Typescript (this is possible to use it with Javascript) and an other with Python
- Interact with the controlnet plugin
- GET version
- GET models list
- GET modules list
- GET control types
- GET settings
- POST detect
- Interact with the stable diffusion api
- POST txt2img
- POST img2img
- POST extra-single-image
- POST extra-batch-images
- POST png-info
- GET progress
- POST interrogate
- POST skip
- GET options
- POST options
- GET cmd-flags
- GET samplers
- GET upscalers
- GET latent-upscale-modes
- GET sd-models
- GET sd-vae
- GET hypernetworks
- GET face-restorers
- GET realesrgan-models
- GET prompt-styles
- GET emdeddings
- POST refresh-checkpoints
- POST refresh-vae
- POST create embedding
- POST create hypernetwork
- POST preprocess
- POST train embedding
- POST train hypernetwork
- GET memory
- POST unload-checkpoint
- POST refresh-checkpoint
- GET scripts
- GET script-info
- GET loras
- POST refresh-loras