mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-02-14 01:22:58 +08:00
needed to fix image layout
parent
48a5fcb747
commit
a6f2a4f600
2
API.md
2
API.md
@ -4,9 +4,11 @@
|
|||||||
- example in your "webui-user.bat": `set COMMANDLINE_ARGS=--api`
|
- example in your "webui-user.bat": `set COMMANDLINE_ARGS=--api`
|
||||||
- This enables the api which can be reviewed at http://127.0.0.1:7860/docs (or whever the URL is + /docs)
|
- This enables the api which can be reviewed at http://127.0.0.1:7860/docs (or whever the URL is + /docs)
|
||||||
The basic ones I'm interested in are these two. Let's just focus only on ` /sdapi/v1/txt2img`
|
The basic ones I'm interested in are these two. Let's just focus only on ` /sdapi/v1/txt2img`
|
||||||
|
|
||||||
![image](https://user-images.githubusercontent.com/2993060/198171114-ed1c5edd-76ce-4c34-ad73-04e388423162.png)
|
![image](https://user-images.githubusercontent.com/2993060/198171114-ed1c5edd-76ce-4c34-ad73-04e388423162.png)
|
||||||
|
|
||||||
- When you expand that tab, it gives an example of a payload to send to the API. I used this often as reference.
|
- When you expand that tab, it gives an example of a payload to send to the API. I used this often as reference.
|
||||||
|
|
||||||
![image](https://user-images.githubusercontent.com/2993060/198171454-5b826ded-5e73-4249-9c0c-a97b32c42569.png)
|
![image](https://user-images.githubusercontent.com/2993060/198171454-5b826ded-5e73-4249-9c0c-a97b32c42569.png)
|
||||||
|
|
||||||
------
|
------
|
||||||
|
Loading…
Reference in New Issue
Block a user