Image

/api/v1/image/background-remove

Remove the background from an image using AI. The image can be provided either as a multipart form-data file upload, as a base64-encoded string in a JSON request, or as an image URL. Returns a PNG image with transparent background.

Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.

post/api/v1/image/background-remove

Request

  • Base URL: https://api.venice.ai
  • URL: https://api.venice.ai/api/v1/image/background-remove
  • Auth: one of:
    • HTTP bearer
    • API key in header SIGN-IN-WITH-X

Request body

OR

Example request

{
  "anon_user_id": "end-user-123"
}

Response

OK - PNG image with transparent background

Changes

No recorded changes to this operation across all 1 revision of this API.