# Tencent Hunyuan 3D Texture API

> Hunyuan 3D Texture by Tencent paints new texture maps onto an existing OBJ or GLB model, guided by one reference image, with optional PBR materials.

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

## Facts

- Provider: Tencent
- Type: Image model
- Model ID: `tencent/hunyuan-3d/texture`
- Price: $0.48 per run (20% off list price)
- Capabilities: 3d to 3d, texturing
- 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/texture",
  "image": "https://static.sandbase.ai/examples/tripo3d/tripo-h3.1/image-to-3d/input_image_0.png",
  "keep_uv": false,
  "model_url": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/object.glb",
  "enable_pbr": false,
  "texture_size": 4096
}'
```

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 Hunyuan 3D Texture through SandBase?

Create a SandBase API key, then send requests with the model ID "tencent/hunyuan-3d/texture" 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 Hunyuan 3D Texture and the other models in the catalog; you do not need to sign up with Tencent separately.

## README

### Hunyuan 3D Texture
Hunyuan 3D Texture by Tencent paints new texture maps onto an existing OBJ or GLB model, guided by one reference image, with optional PBR materials.
#### Fields
| Field | Type | Default | Notes |
|---|---|---|---|
| `model_url` | string, required | — | File or URL of the 3D model to texture (OBJ or GLB). |
| `image` | string, required | — | Reference image file or URL for the texture. JPG or PNG, each side 128-4096px. |
| `enable_pbr` | boolean | `false` | Also generate PBR material maps. |
| `keep_uv` | boolean | `false` | Keep the model's existing topology and UV layout. |
| `texture_size` | integer 720-4096 | `4096` | Square texture resolution in pixels, 720 to 4096. |
#### Output
- `url`: Textured model files (GLB, OBJ with MTL) and the texture image.
#### Billing
$0.60 per run (30 Tencent Hy3D credits). Failed runs are not charged.
