rembg
A command-line tool and HTTP server that removes image backgrounds using AI models running locally.
These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.
About rembg
rembg removes the background from images using AI models that run on your own machine. You can use it as a command-line program, a Python library, an HTTP server or a Docker container.
The CLI has subcommands for single files, whole folders in batch, a server mode, raw RGB24 pixel streams, and downloading models ahead of time. It runs on the CPU by default. Optional backends add NVIDIA CUDA and AMD ROCm GPU acceleration.
Strengths
- Batch processing of whole folders from the command line
- Can run as an HTTP server or Docker container
- CPU, NVIDIA CUDA and AMD ROCm backends
- Models can be downloaded ahead of time for offline use
Limitations
- No graphical interface
- GPU setup can require CUDA and cuDNN to be installed separately
Details
- Pricing
- FreeFree and open source under the MIT licence.
- License
- MIT
- Developer
- Daniel Gatis
- Platforms
- Self-hosted, Command line
- How it runs
- Downloadable app, Self-hosted
- Account
- Not required
- Works offline
- Yes
- Best suited for
- Removing backgrounds from many images locally or from scripts
- Categories
- Local AI tools, AI photo editing
- Last verified
- Added
- Sources
Alternatives to rembg
Compare allSoftware that can replace rembg for an important use case, and what changes if you switch.
remove.bg
A web tool that removes image backgrounds automatically and can generate new backdrops.
remove.bg moves background removal to a web tool with bulk editing of up to 500 images and an API, but images are processed online and free use is limited.
Removal.ai
An AI background remover available on the web, as a desktop download and through an API.
Removal.ai offers a web interface with erase and restore tools, bulk processing and an API, but processes images online and is closed source.
Pixian.AI
A web tool that removes image backgrounds, with free low-resolution results and paid full-resolution credits.
Pixian.AI provides a web interface with detailed output options and pay-as-you-go credits, but free results are very low resolution and nothing runs locally.
PhotoScissors
A background remover that cuts out people and objects automatically, online or in a downloadable app.
PhotoScissors gives a free graphical cutout tool online, as a download and on iOS, though the online version limits images to 10 MB and 4.2 megapixels.
Slazzer
An online AI background remover with extra photo tools for upscaling, relighting, shadows and sky replacement.
Slazzer offers a graphical web, Android and iOS cutout editor with upscale, relight and shadow tools, but processes one image at a time on its servers.
Erase.bg
An online AI background remover for photos and short videos, with Android and iOS apps.
Erase.bg is an online remover with Android and iOS apps that handles large images and short videos, replacing local processing with a credit-limited hosted service.
Clipdrop
A set of web-based AI image tools for background removal, cleanup, upscaling, relighting and generation.
Clipdrop is a free web toolset with background removal, cleanup and upscaling plus an API, trading local open-source processing for an online closed service.
Similar software
Related functionality, not necessarily a direct replacement.
Real-ESRGAN
Open source AI model for upscaling and restoring images and video.
Upscayl
Enlarges low-resolution images with AI models running on your own GPU, in a plain drag-and-drop window.
Photoroom
An AI photo editor for product photography with background removal, batch editing and marketplace-ready listings.
PicWish
An AI photo editor for removing backgrounds, unblurring images and creating product photos online or in apps.