rembg logo

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
Last verified
Added

Alternatives to rembg

Compare all

Software 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.

    FreemiumProprietaryWeb

    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.

    FreemiumProprietaryWeb

    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.

    FreemiumProprietaryWeb

    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.

    FreeProprietaryiOSWeb

    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.

    FreeProprietaryWeb

    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.

Report a wrong fact or a dead link on this listing