# Tripo3D Tripo Retarget API

> Tripo Retarget applies preset animations to an already-rigged 3D model, such as a Tripo Rig output, without rigging it again.

Source: https://www.sandbase.ai/models/tripo3d/tripo/retarget
API reference: https://www.sandbase.ai/models/tripo3d/tripo/retarget#api

## Facts

- Provider: Tripo3D
- Type: Image model
- Model ID: `tripo3d/tripo/retarget`
- Price: From $0.10 per run
- Capabilities: 3d to 3d, character animation
- 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": "tripo3d/tripo/retarget",
  "model_url": "https://static.sandbase.ai/examples/d9a9a5f7-4984-4f25-82aa-e2b924cad17b/output/2c74700e-48a8-4b4e-8e72-bb55f8b3651e.glb",
  "out_format": "glb",
  "animate_in_place": false,
  "export_with_geometry": true
}'
```

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 Tripo3D Tripo Retarget through SandBase?

Create a SandBase API key, then send requests with the model ID "tripo3d/tripo/retarget" 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 Tripo3D account?

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

## README

### Tripo Retarget
Tripo Retarget applies preset animations to an already-rigged 3D model, such as a Tripo Rig output, without rigging it again.
#### Fields
| Field | Type | Default | Notes |
|---|---|---|---|
| `model_url` | string, required | — | File or URL of a rigged 3D model (GLB, GLTF, FBX, OBJ or STL, up to 150 MB), for example the output of Tripo Rig. The run fails if the model has no usable skeleton. |
| `animation` | string | — | One preset, e.g. preset:walk. The preset must match how the model was rigged. Tripo Rig v3.0 biped: preset:idle, walk, run, dive, climb, jump, slash, shoot, hurt, fall, turn. Quadruped and other rig types: preset:quadruped:walk, preset:hexapod:walk, preset:octopod:walk, preset:serpentine:march, preset:aquatic:march. Tripo Rig v1.0: preset:biped:<name>. Use animation or animations. |
| `animations` | array | — | 1 to 5 presets in one file (same names as animation). Each animation is billed. |
| `out_format` | `glb` / `fbx` | `glb` | Format of the animated model. |
| `export_with_geometry` | boolean | `true` | Include the mesh in the animated file; false exports the skeleton animation only. |
| `animate_in_place` | boolean | `false` | Remove root motion so the character stays in place. |
#### Output
- `url`: Animated model.
- `thumbnail`: Preview render.
#### Billing
$0.10 per animation. Failed runs are not charged.

To rig and animate an unrigged model in one call, use Tripo Animate.
