A1111 extension that adds a new operation mode in the img2img
tab. It finds a background mask using rembg.
- Go to Extensions > Available
- Click the
Load from:
button - Enter "inpaint background" in the search bar
- Click the
Install
button of the "inpaint background" Tab cell - Restart the webui
- Go to
img2img
->Generation
->Inpaint background
- Upload your
Base image
. The extension will generate a mask as soon as you upload it - Generate images
Additional options are added in the inpaint parameters.
You can play with them to select the background detection model and configure alpha matting.