This endpoint removes background from image and create mask.

POST request to below endpoint and pass the required parameters as a request body to the endpoint.
only_mask:trueYour API Key used for request authorization
Link or valid base64 data for the image
Whether to perform alpha matting
Whether to post-process the mask image
Whether to return only the mask image
This will inverse the generated mask
Seed for reproducible results
Get response as base64 string
0 <= x <= 2400 <= x <= 200 <= x <= 5URL to receive POST API call when complete
ID for webhook identification
Background removal response
success Time taken to generate the image in seconds
Unique identifier for the generation request
Array of generated image URLs
Array of proxy image URLs
Metadata about the generation process