http
Base URL: https://openapi.tripo3d.ai/v3
Endpoint: POST /mesh/complete
Complete segmented mesh parts and repair missing regions.
Note
- This endpoint requires an API Key. Include it in the Authorization header as Bearer {api_key}.
- This is an asynchronous API. After submitting the request, use the Task Query API to poll for results, or configure a Webhook to receive automatic notifications when the task completes.
Request Parameters
Request Body
inputstringRequired
task_id of a
mesh/segment task, starting with task_.modelstringdefault: v1.0-20250506
Completion model version.
v1.0-20250506— default (current only version).
part_namesstring[]
List of part names to complete. If omitted, all parts are completed.
completion_modestringdefault: ai_completion
Completion mode.
ai_completion— AI diffusion-based completion (default). Generates realistic geometry to fill missing regions.quick_cap— Quick hole-fill. Fast sealing of open boundaries without AI generation.
Examples
Complete (AI)
{
"input": "task_abc123",
"part_names": [
"head",
"body"]
}Quick Cap
{
"input": "task_abc123",
"completion_mode": "quick_cap"}Create task
{
"code": 0,
"data": {
"task_id": "task_abc123"}
}Task result
{
"code": 0,
"data": {
"task_id": "task_abc123",
"type": "text_to_model",
"status": "success",
"progress": 100,
"output": {
"model_url": "https://cdn.tripo3d.ai/output/model_pbr.glb",
"rendered_image_url": "https://cdn.tripo3d.ai/output/preview.png"},
"credits_consumed": 100,
"created_at": "2026-04-28T12:00:00Z",
"completed_at": "2026-04-28T12:01:30Z"}
}