Skip to main content

Background Remover

Remove image backgrounds automatically.

Base URL​

https://use.api.co.id

Send an image as multipart/form-data (the file field) or by image URL, with the x-api-co-id header. The response is a transparent PNG with the background removed.

File format & limits​

RequirementValue
Input formatsJPG, JPEG, PNG, WEBP
Maximum size10 MB
Output formatPNG (with transparency)

Models​

Choose a model with the model parameter (default: u2netp). Supported models: u2net, u2netp, silueta, isnet-general-use.

Advanced parameters​

ParameterPurposeDefault
aEnable alpha mattingfalse
afForeground threshold (0–255)240
abBackground threshold (0–255)10
aeErode size10
omReturn only the maskfalse
ppmPost-process maskfalse
bgcBackground color as R,G,B,A (e.g. 255,255,255,255)—
extrasExtra parameters as JSON—

Rate limits​

PlanQuota
Free20 requests per month
Premium1000 requests per month
Was this page helpful?