Remove background
remove_backgroundCut out the subject onto transparency, white, or any solid color. Returns the processed image at the same pixel size as the input. $0.01 per image; anonymous is free for 10/day per IP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Only used when background=color | #ffffff |
| format | No | JPEG is much smaller for opaque backgrounds; transparency requires PNG | png |
| image_url | No | Public http(s) URL of the image to process (JPEG/PNG/WebP, max 10 MB). Use a hostname, not an IP literal. | |
| background | No | Transparent, white, or a custom color | transparent |
| image_base64 | No | The image itself, base64-encoded (JPEG/PNG/WebP, max 10 MB). A data: URI prefix is accepted. Provide either this or image_url. |