Remove the background from an image
background_removeRemoves image backgrounds locally and saves a transparent PNG without uploading files or using API keys.
Instructions
Cuts out the subject and saves a transparent PNG, fully on this computer with rembg and BiRefNet models (no upload, no API). quality: fast (BiRefNet lite, default), best (BiRefNet general, slower, ~1 GB model on first use), portrait (people), anime. The first run downloads the model once. Needs rembg: uv tool install "rembg[cpu,cli]".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | No | fast | |
| overwrite | No | ||
| input_path | Yes | ||
| output_path | No | Default: <name>-cutout.png next to the input |