image.remove_background task and returns 201 with a taskId. Poll task endpoints or use webhooks to get the result.
Request body
Fields
Response body
201 — task created
When the task completes,
GET /tasks/:id (or the webhook payload) includes:
If background removal fails, the task status is
failed with errors: [{ code, message? }]. Common codes: INVALID_INPUT, PROVIDER_ERROR, PROVIDERS_BUSY, TIMEOUT, UNKNOWN_ERROR. See Task error codes.
Limits
Pricing
Each request is priced at $0.02. That amount is reserved from your account balance before processing begins. You are charged only when the task completes successfully — failed tasks release the reserve. If your balance is insufficient, the request returns422 INSUFFICIENT_BALANCE.
Error responses
See Errors and Limits for the full error reference.