Hunyuan 3D 3.6 Text to 3D API
hunyuan-3d/v3.6/text-to-3dHunyuan 3D 3.6 Text to 3D turns text descriptions up to 1,024 characters into high-polygon GLB and OBJ 3D assets with up to 2M faces and 8K PBR textures. Choose Normal or Geometry output modes, polygon budgets, and style presets without extra texture surcharges.

REST API
Quick Start
Submit a Hunyuan 3D 3.6 Text to 3D request to the unified submit endpoint, capture task_id, and download the GLB, OBJ archive and preview image when finished.
Connect to the Vidgo API
Create an API key, store it on the server, and send Authorization: Bearer VIDGO_API_KEY.
- Endpoint
- POST
https://api.vidgo.ai/api/generate/submit - Authentication
- Authorization: Bearer VIDGO_API_KEY
Submit a 3D task
Send model hunyuan-3d/v3.6/text-to-3d with the parameters for this mode; the endpoint returns task_id immediately.
curl --request POST \
--url "https://api.vidgo.ai/api/generate/submit" \
--header "Authorization: Bearer $VIDGO_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"model": "hunyuan-3d/v3.6/text-to-3d",
"input": {
"prompt": "A battle-worn dwarf blacksmith in a layered leather apron over chainmail, holding a forging hammer",
"generate_type": "Normal",
"enable_pbr": true,
"texture_resolution": "4k"
}
}'Poll for the 3D assets
Poll while status is not_started or running; when finished, read every delivered file from data.files.
Track status
GET https://api.vidgo.ai/api/generate/status/{task_id}High-poly jobs take several minutes; poll every 5–10 seconds or provide top-level callback_url.
not_startedrunningfinishedfailed{
"code": 200,
"data": {
"task_id": "task-example-3d",
"status": "not_started",
"created_time": "2026-11-29T10:30:00"
}
}{
"code": 200,
"data": {
"task_id": "task-example-3d",
"status": "finished",
"created_time": "2026-11-29T10:30:00",
"progress": 100,
"files": [
{
"file_url": "https://example.com/model.glb",
"file_type": "3d"
},
{
"file_url": "https://example.com/model-obj.zip",
"file_type": "3d"
},
{
"file_url": "https://example.com/preview.png",
"file_type": "image"
}
]
}
}Complete runnable polling example
Expand for the end-to-end polling script and error handling.
set -euo pipefail
: "${VIDGO_API_KEY:?Set VIDGO_API_KEY in your environment}"
REQUEST_BODY=$(cat <<'JSON'
{
"model": "hunyuan-3d/v3.6/text-to-3d",
"input": {
"prompt": "A battle-worn dwarf blacksmith in a layered leather apron over chainmail, holding a forging hammer",
"generate_type": "Normal",
"enable_pbr": true,
"texture_resolution": "4k"
}
}
JSON
)
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
--request POST \
--url "https://api.vidgo.ai/api/generate/submit" \
--header "Authorization: Bearer $VIDGO_API_KEY" \
--header "Content-Type: application/json" \
--data "$REQUEST_BODY")
TASK_ID=$(printf '%s' "$SUBMIT_RESPONSE" | jq -r '.data.task_id // .task_id // empty')
if [ -z "$TASK_ID" ]; then
printf 'Submit response did not include task_id:
%s
' "$SUBMIT_RESPONSE" >&2
exit 1
fi
while true; do
STATUS_RESPONSE=$(curl --silent --show-error --fail-with-body \
--url "https://api.vidgo.ai/api/generate/status/$TASK_ID" \
--header "Authorization: Bearer $VIDGO_API_KEY")
STATUS=$(printf '%s' "$STATUS_RESPONSE" | jq -r '.data.status // .status // empty')
case "$STATUS" in
finished)
printf '%s' "$STATUS_RESPONSE" | jq -r '(.data.files // .files // [])[]?.file_url'
break
;;
failed)
printf '%s' "$STATUS_RESPONSE" | jq -r '.data.error_message // .error_message // "Generation failed"' >&2
exit 1
;;
not_started|running)
sleep 2
;;
*)
printf 'Unexpected task status: %s
' "$STATUS" >&2
exit 1
;;
esac
doneRequest Parameters
Public fields inside input. Place model and optional callback_url at the request root.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| input.prompt | string | Yes | — | 3D object, silhouette, material, and style description up to 1,024 characters. |
| input.generate_type | string | No | Normal | Normal (textured GLB + OBJ) or Geometry (untextured mesh). |
| input.face_count | integer | No | 2000000 | Target polygon count from 1,000 to 2,000,000. |
| input.face_strict_mode | boolean | No | false | Enforces stricter adherence to target face_count. |
| input.enable_pbr | boolean | No | false | Generates physically based metallic/roughness textures (Normal mode). |
| input.texture_resolution | string | No | 4k | Texture map size: 2k, 4k, or 8k (Normal mode). |
| input.texture_format | string | No | jpeg | Texture encoding: png, jpeg, jpg, or webp (Normal mode). |
| input.seamless_texture | boolean | No | false | Minimizes visible UV seam lines across surfaces (Normal mode). |
| input.style | string | No | — | Preset aesthetic: qinghuaci, china_style, sculpture, cartoon, or cyberpunk (Normal mode). |
Response Fields
When finished, data.files delivers the GLB mesh, OBJ ZIP archive (Normal mode) and PNG preview.
| Field | Type | Description |
|---|---|---|
| code | integer | Business code; 0 or 200 indicates success. |
| data.task_id | string | Unique task ID for status queries. |
| data.status | string | not_started, running, finished or failed. |
| data.files[].file_url | string | Direct URL for each model file or preview image. |
| data.files[].file_type | string | 3d for GLB and OBJ ZIP, image for preview PNG. |
| data.error_message | string | null | Readable failure message when failed. |
Task Lifecycle
Poll only while not_started or running; finished and failed are terminal.
not_startedAccepted and queued.
runningGenerating mesh and textures.
finishedCompleted; iterate data.files to download assets.
failedFailed; credits are refunded in full.
Polling and Errors
- AuthenticationSend Authorization: Bearer VIDGO_API_KEY from your server.
- Validation400 indicates an invalid field, face-count range or cross-mode parameter.
- PollingPoll every 5–10 seconds and allow ample timeout for 2M-face textured builds.
- WebhooksProvide top-level callback_url for terminal POST notifications.
Model Specifications
| Specification | Value | Details |
|---|---|---|
| Model ID | hunyuan-3d/v3.6/text-to-3d | Pass in root-level model for POST /api/generate/submit. |
| Mesh Density | 1,000–2,000,000 faces | Defaults to 2,000,000 faces with optional face_strict_mode. |
| Textures & PBR | 2K / 4K / 8K · PNG / JPEG / WEBP | Optional PBR maps and seamless textures at no extra charge. |
| Delivered Files | GLB + OBJ ZIP (Normal) + PNG | Geometry mode returns untextured GLB and PNG preview. |
Related Models
Hunyuan 3D 3.6 Text to 3D API frequently asked questions
What is the Hunyuan 3D 3.6 Text to 3D API?
Hunyuan 3D 3.6 Text to 3D is Tencent's high-resolution text-to-3D generation model that builds GLB and OBJ assets up to 2,000,000 faces with 2K–8K PBR textures from prompts up to 1,024 characters. It offers textured Normal mode and lightweight Geometry mode, five optional style presets, and flat pricing with no PBR or polygon surcharges. Built on Tencent's latest Hunyuan 3D architecture, it delivers sharp silhouettes, seamless UV mapping, and consistent material response for production workflows. Call hunyuan-3d/v3.6/text-to-3d via API or test it in the playground above.
How much does Hunyuan 3D 3.6 Text to 3D cost?
Normal (textured) generation costs 400 credits ($2.00) per task, and Geometry (untextured) costs 160 credits ($0.80) per task.
Do 8K textures, PBR maps, or 2M faces cost extra in Hunyuan 3D 3.6 Text to 3D?
No. Enabling enable_pbr, selecting 8k texture_resolution, or requesting up to 2,000,000 faces does not increase credit cost.
What file formats does Hunyuan 3D 3.6 Text to 3D return?
Completed tasks return a preview render image alongside downloadable GLB mesh and OBJ ZIP files.
Which style presets are available in Hunyuan 3D 3.6 Text to 3D?
Normal mode supports five optional presets: qinghuaci, china_style, sculpture, cartoon, and cyberpunk.
How does face_strict_mode work in Hunyuan 3D 3.6 Text to 3D?
Setting face_strict_mode to true tightens mesh decimation so the output polygon count stays closer to your requested face_count.
What is the difference between Normal and Geometry in Hunyuan 3D 3.6 Text to 3D?
Normal generates full geometry plus UV textures and optional PBR maps (400 credits); Geometry outputs a clean untextured mesh only (160 credits).



