Generate a 3D model
generate_3dCreate a 3D model (.glb) from a text prompt with Hunyuan 3D. Turn descriptions into 3D assets directly.
Instructions
Generate a 3D model (.glb) from a text prompt with Hunyuan 3D. Text-to-3D only (image-to-3D is not supported).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Default true. false = return a task id immediately (poll with get_task). 3D is slow — consider false. | |
| model | No | Default HUNYUAN_3D_PRO_30. Or HUNYUAN_3D_PRO_31. | |
| prompt | Yes | ||
| save_to | No | Directory to save the .glb — Pixmax URLs expire | |
| enable_pbr | No | Generate PBR materials (default false) | |
| face_count | No | Target face count (default 300000). Ignored on HUNYUAN_3D_PRO_31 — only the default is accepted there | |
| polygon_type | No | Mesh topology (default triangle) | |
| generate_type | No | Mesh generation type (default "Normal") |