Qwen Image
POST /v1/images/generations
Crazyrouter exposes the first batch of Qwen Image generation models through the OpenAI Images-compatible public contract. Clients keep using /v1/images/generations; Alibaba official and third-party channels stay internal as providers only.
Public Models
| Model | Upstream execution shape | Customer-facing capability | Verification |
|---|
qwen-image-plus | async generation | text-to-image | verified |
qwen-image-max | sync generation | text-to-image | verified |
qwen-image-2.0 | sync generation | text-to-image | verified |
qwen-image-2.0-pro | sync generation | text-to-image | Beta |
qwen-image-2.0-pro is already aligned in protocol and code, but the production carrier evidence is still being closed, so it remains Beta for now.
Public Contract
Request Parameters
| Parameter | Type | Required | Description |
|---|
model | string | Yes | qwen-image-plus, qwen-image-max, qwen-image-2.0, or qwen-image-2.0-pro |
prompt | string | Yes | text-to-image prompt |
size | string | No | output size; use sizes currently exposed by the model page or playground |
n | integer | No | number of images, default 1 |
response_format | string | No | url or b64_json |
Request Example
curl -X POST https://crazyrouter.com/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "qwen-image-max",
"prompt": "A premium perfume poster with soft studio lighting and the title Morning Mist in Chinese",
"size": "1024x1024",
"n": 1,
"response_format": "url"
}'
Response Example
{
"created": 1709123456,
"data": [
{
"url": "https://crazyrouter.com/files/qwen_image_abc123.png"
}
]
}
Official Billing Truth
The current official truth for Qwen Image is billing per successfully generated image, not input/output token display pricing.
| Model | Official billing | Official price | Current doc state |
|---|
qwen-image-plus | per image | ¥0.20 / image | verified |
qwen-image-max | per image | ¥0.50 / image | verified |
qwen-image-2.0 | per image | ¥0.20 / image | verified |
qwen-image-2.0-pro | per image | ¥0.50 / image | Beta |
Scope Notes
- This first batch commits only the public
text-to-image capability. Additional upstream multimodal abilities are not exposed as separate customer protocols yet.
- Providers may run async or sync upstream paths internally, but the customer-facing contract remains the same OpenAI Images request/response shape.
- The edit model
qwen-image-edit-2509 is not part of this first-batch generation closure. Treat editing as a separate capability decision.