API-only extension #13103
-
I'm planning to create an extension for personal use that will only be used via the API. I'll use my own UI, and so have no need for Gradio. Has anyone done this before? Or can anyone point me to another API-only extension? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm not aware of an API-only extension, but there are several that implement an API you can take a look at. https://github.com/picobyte/stable-diffusion-webui-wd14-tagger/blob/master/tagger/api.py
|
Beta Was this translation helpful? Give feedback.
I'm not aware of an API-only extension, but there are several that implement an API you can take a look at.
https://github.com/picobyte/stable-diffusion-webui-wd14-tagger/blob/master/tagger/api.py
https://github.com/Mikubill/sd-webui-controlnet/blob/main/scripts/api.py
https://git.mmaker.moe/mmaker/sd-webui-addnet-api
on_app_started
is the callback you ideally want to use for this.