mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-25 00:39:12 +00:00
Updated ControlNet Web API (markdown)
@@ -36,7 +36,7 @@ modules = requests.get("http://localhost:7860/controlnet/model_list").json()["mo
|
||||
## Generation (txt2img)
|
||||
You need to pass parameters to ControlNet script, when you use [A1111's txt2img/img2img generation API](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/API).
|
||||
|
||||
You may find https://github.com/huchenlei/sd-webui-api-payload-display helpful to reproduce the an UI result via API.
|
||||
You may find https://github.com/huchenlei/sd-webui-api-payload-display helpful to reproduce an UI result via API.
|
||||
|
||||
```python
|
||||
import base64
|
||||
|
||||
Reference in New Issue
Block a user