models/Tripo AI/Tripo H3.1 Text to 3D
TA
Tripo AI

Tripo H3.1 Text to 3D

3d
Compare

Generate 3D models from text descriptions using Tripo H3.1.

MODALITIES
text

Tripo H3.1 Text to 3D (tripo3d/h3.1/text-to-3d) is a 3d model from Tripo AI. Pricing via AIgateway: see pricing table. Call it via https://api.aigateway.sh/v1/chat/completions — set model="tripo3d/h3.1/text-to-3d".

model · tripo3d/h3.1/text-to-3d

Use this model

model: tripo3d/h3.1/text-to-3d
curl https://api.aigateway.sh/v1/chat/completions \
  -H "Authorization: Bearer $AIGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"tripo3d/h3.1/text-to-3d"}'
API schema

Call Tripo H3.1 Text to 3D from any OpenAI SDK

POST https://api.aigateway.sh/v1/chat/completions·Content-Type: application/json·Auth: Bearer sk-aig-...

Request body

json
{
  "model": "tripo3d/h3.1/text-to-3d",
  "messages": [
    { "role": "system", "content": "You are a helpful assistant." },
    { "role": "user",   "content": "Hello!" }
  ],
  "temperature": 0.7,
  "top_p": 0.95,
  "max_tokens": 1024,
  "stream": false

}

Response

json
{
  "id": "chatcmpl-abc123",
  "object": "chat.completion",
  "created": 1776947082,
  "model": "tripo3d/h3.1/text-to-3d",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 24,
    "completion_tokens": 12,
    "total_tokens": 36
  }
}

Quickstart

# pip install aigateway-py openai
# aigateway-py adds sub-accounts, evals, replays, jobs, webhook verify.
# openai SDK covers chat — drop-in per our SDK's own guidance.
from openai import OpenAI

client = OpenAI(
    base_url="https://api.aigateway.sh/v1",
    api_key="sk-aig-...",
)

r = client.chat.completions.create(
    model="tripo3d/h3.1/text-to-3d",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)

Errors

401authentication_errorInvalid or missing API key
402insufficient_creditsWallet empty (PAYG only)
404not_foundUnknown model or endpoint
429rate_limit_errorOver per-minute limit — see Retry-After header
500server_errorUpstream provider failed (retryable)
503service_unavailableUpstream saturated (retryable)
Full docs →API reference →OpenAPI spec →llms.txt →

Frequently asked questions

What is Tripo H3.1 Text to 3D?
Generate 3D models from text descriptions using Tripo H3.1. It is a 3d model from Tripo AI, accessible via AIgateway's OpenAI-compatible API at slug tripo3d/h3.1/text-to-3d.
How much does Tripo H3.1 Text to 3D cost via AIgateway?
Pass-through pricing. See the pricing panel on this page for exact rates.
How do I call Tripo H3.1 Text to 3D from my code?
Point the OpenAI SDK at https://api.aigateway.sh/v1 with your AIgateway key and set model to "tripo3d/h3.1/text-to-3d". The request and response shapes match OpenAI exactly.
Does Tripo H3.1 Text to 3D support streaming, tool calling, vision, and JSON mode?
Streaming — no. Tool calling — no. Vision — no. JSON mode — no. Prompt caching — no.
Can I bring my own Tripo AI API key (BYOK)?
Yes. Attach a Tripo AI key in your AIgateway dashboard and this model flips to pass-through — you pay Tripo AI directly and AIgateway adds no platform fee on those calls.