Remove background
Remove backgrounds in one click, offline
Get a clean transparent PNG of the subject in seconds. It runs on your computer, so nothing is uploaded and there is no watermark.
$0.003
per run in the cloud
$0
on your own machine
One click, BiRefNet-lite.
Transparent or colored
Keep the transparency, export the mask, or fill the background with any color.
Three models
BiRefNet-lite for fine detail like hair, ISNet and U2-Net-p when speed matters.
No GPU needed
It runs on the CPU too, and faster on a GPU.
Reference
Inputs and parameters
The same on every surface: the desktop app, Claude through MCP and the API. Unknown parameters are refused, so a typo never runs with a default.
Inputs
| Name | Type | Limits | Notes |
|---|---|---|---|
| image required | image | 30 MB, 16 MP | Source image |
Parameters
| Name | Type | Default | Accepted | Notes |
|---|---|---|---|---|
| model | enum | birefnet-lite | birefnet-lite, isnet, u2netp | birefnet-lite: best edges. isnet: general use. u2netp: tiny and fast (CPU). |
| output | enum | png-alpha | png-alpha, mask, color | |
| background | string | #ffffff | ^#[0-9a-fA-F]{6}$ | Background for output=color. |
| threshold | float | · | 0 to 1 | Hard cut at this level (default: soft alpha). |
Outputs
- imageimage, png
API
Run Remove background from the API
curl https://imference.com/tools/remove-background \ -H "Authorization: Bearer $IMFERENCE_API_KEY" \ -F image=@image.png
Files go in multipart fields named after the inputs; JSON works too, with {"inputs": {...}, "params": {...}} and https URLs or base64 data: URIs. The answer is a request_id: poll GET /status?request_id=... until it returns the outputs. Pay per call from a wallet instead at POST /ondemand/tools/remove-background. A run that fails is refunded to your credits. Details in the reference.
Specs
The details
- Price
- $0.003 · 3 credits
- Runs
- Local and cloud
- Download
- 407.2 MB, once
- License
- MIT
- Tool id
- remove-background 1.0.0
- MCP tool
- remove_background
More tools
Often used with it
Convert / compress
Convert to PNG, JPEG or WebP and set the compression quality.
$0.001
Crop
Crop an image to a rectangle or to an aspect ratio (centered).
$0.001
Describe image
Write a detailed caption of an image, ready to reuse as a prompt (Florence-2).
$0.002
Magic eraser
Remove what the mask covers and fill it with matching background (LaMa).
$0.004
FAQ
Good to know
Is there a watermark?
No. The result is a plain PNG with transparency, at the size of your image.
Does it work offline?
Yes. The model downloads once, then everything runs on your computer.
Can I get a white background instead?
Yes. Pick the color output and any background color, or export just the mask.