# Hitem3D Hi3D Texture API

> Hi3D Texture by Hitem3D adds textures to an untextured GLB model using a reference image. It uses the v1.5 texture models.

Source: https://www.sandbase.ai/models/hitem3d/hi3d/texture
API reference: https://www.sandbase.ai/models/hitem3d/hi3d/texture#api

## Facts

- Provider: Hitem3D
- Type: Image model
- Model ID: `hitem3d/hi3d/texture`
- Price: $0.20 per run
- Capabilities: 3d 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": "hitem3d/hi3d/texture",
  "image": "https://storage.googleapis.com/falserverless/example_inputs/dog.png",
  "version": "hitem3dv1.5",
  "model_url": "https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/DamagedHelmet/glTF-Binary/DamagedHelmet.glb",
  "export_format": "glb"
}'
```

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 Hitem3D Hi3D Texture through SandBase?

Create a SandBase API key, then send requests with the model ID "hitem3d/hi3d/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 Hitem3D account?

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

## README

### Hitem3D Hi3D Texture
Hi3D Texture by Hitem3D adds textures to an untextured GLB model using a reference image. It uses the v1.5 texture models.
#### Fields
| Field | Type | Default | Notes |
|---|---|---|---|
| `model_url` | string, required | — | URL of the GLB geometry model to texture (e.g. Hi3D image-to-3d output with texture off). |
| `image` | image URL, required | — | Reference image URL used to texture the model. PNG, JPEG and WebP, up to 20MB. |
| `version` | `hitem3dv1.5` / `scene-portraitv1.5` | `hitem3dv1.5` | Texture model version. |
| `resolution` | `512` / `1024` / `1536` / `1536pro` | — | Texture resolution. hitem3dv1.5 accepts 512, 1024, 1536, 1536pro; scene-portraitv1.5 accepts 1536. Uses the model's recommended value when unset. |
| `export_format` | `glb` / `obj` / `stl` / `fbx` / `usdz` | `glb` | File format of the generated model. |
#### Output
- `url`: Main 3D file (GLB unless another export format is selected).
- `thumbnail`: Preview image rendered by the provider.
#### Billing
$0.20 per request.
Failed runs are not charged.
#### Also on SandBase
Other Hitem3D 3D endpoints: `hitem3d/hi3d/image-to-3d`, `hitem3d/hi3d/multi-view-to-3d`, `hitem3d/hi3d/multicolor`, `hitem3d/hi3d/split`.
