Skip to content

Stable Diffusion extension that removes background from each generated image

License

Notifications You must be signed in to change notification settings

ilian6806/rembgr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rembgr

This extension is for AUTOMATIC1111's Stable Diffusion web UI. Unlike other extensions for this, it is positioned directly in txt2img and img2img tabs.

Capabilities

  • Removes background after each image generation
  • Can put color instead of transparent background
  • Can put background image
  • Can put foreground image (frame for example)

API

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"
}

Install

Use Install from URL option with this repo url (full restart is required).

Requirements

All requirements will be installed on first use.

Examples


Contributing

Feel free to submit PRs to develop!

...and you can always buy me a 🍺!

Donate with PayPal

About

Stable Diffusion extension that removes background from each generated image

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages