Image Generation
Qwen Image Series
Alibaba Tongyi Qianwen image — generation / editing / multi-image reference unified, 2K high-fidelity output
POST
Qwen Image Series
Alibaba Tongyi Qianwen image series, with two tiers:
After submission, poll status with
- 2.0 Pro — Flagship highest-fidelity tier. Native 2K, strong detail, accurate composition, professional-grade text rendering. Suited for infographics, posters, and marketing assets
- 2.0 — Standard version. Combined generation and editing, supports very long prompts, 2K high-quality output. Suited for use cases needing clear text and professional design aesthetics
Pricing
| Model | Price (per image) |
|---|---|
qwen-image-2.0-pro | $0.053125 |
qwen-image-2.0 | $0.02125 |
Mode Quick Reference
| Mode | Trigger Field | Supported Versions |
|---|---|---|
| Text-to-image | prompt only | All |
| Image-to-image | + image_urls (single) + action: "image2image" | All |
| Multi-image reference fusion | + image_urls (multiple) + action: "reference" | All |
Examples
GET /v1/tasks/{task_id}. See Task System for details.
Available Models
| Model ID | Description |
|---|---|
qwen-image-2.0-pro | Flagship, native 2K, strong detail, accurate composition, professional-grade text rendering |
qwen-image-2.0 | Standard, combined generation + editing, very long prompts, 2K high-quality output |
Common Parameters
Choose one from the Available Models list
Operation type. Options:
generate— Text-to-image (default)image2image— Image-to-image (use withimage_urls)reference— Multi-image reference fusion (use with multipleimage_urls)
Image description. Supports Chinese and English. Qwen Image is friendly to very long prompts and Chinese text rendering
Number of images to generate (returned in a single call)
Random seed.
-1 for random; a fixed value reproduces similar resultsAspect ratio. Options:
1:1— Square4:3/3:4— Standard landscape / portrait16:9/9:16— Widescreen landscape / portrait3:2/2:3— Camera ratio landscape / portrait
Output resolution. Options:
1K— Standard resolution2K— High resolution (default)
Array of reference / input image URLs. Only publicly accessible URLs are supported; base64 is not accepted
image2imagemode: 1 imagereferencemode: multiple images
Webhook callback URL, invoked when the task reaches a terminal state. See Callback Mechanism
Subscribed callback event types. Defaults to terminal states (
succeeded / failed)Model-Specific Parameters
- Qwen Image 2.0 Pro
- Qwen Image 2.0
Supported actions:
generate / image2image / referenceresolution: 1K / 2Kaspect_ratio: 1:1 / 4:3 / 3:4 / 16:9 / 9:16 / 3:2 / 2:3Key features: Flagship highest-fidelity tier. Native 2K, strong detail, accurate composition, professional-grade text rendering. Suited for infographics, posters, and marketing assetsNo model-specific parameters; all tunable fields are listed under Common Parameters.Resource Limits
| Item | Limit |
|---|---|
prompt length | ≤ 800 characters |
negative_prompt length | ≤ 500 characters |
| Reference image source | Must be a publicly accessible URL; base64 upload not supported |
| Single reference image size | ≤ 30MB, supports JPG / PNG / WEBP |
| Output resolution | 1K / 2K |
| Output file | URL valid for 24 hours |
Related Docs
- Task System — Task state machine / polling cadence / async push
- Request & Response — Common error codes / Headers / rate limits
- Authentication — API Key application and usage
Qwen Image Series