Skip to main content
POST
Image Eraser
AI-powered image erasing service. Supports object removal from images via mask and text prompts. Offers high-quality image processing: out-of-the-box REST inference API, top performance, no cold start, affordable pricing.
This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the video generation results.

Request Headers

string
required
Supports: application/json
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

string
Mask image indicating the area to be erased. Areas to erase should be white; areas to keep should be black.
string
required
The original image to be processed.
string
Text prompt specifying the object or region to remove from the image, e.g., ‘dog’ or ‘hat’.
string
default:"jpeg"
Output image format.Optional values: jpeg, png, webp

Response

string
required
Use the task_id to request the Task Result API to retrieve the generated outputs.
Last modified on December 10, 2025