-
Notifications
You must be signed in to change notification settings - Fork 184
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
What is the API for sd webui? #20
Comments
Me too. As a workaround I installed rembg standalone. But why load and wait every time when it is already loaded on the sd server anyway? |
I found there is no API route for rembg. So if I used extra_single_image interface, the rembg params will be none. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to use the API on webui server with the payload as :
payload = {
"image": encode_pil_to_base64(image),
"model": "u2net",
"return_mask": False,
"alpha_matting": False,
"alpha_matting_foreground_threshold": 240,
"alpha_matting_background_threshold": 10,
"alpha_matting_erode_size": 10,
}
but it dos not work.
Is there any docs for remby API?
The text was updated successfully, but these errors were encountered: