Deprecated, still works

This page describes a native (non-OpenAI) interface. It still works, but it is deprecated. New integrations should use the unified API.

There is no matching unified interface yet. Until the unified shape covers this capability, keep using the interface on this page.

Tencent Hunyuan Image · 3D · Image

3D Model GenerationNEW

Generate a 3D model (GLB / OBJ / FBX files + preview images) from a text prompt or a single reference image.

💡 When to use:Use for game / e-commerce / 3D-printing assets. Send exactly one of prompt or imageUrls (1 image).

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.

Authorization

AuthorizationstringheaderRequired
API key, sent as a Bearer token in the Authorization header.

Sub-models

modelUsageMaterialsOutput filesPrice (credits/call)
hunyuan-3d-3.1Full 3D asset (geometry + texture)prompt or 1 reference imageGLB, OBJ, OBJ zip + PNG200
hunyuan-3d-3.1-geometryGeometry only (no texture)prompt or 1 reference imageGLB, FBX + PNG100

Request body

application/json
modelstringRequired
hunyuan-3d-3.1 / hunyuan-3d-3.1-geometry
promptstring
Text description (or imageUrls)
imageUrlsarray
A single reference image (array with 1 item; or prompt)
seedinteger
Random seed (optional)

Response Fields

codenumber
200 means success
data.idstring
Task ID (taskId)
data.statusstring
queued / running / succeeded / failed
data.errorMsgstring | null
Failure reason; null on success
data.resultUrlstring
Comma-separated files: 3D model files first (full asset: GLB, OBJ, OBJ zip; geometry: GLB, FBX), then preview PNGs