smart_segment
Split image or GLB mesh objects by text hint, create a Tripo segmentation task, and return a task_id for wait_for_task.
Instructions
Segment an object guided by a text hint, from an image (85 credits) or a GLB mesh (55 credits). Creates a Tripo task (spends credits) and returns its task_id immediately; then call wait_for_task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | Describe the parts you want | |
| input | Yes | The image or GLB mesh: local path, URL or file token (task IDs are not accepted) | |
| seg_type | Yes | Segment an image (85 credits) or a GLB mesh (55 credits) | |
| transform | No | seg_type model only (required): 16 numbers, the mesh's column-major 4x4 transform | |
| granularity | No | How finely to split (default medium) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| task_id | Yes | ||
| produces | Yes | ||
| warnings | No | ||
| operation | Yes |