Back to Models

How TheRouter serves this differently from the vendor

As the vendor operates it

Alibaba Cloud Model Studio exposes Wan text-to-image through its own image-generation task API and model-specific DashScope / Bailian conventions.

On TheRouter

TheRouter presents the same served model behind the routed id wan/wan2.2-t2i-flash on its OpenAI-compatible image generation surface, with catalogue-level parameters limited to prompt, size, n, and seed.

wan2.2-t2i-flash is the fast tier of Alibaba's Wan 2.2 text-to-image model. It generates images from text prompts at $0.04 per image β€” the right default for high-volume creative work, thumbnails, social-post variants, and exploratory iteration.

Image generation runs asynchronously: submit a job to `/v1/jobs` and receive an `img_`-prefixed job ID, then poll until the job completes and fetch the resulting URL. This pattern follows OpenAI's async job convention β€” your existing SDK helpers should work with a model-ID swap.

$0.04 per image
Fast tier of Wan 2.2. Designed to absorb bulk and exploratory generation runs.
Async via /v1/jobs
Submit β†’ poll β†’ fetch URL. Job IDs are prefixed with `img_`. Same flow as other TheRouter async jobs.
Text-to-image
Pure text-prompt β†’ image generation. No image-conditioning input on this tier.
Dual-region routing
Selector picks bailian-cn or bailian-sg per request based on cost.
When to use
Bulk image generation, social-post variants, thumbnail generation, exploratory prompt iteration, and any workload where you trade some fidelity for throughput and cost.
When not to use
Hero imagery, marketing keyframes, or final-delivery creative β€” step up to wan2.2-t2i-plus for higher fidelity.
Pricing: $0.04 per generated image. Billed per successful image, not per prompt token. TheRouter routes to the cheaper of bailian-cn / bailian-sg per request.
Context Length
--
Max Output
--
Image Priceper request
$0.027/ image
Per image Priceper request
$0.027/ image

Modalities

text→image

Capabilities

Image Generation

Media Generation Capabilities

image_generation
sizes
  • 1024x1024
  • 1280x720
  • 720x1280
max_outputs_per_request
4
defaults
size
1024x1024

Pricing Breakdown

TypeRate
Image$0.027 / image
Per image$0.027 / image

Per-image flat fee. Alibaba's own published USD price: wan2.2-t2i-flash $0.025/image (alibabacloud.com/help/en/model-studio/model-pricing, International pane, read 2026-07-29).

Supported Parameters

promptsizenseed

Specifications

Model familyWan 2.2 / Tongyi Wanxiangwanxiang.aliyun.com β†—verified
Generation modeText-to-imagealibabacloud.com/help/en/model-studio β†—verified
Tier positioningFlash / fast tieralibabacloud.com/help/en/model-studio β†—verified
Supported request controlsprompt, size, n, seedverified
Training cutoff / architectureNot publicly disclosed for this served tierunknown

Benchmarks

BenchmarkDistributionScoreSource
Public quality benchmark
Alibaba's public Model Studio pages document the served text-to-image capability and pricing tier, but do not publish a comparable named quality benchmark for wan2.2-t2i-flash.
β€”Not publicly disclosedβ€”
Public latency benchmark
The flash label indicates fast-tier positioning, but no public p50/p95 latency result for TheRouter's live route is available in the cited operator sources.
β€”Not publicly disclosedβ€”
Public prompt-adherence benchmark
No named prompt-adherence score was found in the free, cited sources for this no-budget curation pass; keep the gap explicit instead of inventing a score.
β€”Not publicly disclosedβ€”

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

Recommended: use the async API

Image generation typically takes 30–180s, beyond the edge sync timeout. The examples below use the ?async=true submit + poll pattern. Read the full async image generation & edit guide β†’

cURL
# 1) Submit job (returns 202 immediately with a polling URL).
# Image generation takes 30-180s β€” always use the async path in production.
JOB=$(curl -s -X POST "https://api.therouter.ai/v1/images/generations?async=true"   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "wan/wan2.2-t2i-flash",
    "prompt": "A cinematic product render with soft studio lighting"
  }' | python3 -c "import sys,json;print(json.load(sys.stdin)['id'])")
echo "submitted: $JOB"

# 2) Poll until terminal (succeeded / failed / cancelled / expired).
while :; do
  R=$(curl -s "https://api.therouter.ai/v1/jobs/$JOB"     -H "Authorization: Bearer $THE_ROUTER_API_KEY")
  S=$(echo "$R" | python3 -c "import sys,json;print(json.load(sys.stdin)['status'])")
  echo "status: $S"
  case "$S" in
    succeeded) echo "$R" | python3 -c "import sys,json;print(json.load(sys.stdin)['unsigned_urls'][0])"; break ;;
    failed|cancelled|expired) echo "$R"; exit 1 ;;
  esac
  sleep 5
done

Request parameters

The catalogue exposes prompt, size, n, and seed. Use seed for reproducible exploration when the upstream honors it.

cURL
curl https://api.therouter.ai/v1/images/generations   -H "Authorization: Bearer $THEROUTER_API_KEY"   -H "Content-Type: application/json"   -d '{
    "model": "wan/wan2.2-t2i-flash",
    "prompt": "Three thumbnail concepts for a productivity app launch, clean vector style",
    "size": "1024x1024",
    "n": 3,
    "seed": 42
  }'

More from wan

Similar models

Cross-provider sibling models

News & changes

2026-07-29

Wan 2.2 T2I flash and plus tiers appear in TheRouter catalogue

TheRouter's generated model catalogue lists wan/wan2.2-t2i-flash as the lower-cost Wan 2.2 text-to-image tier, alongside wan/wan2.2-t2i-plus for higher-fidelity output. Operators should document the snippet-verification gap until a funded live API run is approved.

Frequently asked

When should I choose wan2.2-t2i-flash instead of wan2.2-t2i-plus?

Use flash for exploration, bulk variants, and lower-cost drafts. Use plus when the image is a final deliverable, a brand asset, or a paid campaign visual where fidelity matters more than unit cost.

re-authored by TheRouter
Does wan2.2-t2i-flash accept an input image?

No. TheRouter lists this route as text-to-image with text input and image output. For image-conditioned editing or image-to-image workflows, choose an image-editing model instead of this flash T2I route.

re-authored by TheRouter
Are the code snippets verified against the live API?

No. This no-budget curator run did not execute paid snippet verification. Treat the examples as shape guidance until a human operator approves a funded verification run.

re-authored by TheRouter
Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Model familywanxiang.aliyun.com β†—2026-08-05verified
Generation modealibabacloud.com/help/en/model-studio β†—2026-08-05verified
Tier positioningalibabacloud.com/help/en/model-studio β†—2026-08-05verified
Supported request controlsβ€”β€”verified
Training cutoff / architectureβ€”β€”unknown
Public quality benchmarkalibabacloud.com/help/en/model-studio β†—2026-08-05unknown
Public latency benchmarkalibabacloud.com/help/en/model-studio β†—2026-08-05unknown
Public prompt-adherence benchmarkwanxiang.aliyun.com β†—2026-08-05unknown
Wan 2.2 T2I flash and plus tiers appear in TheRouter cataloguealibabacloud.com/help/en/model-studio β†—2026-08-05verified
Help & contact