Qwen (Alibaba) API
Alibaba's Qwen Image — unified image generation and editing
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.