Tripo H3.1 Image to 3D API
Tripo H3.1 Image to 3D API: $0.1875 to $0.375 per generation, prepaid, no subscription. Tripo's 3D model on one key; a failed generation is not charged.
Price · per generation, USD
Get a key| Settings | UplinkSwitch |
|---|---|
| texture false | $0.1875 |
| texture true, texture quality standard | $0.2813 |
| texture true, texture quality detailed | $0.375 |
| Add-on: geometry quality detailed | $0.1875 |
| Add-on: quad true | $0.0469 |
What a run costs · USD, live
The lowest-priced settings (texture false) bill $0.1875 per generation; the highest-priced (texture true, texture quality detailed) $0.375. On top, per generation: geometry quality detailed $0.1875; quad true $0.0469.
| Run | At $0.1875 per generation | At $0.375 per generation |
|---|---|---|
| One model | $0.1875 | $0.375 |
| 10 models | $1.88 | $3.75 |
| 100 models | $18.75 | $37.50 |
Compare · per generation, live
Tripo H3.1 Image to 3D from $0.1875 per generation; Tripo H3.1 Text to 3D from $0.0938; Tripo H3.1 Multiview to 3D from $0.0938.
Call it · POST /v1/generations
curl https://api.uplinkswitch.com/v1/generations \
-H "Authorization: Bearer $UPLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "tripo-3.1-image-to-3d",
"input": {
"image_urls": [
"https://example.com/input.png"
]
}
}'
# then poll until "status" is "succeeded":
curl https://api.uplinkswitch.com/v1/generations/gen_... -H "Authorization: Bearer $UPLINK_API_KEY"import os, time, requests
BASE = "https://api.uplinkswitch.com/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['UPLINK_API_KEY']}"}
payload = {
"model": "tripo-3.1-image-to-3d",
"input": {
"image_urls": [
"https://example.com/input.png"
]
}
}
gen = requests.post(f"{BASE}/generations", headers=HEADERS, json=payload, timeout=30).json()
while gen["status"] not in ("succeeded", "failed"):
time.sleep(5)
gen = requests.get(f"{BASE}/generations/{gen['id']}", headers=HEADERS, timeout=30).json()
if gen["status"] == "succeeded":
url = gen["outputs"][0]["url"]
with open(url.rsplit("/", 1)[-1], "wb") as f:
f.write(requests.get(url, headers=HEADERS, timeout=120).content)The request is charged when it is accepted and answers 202 with a generation id. Poll GET /v1/generations/{id} until the status is succeeded, then download outputs[0].url; files stay downloadable for 30 days, and a failed generation is refunded in full.
Settings · in input
| Name | Type | Values | Default |
|---|---|---|---|
| image_urls required | urls | — | — |
| face_limit | integer | — | — |
| texture | boolean | — | true |
| pbr | boolean | — | — |
| model_seed | integer | — | — |
| texture_seed | integer | — | — |
| texture_quality | string | standard, detailed | standard |
| geometry_quality | string | standard, detailed | standard |
| auto_size | boolean | — | — |
| quad | boolean | — | false |