stable-diffusion-webui-rembg icon indicating copy to clipboard operation
stable-diffusion-webui-rembg copied to clipboard

What is the API for sd webui?

Open zhuchenye opened this issue 1 year ago • 4 comments

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?

zhuchenye avatar May 23 '23 08:05 zhuchenye