Skip to main content
POST
/api/v1/image/background-remove

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo

Remove the background from an image. Provide either a non-empty base64 image or an image URL.

image
string
obbligatorio

The non-empty base64-encoded image to remove the background from.

Minimum string length: 1
Pattern: \S
anon_user_id
string

Optional identifier for the API customer's end user. Combined with the Venice user id when attributing the request to upstream providers. Distinct from the discarded OpenAI user field. Must be printable ASCII and must not contain ||.

Required string length: 1 - 128
Pattern: ^[\x20-\x7E]+$
Esempio:

"end-user-123"

Risposta

OK - PNG image with transparent background

The response is of type file.