> ## Documentation Index
> Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Tencent Hunyuan 3D generation

Tencent's Hunyuan 3D (`hunyuan-3d`) creates detailed 3D models from text descriptions or 2D images. The API makes professional modeling more accessible for game development, film production, and product design, and gives teams more flexibility when creating assets.

The Pro edition (`hunyuan-3d-pro`) uses Hunyuan 3D 3.0 to generate more precise, higher-quality models.

The Fast edition (`hunyuan-3d-pro-fast`) minimizes generation time so that you can obtain a 3D model file sooner.

All three editions use GeekAI's unified 3D generation API. Their parameters and prices differ as described below.

### Model parameters

* Model IDs: `hunyuan-3d`, `hunyuan-3d-pro`, and `hunyuan-3d-pro-fast`
* Pricing: See the [model marketplace](https://geekai.co/models?platform=tencent\&type=image-3d) for current rates.
* Endpoint: `https://geekai.co/api/v1/image3ds/generations`
* Parameters: [3D generation API reference](https://docs.geekai.co/en/api/3d/generations.md)
* Authentication: [Get an API key](https://docs.geekai.co/en/docs/quick_start.md)

> [!NOTE]
>
> Use `prompt` for text-to-3D or `image` for image-to-3D, not both. The exception is Pro with `generate_type` set to `Sketch`, which accepts both inputs.
>
> Compared with `hunyuan-3d-fast`, `hunyuan-3d` also supports:
>
> * `multi_view_images`
>
> Compared with `hunyuan-3d`, `hunyuan-3d-pro` also supports:
>
> * `face_count`
> * `generate_type`: Pass this in `extra_body`.
> * `polygon_type`: Pass this in `extra_body`.
>
> See also the [official Hunyuan 3D API documentation](https://cloud.tencent.com/document/product/1804/120826).

### Model pricing

The editions have different prices. Here are the official rates for the default configuration of each:

| Edition | Price (CNY per generation) |
| - | - |
| hunyuan-3d | 1.8 |
| hunyuan-3d-fast | 1.2 |
| hunyuan-3d-pro | 3.6 |

`hunyuan-3d` costs CNY 1.80 per request. For `hunyuan-3d-pro`, add any option charges to the base price for the selected `generate_type`:

| Generation type | Output | Base price (CNY per generation) |
| - | - | - |
| Normal (default) | Textured geometry | 2.4 |
| LowPoly | Textured geometry with an automatically reduced polygon count | 3 |
| Geometry | Untextured geometry (a white model) | 1.8 |
| Sketch | Textured geometry from a sketch or line drawing | 3 |

The following options incur additional charges:

| Option | Effect | Additional price (CNY per generation) |
| - | - | - |
| `multi_view_images` | Generate the model from multiple views | 1.2 |
| `enable_pbr` | Generate PBR materials, including metalness, roughness, and normal maps | 1.2 |
| `face_count` (default: 500,000) | Generate a mesh with a specified face count | 1.2 |

Without additional configuration, `hunyuan-3d-pro` uses `Normal` and 500,000 faces. The total is 2.4 + 1.2 = CNY 3.60 per generation. Adjust the base price and add charges for any other options you use.

`hunyuan-3d-fast` does not accept a generation type. Its base price is CNY 1.20 per request; enabling PBR brings the price to 1.2 + 0.6 = CNY 1.80.

### Hunyuan 3D

The following request generates a model from multiple views:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/image3ds/generations' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer $GEEKAI_API_KEY" \
--data '{
  "model": "hunyuan-3d",
  "image": "https://file.style3d.com/app/intellistyle/company/ai/1756880593622/Jcpenny_junior7-f.png",
  "multi_view_images": [
    {
      "view_type": "left",
      "view_image_url": "https://file.style3d.com/app/intellistyle/company/ai/1756880595235/Jcpenny_junior7-sl.png"
    },
    {
      "view_type": "right",
      "view_image_url": "https://file.style3d.com/app/intellistyle/company/ai/1756880597122/Jcpenny_junior7-sr.png"
    },
    {
      "view_type": "back",
      "view_image_url": "https://file.style3d.com/app/intellistyle/company/ai/1756880596218/Jcpenny_junior7-b.png"
    }
  ]
}'
```

Example result:

```json theme={null}
{
    "task_id": "7a29a22a-f871-44d4-be91-bb38a76ee856",
    "task_status": "succeed",
    "created": 1761574645,
    "files": [
        {
            "type": "OBJ",
            "url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/3d/output/1317767639/b874b12d-2e51-41dc-a985-2ce41e2ad554_0.zip",
            "preview_url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/%2F3d/output/1317767639/preview_b874b12d-2e51-41dc-a985-2ce41e2ad554_0.png"
        }
    ]
}
```

### Hunyuan 3D Pro

This example uses the same views with the Pro edition. Unlike the standard edition, Pro accepts `face_count` and `extra_body`:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/image3ds/generations' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer $GEEKAI_API_KEY" \
--data '{
  "model": "hunyuan-3d-pro",
  "image": "https://file.style3d.com/app/intellistyle/company/ai/1756880593622/Jcpenny_junior7-f.png",
  "multi_view_images": [
    {
      "view_type": "left",
      "view_image_url": "https://file.style3d.com/app/intellistyle/company/ai/1756880595235/Jcpenny_junior7-sl.png"
    },
    {
      "view_type": "right",
      "view_image_url": "https://file.style3d.com/app/intellistyle/company/ai/1756880597122/Jcpenny_junior7-sr.png"
    },
    {
      "view_type": "back",
      "view_image_url": "https://file.style3d.com/app/intellistyle/company/ai/1756880596218/Jcpenny_junior7-b.png"
    }
  ],
  "face_count": 500000,
  "extra_body": {
    "generate_type": "Normal"
  }
}'
```

Example result:

```json theme={null}
{
    "task_id": "e66e6270-b933-40a4-9193-70c216edf600",
    "task_status": "succeed",
    "created": 1761574911,
    "files": [
        {
            "type": "OBJ",
            "url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/3d/output/1317767639/2cf156a2-820d-46dd-9a5e-7a05ddc533cb_0.zip",
            "preview_url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/3d/output/1317767639/preview_2cf156a2-820d-46dd-9a5e-7a05ddc533cb_0.png"
        },
        {
            "type": "GLB",
            "url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/3d/output/1317767639/2cf156a2-820d-46dd-9a5e-7a05ddc533cb_0.glb",
            "preview_url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/3d/output/1317767639/preview_2cf156a2-820d-46dd-9a5e-7a05ddc533cb_0.png"
        }
    ]
}
```

### Hunyuan 3D Fast

Fast supports fewer parameters. Besides the input `image`, only `enable_pbr` and `result_format` are supported. For example:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/image3ds/generations' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer $GEEKAI_API_KEY" \
--data '{
  "model": "hunyuan-3d-fast",
  "image": "https://file.style3d.com/app/intellistyle/company/ai/1756880593622/Jcpenny_junior7-f.png",
  "enable_pbr": true,
  "result_format": "GLB"
}'
```

Example result:

```json theme={null}
{
    "task_id": "8d17e2ef-3d20-46cd-b435-71473b0ed0cd",
    "task_status": "succeed",
    "created": 1761575574,
    "files": [
        {
            "type": "GLB",
            "url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/3drapid/output/1317767639/cf3b6eb1-4de5-4c88-a363-92e6c6e09795_0.glb",
            "preview_url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/%2F3drapid/output/1317767639/preview_cf3b6eb1-4de5-4c88-a363-92e6c6e09795_0.png"
        }
    ]
}
```

### Asynchronous tasks

For complex 3D generation tasks, use asynchronous mode to avoid request timeouts.

Every Hunyuan 3D edition supports GeekAI's asynchronous task mode. Set `async` to `true` in the request:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/image3ds/generations' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer $GEEKAI_API_KEY" \
--data '{
  "model": "hunyuan-3d-pro",
  "image": "https://file.style3d.com/app/intellistyle/company/ai/1756880593622/Jcpenny_junior7-f.png",
  "multi_view_images": [
    {
      "view_type": "left",
      "view_image_url": "https://file.style3d.com/app/intellistyle/company/ai/1756880595235/Jcpenny_junior7-sl.png"
    },
    {
      "view_type": "right",
      "view_image_url": "https://file.style3d.com/app/intellistyle/company/ai/1756880597122/Jcpenny_junior7-sr.png"
    },
    {
      "view_type": "back",
      "view_image_url": "https://file.style3d.com/app/intellistyle/company/ai/1756880596218/Jcpenny_junior7-b.png"
    }
  ],
  "face_count": 500000,
  "extra_body": {
    "generate_type": "Normal"
  },
  "async": true
}'
```

Example result:

```json theme={null}
{
    "task_id": "9c39a1fd-0ef7-4391-b586-61ad8ed07999",
    "task_status": "running",
    "created": 1761575149
}
```

As with other asynchronous 3D, image, and video tasks, use the returned `task_id` with the [3D result endpoint](https://docs.geekai.co/en/api/3d/result.md) to check status and retrieve the generated files. Once `task_status` is `succeed`, the response has the same format as a synchronous Hunyuan 3D generation:

```json theme={null}
{
    "task_id": "9c39a1fd-0ef7-4391-b586-61ad8ed07999",
    "task_status": "succeed",
    "created": 1761575149,
    "files": [
        {
            "type": "OBJ",
            "url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/3d/output/1317767639/e896e398-5545-4316-bef5-dfb7ecaaec08_0.zip",
            "preview_url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/3d/output/1317767639/preview_e896e398-5545-4316-bef5-dfb7ecaaec08_0.png"
        },
        {
            "type": "GLB",
            "url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/3d/output/1317767639/e896e398-5545-4316-bef5-dfb7ecaaec08_0.glb",
            "preview_url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/3d/output/1317767639/preview_e896e398-5545-4316-bef5-dfb7ecaaec08_0.png"
        }
    ]
}
```

> [!NOTE]
>
> The example images are provided by [Style3D AI](https://www.style3d.ai/?refer=geekai) for testing only; do not use them commercially. Style3D AI combines AI and 3D tools for fashion design, marketing, and production.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.