Image Eraser
Image
Image Eraser
POST
Image Eraser
This is an async API that only returns the async task_id. Use the task_id to call the Get Async Task Result API to retrieve the image erasing result.
Request Headers
Enum:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
Mask image indicating the area to erase. Areas to erase should be white; areas to keep should be black.
The original image to process.
Text prompt specifying the object or area to remove from the image. For example: ‘dog’ or ‘hat’.
Output image format.Possible values:
jpeg, png, webpResponse
Use the task_id to call the Get Async Task Result API to retrieve the generated output.