Skip to content
Model infoModelsSnapshot: 15 Oct 2026

Alibaba Cloud / Alibaba image utilities

Image Erase and Inpaint

Removes masked elements and fills the removed area while preserving the background. Supports a separate preservation mask and a finite free trial.

restrictedClosed weightsImage editing
Official documentation (opens in a new tab)Reviewed 14 Oct 2026
29 of 38 specification fields collected
Context windowNot collectedAwaiting source review
Maximum outputNot collectedAwaiting source review
Input billingSee billing notesAlibaba Model Studio · Beijing · trial only
Output billingSee billing notesAccess and billing notes below

Specifications

Provider-documented facts. “Not collected” means we have not verified that field yet, not that the feature is unsupported.

Context / input limit
Not collected
Maximum input tokens
Not collected
Maximum output
Not collected
Reasoning
Not collected
Streaming
Not collected
Knowledge cutoff
Not collected
Parameters
Not collected
Architecture
Not collected
Languages
Not collected
API aliases
image-erase-completionSource for API aliases (opens in a new tab)
Published availability regions
China (Beijing)Source for Published availability regions (opens in a new tab)
Request mode
Async HTTP task submission with X-DashScope-Async: enable; query GET /api/v1/tasks/{task_id}.Source for Request mode (opens in a new tab)
Published price
Trial only; paid usage unavailable.Source for Published price (opens in a new tab)
Usage metering
500 images in the published trial; no further calls after exhaustion. Not an unrestricted free service.Source for Usage metering (opens in a new tab)
Free usage allowance
500 images per model, valid for 90 days from the latest activation, model release or application approval. Account eligibility and remaining entitlement unverified.Source for Free usage allowance (opens in a new tab)
Image input limits
Input: 512–4,096 pixels per side inclusive; at most 10 MB.Source for Image input limits (opens in a new tab)
Input image formats
JPEG, PNG, JPG, BMP, WEBPSource for Input image formats (opens in a new tab)
Output link expiry
Completed task and results are deleted after 24 hours. Output image URLs expire after 24 hours. This does not establish input retention or training-use policy.Source for Output link expiry (opens in a new tab)
Required request fields
image_url and mask_url are required; foreground_url is optional in the API field table.Source for Required request fields (opens in a new tab)
Image URL requirements
Public HTTP(S) URL or Base64 for image, erase mask and preservation mask. The input-image URL must not contain Chinese characters.Source for Image URL requirements (opens in a new tab)
Mask behavior
Use a same-size canvas for each mask. Non-zero pixels in mask_url mark areas to erase; non-zero pixels in foreground_url mark areas to preserve. Zero is unselected. Preservation-mask overlap precedence is not specified.Source for Mask behavior (opens in a new tab)
Mask image requirements
Both masks: 512–4,096 pixels per side, at most 10 MB; JPG, JPEG, PNG, HEIF or WEBP. The source-image format list instead includes BMP and does not list HEIF.Source for Mask image requirements (opens in a new tab)
Generation controls
fast_mode=false by default. Provider describes fast mode as taking about one quarter of standard inference time, without a latency guarantee. dilate_flag=true by default; recommended for algorithmic masks and false for hand-painted masks. add_watermark=true adds a lower-left AI-generated mark.Source for Generation controls (opens in a new tab)
Prompt controls
Text-directed removal is not supported; select areas using masks.Source for Prompt controls (opens in a new tab)
Generated assets
output_image_url: inpainted image, usage.image_count: generated-image countSource for Generated assets (opens in a new tab)

Access & pricing

Prices belong to an endpoint and billing tier. A provider listing does not guarantee access for every account or region.

Alibaba Model Studio · Beijing · trial only

Provider source (opens in a new tab)
API model ID
image-erase-completion
Access
POST https://dashscope.aliyuncs.com/api/v1/services/aigc/image2image/image-synthesis. Async HTTP task submission with X-DashScope-Async: enable; query GET /api/v1/tasks/{task_id}.
Regions
China (Beijing)
Published request quota
120 requests per minuteSource for Published request quota (opens in a new tab)
Task submission rate
2 submissions per secondSource for Task submission rate (opens in a new tab)
Quota scope
Per-model limit shared by the Alibaba Cloud account and RAM usersSource for Quota scope (opens in a new tab)
Request mode
Async HTTP task submission with X-DashScope-Async: enable; query GET /api/v1/tasks/{task_id}.Source for Request mode (opens in a new tab)
Free usage allowance
500 images per model, valid for 90 days from the latest activation, model release or application approval. Account eligibility and remaining entitlement unverified.Source for Free usage allowance (opens in a new tab)

Endpoint pricing has not been collected. Check the provider for applicable rates.

Data & enterprise terms

Task/result expiry documented; input retention, training use and account entitlement unverified.

Caching

Caching can reuse earlier input processing. Availability, lifetime and billing depend on the endpoint. A cache hit still generates a new response.

01 / INITIAL INPUTProcess & retain

The system processes eligible input and retains reusable state.

02 / LATER REQUESTCheck available state

Reuse depends on matching input, session state and the cache policy.

03 / CACHE HITReuse & generate

Reusing state can reduce repeated work. Any charges follow the billing rules below.

What the measurements say

No benchmark observations have been added for this model. We do not turn a vendor description into a performance score.

Latency and throughput depend on the host, request size, reasoning settings and load. There is no measured speed or global usage figure in this record.

The record behind the model

Why it is included

Qualified classification inference: separately named native Alibaba hosted model documented by its own provider card and API, with no exact downloadable checkpoint identified in those sources. Public segmentation and inpainting research is not automatically equivalent to this deployment. Exact private/public checkpoint lineage remains under review.

Classification evidence (opens in a new tab)

Lifecycle dates

Model Studio release19 Aug 2024Source (opens in a new tab)

Sources reviewed