Tencent Hunyuan Image · 3D · Image
Reference to ImageNEW
📌 What is this:Generate new images based on the subjects / style of reference images (image-to-image / multi-reference).
💡 When to use:Use to keep a given character, product or style while changing the scene / composition; sending imageUrls means reference mode.
Endpoints
| Usage | Method | Path |
|---|---|---|
| Submit task | POST | /api/cqt/generator/hunyuan |
| Query Result | GET | /api/cqt/info/hunyuan?id={taskId} |
⏱ Recommended polling interval:Poll every 5-10s until status = succeeded / failed.
Sub-models
The tier price column is credits/image (credits/call for per-call models); (default output) = default output only, resolution not accepted; ≥N refs → = multi-reference tier.
| model | Usage | Materials | Images | Tier price (credits) |
|---|---|---|---|---|
| hunyuan-image-3.5-preview | 3.5 Preview; default output 1344x1792 | ≤3 reference images | 1 | 2K=15 (default output) |
| hunyuan-image-3.0 | 3.0; default output 1024x1024 | ≤3 reference images | 1 | 1K=20 (default output) |
⚠ hunyuan-image-3.5-preview: 1 image per call; hunyuan-image-3.0: 1 image per call
Request Parameters
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | Required | Sub-model: hunyuan-image-3.5-preview / hunyuan-image-3.0 |
| prompt | string | — | Image description (optional) |
| imageUrls | array | Required | Reference image URL array (publicly reachable); limit per the table |
| aspectRatio | string | — | Aspect ratio, e.g. 1:1 / 16:9 / 9:16 |
| negativePrompt / seed / enhancePrompt | string / integer / boolean | — | Negative prompt / random seed / auto-enhance prompt (optional) |
Request Example
curl -X POST https://api.cqtai.com/api/cqt/generator/hunyuan \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "hunyuan-image-3.0",
"prompt": "the same woman sitting in a cozy cafe by the window on a rainy day, soft light",
"imageUrls": [
"https://cdn.novapi.ai/kling/1791949942892_d18ee23dfa3048e097c58c9c3e32a754.png"
],
"aspectRatio": "16:9"
}'
# -> { "code":200, "data":"<taskId>" }Response Example
{
"code": 200,
"msg": "success",
"data": {
"id": "00eb0acfe12942368f95cea6065cf8c3",
"resultUrl": "https://cdn.novapi.ai/hunyuan/1791950035031_a4b29b00483b475781d7a9038560a578.png",
"status": "succeeded",
"errorMsg": null,
"createTime": "2026-10-14 11:53:25",
"completeTime": "2026-10-14 11:53:55"
}
}Response Fields
| Field | Type | Description |
|---|---|---|
| code | number | 200 means success |
| data.id | string | Task ID (taskId) |
| data.status | string | queued / running / succeeded / failed |
| data.resultUrl | string | Result URL(s) on our CDN (long-lived); multiple results are comma-separated; null until done or on failure |
| data.errorMsg | string | null | Failure reason; null on success |