CQTAI
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

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

Request Parameters

ParamTypeRequiredDescription
modelstringRequiredqwen-image-edit-plus / wan2.5-i2i-preview
promptstringRequiredEdit instruction
imageUrlsstring[]RequiredImage URL(s) to edit
aspectRatiostring—Output ratio
numImagesinteger—Number of images, default 1
webhookUrlstring—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"
  }
}

⏳ File links are kept for 15 days and then deleted automatically. Please download and re-host your files in time.