1 # Tripo3D
2
3 Proxy requests to Tripo3D via Replit-managed billing.
4
5 ## Callback
6
7 Use `externalApi__tripo3d` in `code_execution`.
8
9 ## Allowed operations
10
11 - `POST` `/task` - Submit a Tripo3D generation task. Cost is read from data.consumed_credit on GET /v2/openapi/task/{task_id} after the task reaches a terminal status. Covers every billable body.type uniformly.
12 - `GET` `/task/:task_id` - Poll a previously submitted task by id. Free — Tripo does not charge for status queries.
13
14 Authorization is handled automatically by Replit. Do not pass an `Authorization` header.
15
16 ## Quickstart
17
18 1. Call the callback with a supported `path` and `method`.
19 2. Put URL params in `query` and inspect `result.body`.
20
21 ## Example
22
23 ```javascript
24 const result = await externalApi__tripo3d({
25 path: '/task',
26 method: 'POST',
27 query: {},
28 })
29
30 console.log(result.status)
31 console.log(result.body)
32 ```