$0.01
per request
PNG, JPG, WEBP, SVG
SVG in, SVG out. Up to 10 MB, 16 MP
POST /v1/images/removeBackground
endpoint
Try it
Get an API token on your profile page (it needs a positive API units balance) and set it once per terminal session:Response
- The result is a single
image, not adataarray. A raster input returns a raster file in theimage_formatyou choose. An SVG input returns an SVG file. - Image URLs are temporary: files are kept for about 24 hours, so download them. See Limits and sizes.
creditsis the number of API units charged for the request.
Parameters
The input image must be PNG, JPG, WEBP, or SVG, under 10 MB, up to 16 MP, with sides between 256 and 4096 px. An SVG smaller than 256 px is scaled up before processing. An SVG over the size limits, or an unsafe SVG, is rejected. See Input images.
Examples
Upload a local file
Upload a local file
Remove the background from an SVG
Remove the background from an SVG
An SVG input returns an SVG, so the result stays editable and scalable.
image_format doesn’t affect it.Get the result as PNG
Get the result as PNG
Raster results are lossless WebP by default. Set
image_format to png for a PNG file.Related
Vectorize
Turn the cut-out into an editable SVG.
Pricing
Prices of every model and tool.