Qwen (Alibaba) API

Alibaba's Qwen Image — unified image generation and editing

image by Alibaba · 6 variants available
Get $10 free See pricing
Starting price
$0.0056
per image · Qwen z-image, text-to-image, 1.0s
Pay-as-you-go · No subscription · $10 free on signup · One API key for 6 variants + 288 total models

Overview

Qwen Image 2.0 by Alibaba is a unified image model supporting text-to-image, image editing, advanced text rendering, and multi-image workflows. Available in standard (2K) and Pro (4K) variants.

All 6 Qwen (Alibaba) variants & pricing

Every variant is accessible via the same API endpoint. Switch variants by changing the model parameter. No extra setup.

Variant Credits Price USD Unit
Qwen z-image, text-to-image, 1.0s 0.80 $0.0056 per image Details →
Qwen Image , text-to-image 4.00 $0.0280 per image Details →
Qwen Image, image-to-image 4.00 $0.0280 per image Details →
Qwen2 - Image edit, text-to-image 5.60 $0.0392 per image Details →
Qwen2 - Image edit, image-to-image 5.60 $0.0392 per image Details →
Qwen image-edit, image-to-image 6.00 $0.0420 per megapixel Details →

Use Qwen (Alibaba) via API

Example call with the default variant. Replace model with any slug from the table above.

curl https://aimarcusimage.eu/api/v1/jobs/createTask \
  -H "Authorization: Bearer sk-aig-..." \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen-qwen-z-image-text-to-image-1-0s",
  "input": {
    "prompt": "a red fox sitting in snow, golden hour, photographic"
  }
}'

FAQ

How much does Qwen (Alibaba) cost?

Pricing starts at $0.0056 per image for the most affordable variant. You pay per call from your credit balance — no monthly subscription, no minimum commitment. First $10 on signup are free.

Is this an official Alibaba API?

AI Generate is an AI model aggregator that routes calls to Alibaba's upstream API. You get the exact same model outputs with simpler billing (pay per call, no contracts), one API key for 288 models, and the same OpenAI-compatible request shape across all providers.

Can I use Qwen (Alibaba) in production?

Yes. The endpoint is rate-limited to 20 requests per 10 seconds per API key, retries are idempotent via taskId, and async results are delivered via polling or webhook. Set a spend cap in dashboard settings to protect against runaway usage.

Which Qwen (Alibaba) variant should I pick?

For first tests, start with the cheapest variant (lowest "Price USD" in the table above). Upgrade to higher-resolution or "Quality" tiers only when you have validated prompts. The Playground (free) lets you A/B test all variants before spending credits.

Nano Banana
Google's fast, high-quality image generation and editing model
Flux
Flux.1 and Flux Kontext — professional-grade open-source image models
Ideogram
Ideogram — best-in-class AI image model for text rendering and typography
GPT Image (OpenAI)
OpenAI's GPT Image 2 — photorealistic generation with sharp text rendering
Recraft
Recraft — AI image model for vector graphics, logos, and brand-consistent design