mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-04-12 15:59:00 +08:00
Updated API (markdown)
parent
5a546980e7
commit
7b5b2df1f2
10
API.md
10
API.md
@ -1,7 +1,13 @@
|
|||||||
> ℹ️ **Note:**
|
## Example script
|
||||||
> As of 2023-09-09, this guide is currently not maintained, and information is likely out of date. Note that the internal docs can always be accessed via the `/docs` endpoint (i.e. http://127.0.0.1:7860/docs)
|
[txt2img and img2img example python script](https://gist.github.com/w-e-w/0f37c04c18e14e4ee1482df5c4eb9f53)
|
||||||
|
## Useful utility
|
||||||
|
[API payload display](https://github.com/huchenlei/sd-webui-api-payload-display) a extension that
|
||||||
|
converts webui image generation call to json for API
|
||||||
|
###
|
||||||
|
|
||||||
## API guide by [@Kilvoctu](https://github.com/Kilvoctu)
|
## API guide by [@Kilvoctu](https://github.com/Kilvoctu)
|
||||||
|
> ℹ️ **Note:**
|
||||||
|
> As of 2023-09-09, this guide is currently not maintained, and information is likely out of date. Note that the internal docs can always be accessed via the `/docs` endpoint (i.e. http://127.0.0.1:7860/docs)
|
||||||
|
|
||||||
- First, of course, is to run web ui with `--api` commandline argument
|
- First, of course, is to run web ui with `--api` commandline argument
|
||||||
- example in your "webui-user.bat": `set COMMANDLINE_ARGS=--api`
|
- example in your "webui-user.bat": `set COMMANDLINE_ARGS=--api`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user