Replies: 1 comment 1 reply
-
i am waiting too,i use this,and returned image is pure black. : 使用的API接口基础URLweb_ui_url = "http://xxxxxx:7862" # 替换为你的服务地址和端口 构造 payload:文本到图像需要的参数payload = { 向Stable Diffusion WebUI API发送Post请求以生成图片response = requests.post(f"{web_ui_url}/sdapi/v1/txt2img", json=payload) 检查响应状态,成功时处理if response.status_code == 200:
else: |
Beta Was this translation helpful? Give feedback.
-
Hi There,
I'm kind of a heavy API user of Forge since looong time. I did not update for quite some time due to the heavy changes that have been made, until now where I found the API is up and running again and everything is good again with the new (old) Forge. Well done, respect for all your hard work =)
Here comes my question: by when do we expect the API to allow to send in the Fulx relevant parameters during txt2img? By now I can run flux models via the API but they come out broken most the time maybe due to wrong VAE or using the wrong clip/t5 or something I just dont see its missing.
Is there any date available? Or is it already possible and I did not see it in the FastAPI documentation?
If you wonder why I like the API so much, have a look at my baby https://github.com/osi1880vr/prompt_quill
Thanks for your time
Beta Was this translation helpful? Give feedback.
All reactions