Open-source background removal for local files, scripts, servers, and containers
rembg is an open-source background removal project that runs locally or as part of an automated pipeline. It can process single images, folders, streams, or byte data from Python, and it can expose an HTTP server for application integrations.
The project supports multiple segmentation models and can be installed as a Python library, command-line tool, Docker container, or server. Because processing can stay on the user's own machine, it is useful for private images, offline batch jobs, and developers who want background removal without a per-image hosted API charge.
It's easier when you're signed in — Altern helps you get more out of AI.
By continuing you agree to our Terms and Privacy Policy.