POST
/
v1
/
image
/
tool
/
removebg
curl --request POST \
  --url https://openapi.monica.im/v1/image/tool/removebg \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "image": "https://monica-public-dev.s3.us-east-1.amazonaws.com/ugc-files/image-gen/generation-sdxl/80ddf974-9253-48fa-bc34-9f86845a1037/2pyPWQwVKYdCr3RGP3Cbrz41Km0.png"
}'
{
  "image": "https://monica-public-dev.s3.us-east-1.amazonaws.com/ugc-files/image-gen/removebg/13f7f5cf-48c6-4c36-b9a0-9d5ccb8496d2/2pySKsp6TBxm9ZC0o89LaElby6h.png"
}
Follow the quickstart guide to get your own API Key.

The Remove Background API automatically detects the subject in an image and converts the background into transparent pixels. This API is suitable for images with a clear distinction between the subject and the background.

See the pricing page for pricing.

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json
Success

The response is of type object.