Wan2.2 Image

Wan2.2 Image
Alibaba Cloud · Image Generation
POST /v1/images/generations

Alibaba’s Wan 2.2 text-to-image model with plus and flash tiers and up to 1440x1440 output at low per-image pricing.

At a glance

FieldValue
Model idwan2-2-image
Model release date2025-07-28
Input modalitiesText
Output modalitiesImage
Context window-
Weight precision-
RegionSingapore
Featuresimage_generation
Native inferenceNo
NewNo
Supported endpointsPOST /v1/images/generations
Alternate model idsalibaba/wan-2.2-image, wan2.2-image

Pricing

ChargeSpecRate
Plusper image$0.05
Flashper image$0.025

Example request

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

Parameters

ParameterTypeRequiredDefaultDescription
promptstringyes-Text prompt (up to 500 characters).
model_tierenumno"plus"plus: higher fidelity. flash: faster and cheaper. · Allowed: plus, flash
aspect_ratioenumno"1:1"Output aspect ratio. · Allowed: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3
num_imagesnumberno1Number of images to generate. Each is billed separately. · Range: 1 – 4
negative_promptstringno""What to avoid in the output.
prompt_extendbooleannotrueLet the service rewrite the prompt for better results.
watermarkbooleannofalseAdd a provenance watermark to the output.
seednumberno-Reproducibility seed. Leave empty for random. · Range: 0 – 2147483647
response_formatenumno"url"Return signed URLs or base64 image data. · Allowed: url, b64_json

Notes

Text-to-image only. Plus is the higher-fidelity tier; flash is faster and cheaper. Output sizes run up to 1440x1440 with prompts up to 500 characters.

Content safety

  • Generated images pass an automated content-safety check. An image flagged as explicit is not returned. Because the image is generated before the check runs, a flagged generation is still billed.

Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/wan2-2-image.