Remove Background
POST/v2/studio/artworks/remove-background
Start a remove-background generation. Billed to your Studio credits. The result arrives by webhook or polling.
Request
- application/json
Body
required
imageUrl urirequired
URL of the image to remove the background from.
outputFormat string
Possible values: [auto, png, webp]
Default value: auto
Output image format. auto lets the provider pick. Supported: auto, png, webp.
webhook uri
Optional HTTPS callback URL. Receives a signed delivery when the artwork finalizes.
Responses
- 202
- 400
- 401
- 402
- 403
- 429
Accepted — generation queued.
- application/json
- Schema
- Example (from schema)
Schema
id string
Artwork id. Poll GET /studio/artworks/{id} or await the webhook.
{
"id": "string"
}
Invalid parameters.
Missing, invalid, or expired API key.
Insufficient credit.
Studio access inactive.
Rate limited.
Loading...