POST
/
api
/
ai
/
images
/
modify
/
v3
/
remove-background
curl --request POST \
  --url https://api.worqhat.com/api/ai/images/modify/v3/remove-background \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form existing_image=person.jpg \
  --form output_type=url
{
  "image": "https://storage.googleapis.com/sample-removed-bg-image.png",
  "processing_time": 10238.123456,
  "processing_id": "b2a1d5f0-9c67-4a21-995b-5c543a98f7d3"
}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
existing_image
file
required

The image from which the background will be removed.

output_type
string
required

Specifies the format of the output image.

Response

200
application/json
Image processed successfully
image
string
required

The generated image URL.

processing_time
number
required

The time taken to process the request in milliseconds.

processing_id
string
required

A universally unique identifier (UUID) for the request.