Skip to main content
POST
/
v1
/
image
/
tool
/
removebg
ImageRemoveBackground
curl --request POST \
  --url https://openapi.monica.im/v1/image/tool/removebg \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "image": "<string>"
}
'
{
  "image": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://platform.monica.im/docs/llms.txt

Use this file to discover all available pages before exploring further.

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
image
string
required

URL of the original image.

Example:

"https://monica-public-dev.s3.us-east-1.amazonaws.com/ugc-files/image-gen/generation-sdxl/80ddf974-9253-48fa-bc34-9f86845a1037/2pyPWQwVKYdCr3RGP3Cbrz41Km0.png"

Response

200 - application/json

Success

image
string

URL of the background removed image.

Example:

"https://monica-public-dev.s3.us-east-1.amazonaws.com/ugc-files/image-gen/removebg/13f7f5cf-48c6-4c36-b9a0-9d5ccb8496d2/2pySKsp6TBxm9ZC0o89LaElby6h.png"