Closed harrywang closed 1 year ago
Did you build the docker image into your own repository?
Did you build the docker image into your own repository?
Use harrywang/a1111-webui-api:1.0.0
for your image name.
it did not work: see screencast - thanks for your help. https://github.com/runpod-workers/worker-a1111/assets/595772/3c198889-aa99-4e7c-a37c-ed0c77fe0734
Oh, I see, you can't actually save the template. Are you able to inspect the page and then provide any console log errors you are seeing?
here you go:
Do you have a non-serverless template with the same name a1111-webui-api
by any chance? Even if you do not, may you try again with a different template name?
changed and name and it saved.
Got it, thank you for helping us debug, I will get that reviewed.
any idea on what's the endpoint for a1111 api? any pointers to tutorials or docs on this? thanks.
As in, how to send requests? The endpoint URLs are the ones at the bottom RUNSYNC
, RUN
As in, how to send requests? The endpoint URLs are the ones at the bottom
RUNSYNC
,RUN
for example, how to use the deployed api to generate an image using such as https://github.com/mix1009/sdwebuiapi
also I cannot see the /docs
https://api.runpod.ai/v2/kq3971qno2npoz/run/docs has nothing - this should be the api docs for the webui.
Thanks.
As in, how to send requests? The endpoint URLs are the ones at the bottom
RUNSYNC
,RUN
for example, how to use the deployed api to generate an image using such as https://github.com/mix1009/sdwebuiapi
@justinmerrell can you help please?
As in, how to send requests? The endpoint URLs are the ones at the bottom
RUNSYNC
,RUN
for example, how to use the deployed api to generate an image using such as https://github.com/mix1009/sdwebuiapi
@justinmerrell can you help please?
Oh, I believe I see now. You Are trying to interface with the internal webui directly. If you wanted to do it that way you will need to deploy Automatic1111 as a standard pod. This is also why you are unable to access the docs URL.
However, if you used this repository as is to launch an endpoint instead of sending the requests like you did here , you would be sending them to the endpoint directly via a HTTP request. Example:
import requests
url = "https://api.runpod.ai/v2/kq3971qno2npoz/runsync"
payload = {"input": {"prompt": "cute cat"}}
headers = {
"accept": "application/json",
"content-type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
I want to run WebUI API mode using Runpod serverless GPU using the image in this repo and cannot save template - any pointers?
Do you have a tutorial to show how to run WebUI API mode using Runpod?
Thanks!
https://www.runpod.io/console/serverless/user/templates