Request

Make a POST request to below endpoint and pass the required parameters as a request body to the endpoint.
curl
--request POST 'https://modelslab.com/api/v1/enterprise/image_editing/object_removal' \

Body

json
{    
  "key": "enterprise_api_key",    
  "init_image": "https://i.ibb.co/kMRK2mg/image2.jpg",    
  "mask_image": "https://i.ibb.co/tH0Z8HY/mask2.jpg",    
  "track_id":null,    
  "webhook":null
}

Body Attributes

key
string
required
Your API Key used for request authorization
init_image
string
required
Link to the actual image
mask_image
string
required
Link to the mask area you want to remove
webhook
string
Set an URL to get a POST API call once the image generation is complete.
track_id
string
This ID is returned in the response to the webhook API call. This will be used to identify the webhook request.