# Tencent Hunyuan3D 2.0 API

> Hunyuan3D 2.0 by Tencent generates a 3D mesh from a single image, as a white mesh or with textures.

Source: https://www.sandbase.ai/models/tencent/hunyuan-3d/v2
API reference: https://www.sandbase.ai/models/tencent/hunyuan-3d/v2#api

## Facts

- Provider: Tencent
- Type: Image model
- Model ID: `tencent/hunyuan-3d/v2`
- Price: From $0.16 per run
- Capabilities: image to 3d
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "tencent/hunyuan-3d/v2",
  "image": "https://static.sandbase.ai/examples/tencent/hunyuan-3d/v2/input_image_0.png",
  "textured_mesh": false,
  "octree_resolution": 256
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call Tencent Hunyuan3D 2.0 through SandBase?

Create a SandBase API key, then send requests with the model ID "tencent/hunyuan-3d/v2" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate Tencent account?

No. One SandBase API key and balance gives you access to Tencent Hunyuan3D 2.0 and the other models in the catalog; you do not need to sign up with Tencent separately.

## README

### Hunyuan3D 2.0
Hunyuan3D 2.0 by Tencent generates a 3D mesh from a single image, as a white mesh or with textures.
#### Fields
| Field | Type | Default | Notes |
|---|---|---|---|
| `image` | image URL, required | — | URL of the image to turn into a 3D model. |
| `textured_mesh` | boolean | `false` | Generate a textured mesh instead of a white (untextured) mesh. Textured output costs 3x. |
| `octree_resolution` | integer 1–1024 | `256` | Octree resolution of the generated mesh. Higher values give finer geometry. |
| `seed` | integer | — | Random seed. The same seed and input reproduce the same result. |
#### Output
- `url`: Main 3D file (GLB unless another export format is selected).
#### Billing
$0.16 per request with default settings. Price by option (other settings at default):
| Option | Price |
|---|---|
| textured_mesh on | $0.48 |
| textured_mesh off | $0.16 |
Failed runs are not charged.
#### Also on SandBase
Other Tencent 3D endpoints: `tencent/hunyuan-3d/3.0/image-to-3d`, `tencent/hunyuan-3d/3.1/part`, `tencent/hunyuan-3d/3.1/pro/image-to-3d`, `tencent/hunyuan-3d/3.1/pro/text-to-3d`.
