Skip to main content
POST
Object removal

Request

Make a POST request to below endpoint and pass the required parameters in the request body.
curl

Body

json

Body

application/json
key
string
required

Your API Key used for authenticating your request

init_image
string<uri>
required

Image from which object will be removed

object_name
string
required

Object name on the image that needs to be removed

base64
boolean
default:false

Specifies whether the response should be returned as a base64 string. Defaults to false

webhook
string<uri> | null

A URL to receive a POST API call once the image generation is complete

track_id
integer | null

An ID returned in the API response, used to identify the webhook request

Response

Object removal response

status
enum<string>
Available options:
success
generationTime
number

Time taken to generate the result in seconds

id
integer

Unique identifier for the generation request

output
string<uri>[]

Array of URLs to the generated images

Array of proxy URLs for the generated images

meta
object

Metadata about the generation process and parameters used