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
Mode Quick Reference
Examples
GET /v1/tasks/{task_id}. See Task System for details.
Available Models
Common Parameters
string
required
Choose one from the Available Models list
string
default:"generate"
Operation type. Options:
generate— Text-to-image (default)image2image— Image-to-image (use withimage_urls)reference— Multi-image reference fusion (use with multipleimage_urls)
string
required
Image description. Supports Chinese and English. Qwen Image is friendly to very long prompts and Chinese text rendering
integer
default:"1"
Number of images to generate (returned in a single call)
integer
default:"-1"
Random seed.
-1 for random; a fixed value reproduces similar resultsstring
default:"1:1"
Aspect ratio. Options:
1:1— Square4:3/3:4— Standard landscape / portrait16:9/9:16— Widescreen landscape / portrait3:2/2:3— Camera ratio landscape / portrait
string
default:"2K"
Output resolution. Options:
1K— Standard resolution2K— High resolution (default)
string[]
Array of reference / input image URLs. Only publicly accessible URLs are supported; base64 is not accepted
image2imagemode: 1 imagereferencemode: multiple images
string
Webhook callback URL, invoked when the task reaches a terminal state. See Callback Mechanism
string[]
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
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