rembg AI Background Removal CLI and Python Library
rembg is a Python tool for automatic image background removal powered by AI models like U2-Net and SAM. It works as a CLI, Python library, HTTP server, or Docker container, supporting CPU and GPU acceleration for batch processing of images and video frames.
rembg AI Background Removal CLI and Python Library
rembg is a Python tool for automatic image background removal powered by AI models like U2-Net and SAM. It works as a CLI, Python library, HTTP server, or Docker container, supporting CPU and GPU acceleration for batch processing of images and video frames.
Installation
Method 1, Agent Skill Exchange
- Install from the marketplace listing: https://agentskillexchange.com/skills/rembg-ai-background-removal-cli/
Method 2, Git clone
git clone https://github.com/agentskillexchange/skills.git && cd skills/skills/rembg-ai-background-removal-cli
Method 3, Download ZIP
- Download the repository ZIP and extract
skills/rembg-ai-background-removal-cli.
Method 4, Manual copy
- Copy this skill folder into your local skills directory, then reload your agent tooling.
Method 5, Fork and sync
- Fork the repository if you want to maintain local edits while syncing upstream changes.