Skip to content

Image erase completion API reference

Select the right model for text-to-image and image editing.

Text-to-image

We recommend wan2.7-image-pro, which combines features like text rendering, brand color control, character-consistent multi-image generation, and image editing. It supports a maximum resolution of 4096x4096 for text-to-image and 2048x2048 for image editing. For detailed instructions, see Text-to-image.

When to use z-image-turbo

  • For image generation only (no editing functionality).

  • Speed or cost is a priority: 10x faster generation at about one-fifth the cost.

  • For photorealistic portraits and product photos.

When to use qwen-image-2.0-pro

  • To use a negative prompt to exclude specific elements from the output.

  • To generate up to 6 image variants per call (the Wan standard mode supports up to 4).

Image editing

We recommend wan2.7-image-pro. It supports multi-image reference (up to 9 input images), interactive editing with a bounding box, and character-consistent multi-image generation. For detailed instructions, see Image editing - Qwen and Image editing - Wan2.7/2.6/2.5.

When to use qwen-image-2.0-pro

To use a negative prompt during editing, use qwen-image-2.0-pro (the same model ID is used for both generation and editing).

ModelUse casesText-to-imageEditingMax outputsMax resolution
wan2.7-image-proText rendering, brand colors, character-consistent multi-image generation, multi-image editingSupportedSupported4 (12 consecutive)4096x4096 (text-to-image) / 2048x2048 (editing)
wan2.7-imageSame features as the pro version, with faster generation and a lower maximum resolution (2048x2048).SupportedSupported4 (12 consecutive)2048x2048
z-image-turboFast generation, low cost, photorealistic portraitsSupportedNot supported12048x2048
qwen-image-2.0-proNegative prompts, up to 6 image variantsSupportedSupported62048x2048
qwen-image-2.0A faster version of qwen-image-2.0-proSupportedSupported62048x2048

All models

Wan

Model IDText-to-imageEditingMax outputsMax resolution
wan2.7-image-proSupportedSupported4 (12 consecutive)4096x4096 (text-to-image) / 2048x2048 (editing)
wan2.7-imageSupportedSupported4 (12 consecutive)2048x2048
wan2.6-t2iSupportedSupported41440x1440
wan2.6-imageSupportedSupported41440x1440
wan2.5-t2i-previewSupportedNot supported41440x1440
wan2.5-i2i-previewNot supportedSupported41280x1280
wan2.2-t2i-plusSupportedNot supported41440x1440
wan2.2-t2i-flashSupportedNot supported41440x1440
wan2.1-t2i-plusSupportedNot supported41440x1440
wan2.1-t2i-turboSupportedNot supported41440x1440
Legacy
wanx2.1-imageedit ** Available only in the China (Beijing) regionNot supportedSupported11024x1024

Qwen Image

Model ID**Text-to-imageEditingMax outputsMax resolution
qwen-image-2.0-proSupportedSupported62048x2048
qwen-image-2.0-pro-2026-03-03SupportedSupported62048x2048
qwen-image-2.0SupportedSupported62048x2048
qwen-image-2.0-2026-03-03SupportedSupported62048x2048
qwen-image-maxSupportedNot supported11664x928
qwen-image-max-2025-12-30SupportedNot supported11664x928
qwen-image-plusSupportedNot supported11664x928
qwen-image-plus-2026-01-09SupportedNot supported11664x928
qwen-imageSupportedNot supported11664x928
qwen-image-edit-maxNot supportedSupported62048x2048
qwen-image-edit-max-2026-01-16Not supportedSupported62048x2048
qwen-image-edit-plusNot supportedSupported62048x2048
qwen-image-edit-plus-2025-12-15Not supportedSupported62048x2048
qwen-image-edit-plus-2025-10-30Not supportedSupported62048x2048
qwen-image-editNot supportedSupported11024x1024

Z-Image

Model IDText-to-imageEditingMax outputsMax resolution
z-image-turboSupportedNot supported12048x2048

Mirror of Alibaba Cloud Model Studio docs for reference and RAG. Not affiliated with Alibaba Cloud.