
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 24hoursRequest
Make aPOST request to below endpoint and pass the required parameters as a request body to the endpoint.
curl
Body
json
Body Attributes
Your API Key used for request authorization
URL of the image you want to remove and create its mask
Whether to perform alpha matting. Accepts
true or falseTo post process the mask image. Accepts
true or falseWhether to return only mask image or not. Accepts
true or falseSeed is used to reproduce results. Same seed will give same image. Pass
null for a random numberThreshold for alpha matting foreground
Threshold for alpha matting background
Erode size for alpha matting
Set a URL to get a POST API call once the image generation is complete
This ID is returned in the response to the webhook API call. This will be used to identify the webhook request

