Light Mode
Background Remover API
POST
/image/background/removerThis API endpoint allows you to remove the background from an image by uploading it. The response will contain the image with the background removed.
Request
Header Params
Authorization
string
required
A bearer token that authenticates the user for making the request.
Example:
Bearer {{API Token}}
Body Params multipart/form-data
image
file
required
The image file to be processed, encoded in Base64 format or as a standard file upload. The API will process this image and return the same image with its background removed.
Example:
cmMtdXBsb2FkLTE3Mjg1NjE5NzAzMTktNA==/model.jpg
Request samples
Responses
Success(200)
Bad Request(400)
Internal Server Error(500)
Service Unavailable(503)
HTTP Code: 200
Content Type : Binaryapplication/octet-stream
If the request is successful, the API will return the image file with removed background.
Example
The response for 200 code is bytes.
Last modified: a month ago