Add API support for rembg script
Added API support for this script https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg (Not sure if there's already a way to use it?)
this used to work up until about two weeks ago. just had to run it with postprocessing_rembg_ in front of each rembg parameter. but on any new installs it's not working anymore
The API should be added to the extension, not to the main repo.
I assume this resolves that: https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/pull/22
While you're here @AUTOMATIC1111 you might want to merge one of the PRs to bump the rembg version to support more models: https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/pull/11 https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/pull/19 https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/pull/21 (latest)