cURL
image-erase-completion removes one or more elements from an image, such as people, pets, objects, text, or watermarks, and fills in the erased area while preserving the background. Use mask_url to mark the area to erase and, optionally, foreground_url to protect an area from being changed.
Supported regions: China North 2 (Beijing) only. Use an API key created in that region and the https://cn-beijing.maas.qwencloudapi.com endpoint. See Regions and endpoints.
The model is available for free trial only. After the free quota is used, calls are no longer possible. As an alternative, use Image editing.
task_id, and you poll Query the result until the task finishes.Header Parameters
enum<string>
default"enable"
required
Must be set to enable to submit the task asynchronously.
enable