Qwen-Image-2.0

Qwen-Image-2.0

Provider: Alibaba Cloud
Category: Image Generation
Endpoint: POST /v1/images/generations
Context window:
Served from: Singapore

Unified image generation and editing model with class-leading complex Chinese/English text rendering, realistic textures, and multi-image fusion.

At a glance

FieldValue
Model idqwen-image-2-0
Input modalitiestext, image
Output modalitiesimage
Context window
RegionSingapore
Featurestext_rendering, image_editing, multi_image
NewNo
Native inferenceNo

Pricing

ChargeSpecRate
Standardper image0.0322(was0.0322 (was 0.035)
Proper image0.069(was0.069 (was 0.075)

Example request

$curl https://api.empiriolabs.ai/v1/images/generations \
> -H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
> -H 'Content-Type: application/json' \
> -d '{"model": "qwen-image-2-0", "prompt": "a misty forest at dawn", "size": "1024x1024"}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringyesText prompt. With input images attached, becomes an editing instruction.
modelenumno"qwen-image-2.0-pro-2026-04-22"Pro variants support higher quality + the dated snapshots pin a specific weights revision for reproducibility. · Allowed: qwen-image-2.0-pro-2026-04-22, qwen-image-2.0-pro-2026-03-03, qwen-image-2.0-pro, qwen-image-2.0
aspect_ratioenumnoOptional. If omitted, text-to-image defaults to 16:9; image-edit matches the last input image’s native ratio. · Allowed: 16:9, 9:16, 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5
use_custom_sizebooleannofalseOverride aspect_ratio with explicit pixel dimensions.
custom_widthnumbernoPixels (512–2048). Total pixel area must be in [512×512, 2048×2048]. Only when use_custom_size=true. · Range: 512 – 2048
custom_heightnumbernoPixels (512–2048). Total pixel area must be in [512×512, 2048×2048]. Only when use_custom_size=true. · Range: 512 – 2048
imagearraynoUp to 3 input image URLs. Triggers image-edit mode.
num_imagesnumberno1Number of images to generate. Each is billed separately. · Range: 1 – 6
negative_promptstringno""What to avoid in the output.
prompt_extendbooleannotrueLet DashScope rewrite the prompt for better results.
watermarkbooleannofalseAdd an EmpirioLabs watermark to the output.
seednumbernoReproducibility seed. Leave empty for random. · Range: 0 – 2147483647
response_formatenumno"url"Allowed: url, b64_json

Live machine-readable schema is also available at GET https://api.empiriolabs.ai/v1/models/qwen-image-2-0.