Who it is forA seller, designer, or photographer with a folder of product or portrait photos who needs clean cutouts without sending files to a cloud service.
The problemCutting out backgrounds by hand or uploading photos to a paid cloud tool is slow, costly, or a privacy concern.
The outcomeA folder of images with transparent or colored backgrounds, exported as PNG, WebP, or SVG, or as a ZIP.
What you need first
- A Windows, macOS (Apple Silicon), Linux, or Android device
- Internet access once, to download the AI model on first use (about 170 MB)
- For building from source: Node.js 20+, Rust 1.88+ via rustup, and the Tauri prerequisites for your OS
- For the API: Docker with docker compose, and openssl to generate an admin key
Steps
- Download the installer for your platform from the Releases page and install it.
- Open Unbagrnd, choose the batch option, and select your folder of images.
- In Settings, pick the output format (PNG, WebP, or SVG) and choose a model that fits your speed and accuracy needs.
- Optionally set one background color and a drop shadow for the whole batch, and set an output name template such as {name}.
- Run the batch, retry only the files that failed if any, and export the results as a ZIP.
Prompt for your agent
Using the unbagrnd app from github.com/zidniryi/unbagrnd, process every image in <folder path> in batch mode and export the results as a ZIP. Expected output: one ZIP file containing one cutout per source image. Verify that the number of images in the ZIP matches the number of source images.
Caveat. The first background removal downloads the model (about 170 MB), and the macOS build runs on Apple Silicon only.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for zidniryi/unbagrnd and "Remove backgrounds from a whole folder of photos offline"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer