Query Tripo Model Tasks

Call POST /tripo/tasks with an AI 聚合 Token. Queries are free; use the same account used for generation. For a single task, use id or trace_id; action defaults to retrieve.

curl -X POST https://api.yxai-tech.top/tripo/tasks \
  -H "Authorization: Bearer ${ACEDATACLOUD_API_TOKEN}" \
  -H "Content-Type: application/json" \
  -d "{\"action\":\"retrieve\",\"id\":\"${TASK_ID}\"}"

The following JSON is shown according to the public response contract. IDs, times, and media URLs are illustrative; please use your own task results.

In-Progress Response JSON

{
  "id": "00000000-0000-4000-8000-000000000001",
  "type": "generations",
  "trace_id": "EXAMPLE_TRACE_ID",
  "created_at": 1790000000,
  "started_at": 1790000001,
  "progress": 25,
  "request": {
    "prompt": "A simple robot with arms outstretched",
    "async": true
  }
}

Completed Response JSON

{
  "id": "00000000-0000-4000-8000-000000000001",
  "type": "generations",
  "trace_id": "EXAMPLE_TRACE_ID",
  "created_at": 1790000000,
  "started_at": 1790000001,
  "progress": 100,
  "request": {
    "prompt": "A simple robot with arms outstretched",
    "async": true
  },
  "finished_at": 1790000021,
  "elapsed": 20,
  "response": {
    "success": true,
    "task_id": "00000000-0000-4000-8000-000000000001",
    "trace_id": "EXAMPLE_TRACE_ID",
    "data": [
      {
        "id": "00000000-0000-4000-8000-000000000002",
        "model_url": "https://cdn.acedata2.cloud/tripo/b0c52df3-d13c-416d-881c-b088dd1d238c-model.glb",
        "format": "GLB"
      }
    ]
  }
}

A single result is a task record containing id, type, trace_id, the original request request, started_at, and progress. While processing, you can continue querying at intervals of a few seconds. After completion, check response.success; on success, response.data[0].model_url is the download URL, and on failure, response.error contains the error code and message. Timestamps, finished_at, and elapsed time elapsed are at the top level of the task record, in seconds. When encountering submission_unknown, retain the original task ID for verification.

For batch queries, use {"action":"retrieve_batch","ids":["<Task ID 1>","<Task ID 2>"]}; you can also use trace_ids, with a maximum of 100 items per request. The response is {"items":[...],"count":2}, preserving the input order and duplicates. For tasks that cannot be found or that you do not have permission to read, a single query returns {}, and the corresponding position in a batch query is null.

The task record's type is generations, models, or animations. For rigging checks, read response.data[0].riggable; for file operations, read response.data[0].model_url.