This extension is for AUTOMATIC1111's Stable Diffusion web UI. Unlike other extensions for this, it is positioned directly in txt2img and img2img tabs.
- Removes background after each image generation
- Can put color instead of transparent background
- Can put background image
- Can put foreground image (frame for example)
Can be used with API call to /sdapi/v1/rembgr/process with POST method:
{
"image": "base64 encoded image"
}
And the response will be:
{
"image": "base64 encoded image"
}
Use Install from URL option with this repo url (full restart is required).
All requirements will be installed on first use.
Feel free to submit PRs to develop!