Qwen Image · Image Generation

Text to ImageNEW

📌 What is thisGenerate images from text with Qwen image models.
💡 When to useUse for high-quality Qwen / Wanxiang style image generation.

Endpoints

UsageMethodPath
Submit taskPOST/api/cqt/generator/qwen
Query ResultGET/api/cqt/info/qwen?id={taskId}
Recommended polling intervalPoll every 5s until status = succeeded / failed.

Request Parameters

ParamTypeRequiredDescription
modelstringRequiredqwen-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
promptstringRequiredImage description
aspectRatiostringOutput ratio: 1:1 / 16:9 / 9:16 / 4:3 / 3:4 / 2:3 / 3:2 / 21:9
numImagesintegerNumber of images, default 1 (affects billing)
negativePromptstringNegative prompt
promptExtendbooleanWhether to extend the prompt, default true
webhookUrlstringCompletion 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.