Skip to main content
removebg-createmask endpoint result
Make sure you add your s3 details for image_editing server, so you can receive image generated in your bucket. Images generated without s3 details being added will be delete after 24hours

Request

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

Body

json

Body Attributes

string
required
Your API Key used for request authorization
string
required
URL of the image you want to remove and create its mask
boolean
default:"false"
Whether to perform alpha matting. Accepts true or false
boolean
default:"false"
To post process the mask image. Accepts true or false
boolean
default:"false"
Whether to return only mask image or not. Accepts true or false
integer
Seed is used to reproduce results. Same seed will give same image. Pass null for a random number
integer
default:"240"
Threshold for alpha matting foreground
integer
default:"20"
Threshold for alpha matting background
integer
default:"5"
Erode size for alpha matting
string
Set a URL to get a POST API call once the image generation is complete
string
This ID is returned in the response to the webhook API call. This will be used to identify the webhook request