-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Can't create images with the API/API Docs Outdated #6918
Comments
try it in CMD |
For some reason it seems like the API has completely changed since earlier this week? "/sdapi/v1/txt2img" no longer exists at all in the included api docs in latest version. |
In this image you can see how the api docs looked a few days ago vs today: https://i.imgur.com/5H7InyR.png Looks like most of the main api calls are no longer in there, including /sdapi/v1/txt2img |
|
Oh, so I just revert to a version with the sdapi? |
I am using commit 82725f0 and api works as expected, I haven't checked if it has been updated since my last comment but commit 82725f0 's API works normally. |
I had the same issue it only appeared when using "--gradio-debug" when i switched to "--gradio-auth user:password" the /sdapi/ appears normally, i'm using latest commit 82725f0 |
adding --nowebui allows me to use api but does not allow me to use webui at the same time |
The issue I was having I believe was caused by a bad extension. You could try starting it up without any extensions to see if the API's come back. |
Is there an existing issue for this?
What happened?
I was experimenting with the api by following the api wiki at https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/API. I tried making a post request to the gradio server but kept responding with 404 (I had the api flag enabled). I also checked the docs on the site itself ([url]/docs) and couldn't find any documentation regarding the sdapi endpoint used for generating a new image via the api.
Steps to reproduce the problem
What should have happened?
It should generate an image and respond with that.
Commit where the problem happens
26a6a78
What platforms do you use to access UI ?
Other/Cloud
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
Additional information, context and logs
I used thunder client on visual studio code to send the request.
The text was updated successfully, but these errors were encountered: