Qwen Image · Image
Image EditingNEW
📌 What is this:Edit one or more input images using a text instruction (wan2.5-i2i-preview supports multi-image fusion).
💡 When to use:Use to change background, restyle, add elements, remix, or fuse multiple images.
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-edit-plus / wan2.5-i2i-preview |
| prompt | string | Required | Edit instruction |
| imageUrls | string[] | Required | Image URL(s) to edit |
| aspectRatio | string | — | Output ratio |
| numImages | integer | — | Number of images, default 1 |
| 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-edit-plus",
"prompt": "把背景换成雪山日出",
"imageUrls": ["https://example.com/input.jpg"]
}'
# -> { "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-edit-plus / wan2.5-i2i-preview: 20 credits per image (x your user rate). Auto-refunded on failure.