Tripo Segmentation
Tripo mesh segmentation API reference. Automatically segment 3D models into semantic parts using AI.

Mesh Segmentation
POST/v1/3d-models/tripo/mesh-segmentation/
Segment a 3D model into semantic parts using AI. Upload a model file directly or provide a URL to a publicly accessible model. Two segmentation models are available: v1 (geometry-based, default) and v2 (semantic labeling, beta), selected with segmentation_model. Both cost 80 credits per request.
curl -X POST https://api.3daistudio.com/v1/3d-models/tripo/mesh-segmentation/ \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "model_url=https://example.com/character.glb" \
-F "segmentation_model=v2.0-20260430" \
-F "segmentation_granularity=balanced"{
"task_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"created_at": "2026-03-26T12:00:00Z"
}Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| model | file | Conditional | — | 3D model file upload. Required if model_url is not provided. |
| model_url | string | Conditional | — | URL to a publicly accessible 3D model. Required if model is not provided. |
| segmentation_model | string | No | "v1.0-20250506" | "v1.0-20250506" (geometry-based) or "v2.0-20260430" (beta, semantic labeling + geometry). The options below require v2. |
| segmentation_granularity | string | No | "balanced" | v2 only. How finely to split the model: "simple", "balanced" or "detailed". |
| split_by_connectivity | boolean | No | true | v2 only. Also split parts that are not connected to each other. |
| ref_image_url | string | No | — | v2 only. Public URL of a reference image (e.g. a segmentation mask) that drives the semantic analysis. When a reference image is given, segmentation_granularity and split_by_connectivity are ignored. |
| ref_image | file | No | — | v2 only. The reference image as a base64 data URI (data:image/...;base64,...). Send either ref_image or ref_image_url, not both. |
Use Cases
Mesh segmentation is useful for a variety of downstream workflows.
| Use Case | Description |
|---|---|
| Selective texturing | Apply different textures to individual parts (e.g. skin, clothing, accessories). |
| Rigging preparation | Identify body parts for skeletal rigging and animation setup. |
| Modular assets | Break a single model into reusable components for asset libraries. |
| Part-based editing | Edit or replace individual segments without modifying the entire model. |
Checking Status
GET/v1/generation-request/<task_id>/status/
Poll this endpoint with the task_id from the segmentation response. When status is "FINISHED", the results array contains the segmented model. Results expire after 24 hours.
curl https://api.3daistudio.com/v1/generation-request/YOUR_TASK_ID/status/ \
-H "Authorization: Bearer YOUR_API_KEY"{
"status": "FINISHED",
"progress": 100,
"failure_reason": null,
"results": [
{
"asset": "https://storage.3daistudio.com/assets/segmented-model.glb",
"asset_type": "3D_MODEL",
"metadata": null
}
]
}Credit Costs
Mesh segmentation costs a flat 80 credits per request, with either segmentation model. Credits are deducted when you submit a request. If segmentation fails, credits are refunded automatically.
| Operation | Credits |
|---|---|
| Mesh Segmentation | 80 |
Errors
Common errors for the mesh segmentation endpoint.
| Status | Error Code | Description |
|---|---|---|
| 400 | VALIDATION_FAILED | Missing or invalid parameters — no model provided, a v2-only option without segmentation_model v2.0-20260430, or both ref_image and ref_image_url. |
| 401 | INVALID_API_KEY | Invalid or missing API key. |
| 402 | INSUFFICIENT_CREDITS | Not enough credits. Purchase more credits. |
| 429 | RATE_LIMITED | Rate limit exceeded. Wait and retry. |