# Tripo3D Tripo Part Completion API

> Tripo Part Completion splits a 3D model into parts and rebuilds the hidden or missing surfaces of each part in one call (Tripo Segment + Complete).

Source: https://www.sandbase.ai/models/tripo3d/tripo/part-completion
API reference: https://www.sandbase.ai/models/tripo3d/tripo/part-completion#api

## Facts

- Provider: Tripo3D
- Type: Image model
- Model ID: `tripo3d/tripo/part-completion`
- Price: From $0.90 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": "tripo3d/tripo/part-completion",
  "model_url": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/object.glb",
  "ref_image": "https://static.sandbase.ai/examples/tripo3d/tripo-h3.1/image-to-3d/input_image_0.png",
  "model_version": "v1.0-20250506",
  "completion_mode": "ai_completion",
  "split_by_connectivity": true,
  "segmentation_granularity": "balanced"
}'
```

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 Part Completion through SandBase?

Create a SandBase API key, then send requests with the model ID "tripo3d/tripo/part-completion" 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 Part Completion and the other models in the catalog; you do not need to sign up with Tripo3D separately.

## README

### Tripo Part Completion
Tripo Part Completion splits a 3D model into parts and rebuilds the hidden or missing surfaces of each part in one call (Tripo Segment + Complete).
#### Fields
| Field | Type | Default | Notes |
|---|---|---|---|
| `model_url` | string, required | — | URL of the input 3D model (GLB, GLTF, FBX, OBJ or STL, up to 150 MB). |
| `completion_mode` | `ai_completion` / `quick_cap` | `ai_completion` | ai_completion rebuilds missing geometry; quick_cap closes holes quickly and costs less. |
| `model_version` | `v1.0-20250506` / `v2.0-20260430` | `v1.0-20250506` | v1.0-20250506 splits by geometry; v2.0-20260430 (beta) splits by meaning. |
| `segmentation_granularity` | `simple` / `balanced` / `detailed` | `balanced` | v2.0 only. |
| `split_by_connectivity` | boolean | `true` | v2.0 only. Also split disconnected pieces. |
| `ref_image` | string | — | v2.0 only. Reference image guiding the parts. |
| `part_names` | array | — | Only complete these parts (tripo_part_0, tripo_part_1, ...). All parts when unset. |
#### Output
- `url`: Completed parts model (GLB).
- `segmented`: Segmented model before completion.
- `thumbnail`: Preview render.
#### Billing
| completion_mode | Price |
|---|---|
| ai_completion | $0.90 ($0.40 segment + $0.50 completion) |
| quick_cap | $0.70 ($0.40 + $0.30) |
Failed runs are not charged.
