Updated ControlNet Web API (markdown)

Chenlei Hu
2024-02-10 13:43:58 -05:00
parent 4bca29eb31
commit c7cc28994b

@@ -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