Qwen Image · Image Generation
Text to ImageNEW
📌 What is this:Generate images from text with Qwen image models.
💡 When to use:Use for high-quality Qwen / Wanxiang style image generation.
Endpoints
| Usage | Method | Path |
|---|---|---|
| Submit task | POST | /api/cqt/generator/qwen |
| Query Result | GET | /api/cqt/info/qwen?id={taskId} |
⏱ Recommended polling interval:Poll every 5s until status = succeeded / failed.
Request Parameters
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | Required | qwen-image / qwen-image-plus / qwen-image-2.0 / qwen-image-2.0-pro / qwen-image-max / qwen-image-plus-2026-01-09 / wan2.7-image / wan2.7-image-pro / wan2.5-t2i-preview |
| prompt | string | Required | Image description |
| aspectRatio | string | — | Output ratio: 1:1 / 16:9 / 9:16 / 4:3 / 3:4 / 2:3 / 3:2 / 21:9 |
| numImages | integer | — | Number of images, default 1 (affects billing) |
| negativePrompt | string | — | Negative prompt |
| promptExtend | boolean | — | Whether to extend the prompt, default true |
| webhookUrl | string | — | Completion webhook URL |
Request Example
curl -X POST https://api.cqtai.com/api/cqt/generator/qwen \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "qwen-image-max",
"prompt": "赛博朋克风格的雨夜街道,霓虹反光,电影质感",
"aspectRatio": "16:9",
"numImages": 1
}'
# -> { "code":200, "data":"<taskId>" }Response Example
{
"code": 200,
"msg": "success",
"data": {
"id": "<taskId>",
"status": "succeeded",
"resultUrl": "https://.../result.png",
"createTime": "2026-06-15 10:00:00",
"completeTime": "2026-06-15 10:00:20"
}
}Billing & Credits
qwen-image-2.0 / plus / wan2.7-image / wan2.5-t2i-preview: 20 credits per image; pro / max / wan2.7-image-pro: 50 credits per image; x count for multiple (x your user rate). Auto-refunded on failure.