3D generation
How to create 3D models from text, an image or multiview images (Tripo), the options you can set, how credits are charged, and the errors.
Generating a 3D model takes one to a few minutes, so like video it runs as a task (you submit it, then fetch the result after generation finishes) in three steps. The paths are the same as video generation.
| Step | Method and path | What it does |
|---|---|---|
| 1. Submit | POST /v1/videos | Send the model and a prompt or image URL as JSON. Returns the task ID |
| 2. Check progress | GET /v1/videos/{task ID} | Repeat at intervals until status is completed or failed |
| 3. Download the file | GET /v1/videos/{task ID}/content | Returns the finished 3D model file (usually GLB; FBX when quad: true) |
The base URL and how to send your key are the same as the other OpenAI-format endpoints (https://token.echohub.io/v1, Authorization: Bearer <key>).
Models
| Model ID | Provider | Good for |
|---|---|---|
tripo-h3.1 | Tripo (H3.1) | High-precision geometry with textures and PBR materials. 3D printing and film |
tripo-p1 | Tripo (P1) | Low face counts (50–20,000) with clean topology. Game and mobile assets |
tripo-p2 | Tripo (P2) | The next P generation. Supports quad meshes (quad); 48–50,000 triangles or 48–25,000 quads |
All three models work from text, one image, or multiview images (front plus at least one of left, back, right). Prices are on each model's page in the model list.
Example
Create a 3D model from text and save it as model.glb. Put your key in the ECHO_API_KEY environment variable (quickstart).
# 1. Submit. Note the returned id
curl "https://token.echohub.io/v1/videos" \
-H "Authorization: Bearer $ECHO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "tripo-h3.1",
"prompt": "A low-poly medieval wooden treasure chest with iron hinges",
"metadata": {"input": {"texture_quality": "detailed"}}
}'
# 2. Check progress. Set TASK_ID to the id returned in step 1
TASK_ID="task_..."
curl "https://token.echohub.io/v1/videos/$TASK_ID" \
-H "Authorization: Bearer $ECHO_API_KEY"
# 3. When status is completed, download the file
curl -o model.glb "https://token.echohub.io/v1/videos/$TASK_ID/content" \
-H "Authorization: Bearer $ECHO_API_KEY"To start from an image, put the image URL in image instead of prompt. For multiview, put the front view in image and the other views in metadata.input.views.
{"model": "tripo-p1", "image": "https://example.com/chair.png"}{
"model": "tripo-p2",
"image": "https://example.com/front.png",
"metadata": {"input": {"views": {"left": "https://example.com/left.png", "back": "https://example.com/back.png"}, "quad": true}}
}1. Submit
Send these fields to POST /v1/videos as JSON (Content-Type: application/json).
| Parameter | Required | Description |
|---|---|---|
model | Yes | Model ID |
prompt | Yes, for text to 3D | What to create (up to 1,024 characters). Describing shape, material, style and scale gives steadier results. Leave it out when starting from images |
image | Yes, for image or multiview | Image URL (PNG, JPEG or WebP, up to 20 MB, 256×256 px or larger recommended). For multiview, the front view |
metadata.input.views | For multiview | URLs of the other views: one or more of {"left": …, "back": …, "right": …} |
Other metadata.input fields | See options below |
- Pass images as public URLs the provider's servers can fetch. Form uploads (
multipart/form-data) are not accepted (HTTP 400) - Do not set
seconds,duration,size,resolutionormetadata.parameters(HTTP 400). 3D is charged by the actual credits after generation (see pricing)
When the request is accepted, HTTP 200 returns the task ID. Checking progress, the meaning of status, and tasks that do not finish within 24 hours work the same as video generation.
Options
Write options in metadata.input using the provider's (Tripo's) field names. Fields you leave out use the provider's defaults. Requests with a field the model does not support are rejected (HTTP 400).
| Field | Values | Models | What it does |
|---|---|---|---|
texture | true, false | All | Add textures. Default true |
pbr | true, false | All | Add PBR materials (metallic, roughness and so on). Default true; true also turns on textures. For bare geometry, set both texture and pbr to false |
texture_quality | standard, detailed, extreme, fast | All | Texture quality. detailed (HD) and extreme (8K) add credits. fast only with texture_version: "v3.5-20260815" |
texture_version | v3.5-20260815, v3.0-20250812, v2.5-20250123 | All | Version of the texture model |
delight | true, false | All | Remove baked-in lighting before texturing (only with texture_version: "v3.5-20260815") |
face_limit | Integer | All | Maximum face count. P1: 50–20,000; P2: 48–50,000 triangles or 48–25,000 quads |
geometry_quality | standard, detailed | tripo-h3.1 | detailed gives finer geometry (adds credits) |
quad | true, false | tripo-h3.1, tripo-p2 | Quad mesh (adds credits). The file is FBX |
smart_low_poly | true, false | tripo-h3.1 | Hand-made style low poly (adds credits) |
generate_parts | true, false | tripo-h3.1 | Split into parts (adds credits). Only when both texture and pbr are false |
compress | geometry | tripo-h3.1 | Compress the file |
auto_size | true, false | All | Scale to real-world size (meters) |
export_uv | true, false | All | UV unwrapping |
export_orientation | +x, -x, +y, -y | All | Forward axis of the export |
model_seed, texture_seed | Integer | All | The same value gives the same geometry or texture |
negative_prompt | Up to 255 characters | Text input | What to avoid |
image_seed | Integer | Text input | Seed for the internal reference image |
enable_image_autofix | true, false | One image | Clean up the input image automatically |
texture_alignment | original_image, geometry | Image or multiview | Match textures to the input image or to the geometry |
orientation | default, align_image | Image or multiview | Align the model to the input image |
3. Download the file
GET /v1/videos/{task ID}/content returns the finished 3D model file. Echo does not store files; each call fetches the file from the provider. The provider does not publish how long it keeps files, so download and save the file as soon as the task completes.
Pricing
3D is priced per credit: the price of one credit × the credits a generation uses. Credits depend on the model, the input and the options (the provider's official price is 1 credit = $0.01).
| Credits per generation (no texture / with texture) | Text | Image | Multiview |
|---|---|---|---|
tripo-h3.1 | 10 / 20 | 20 / 30 | 20 / 30 |
tripo-p1 | 30 / 40 | 40 / 50 | 40 / 50 |
tripo-p2 | 100 / 110 | 100 / 110 | 100 / 110 |
Options add: texture_quality: "detailed" +10, "extreme" +20, geometry_quality: "detailed" +20, quad: true +5, smart_low_poly: true +10, generate_parts: true +20.
- When you submit, the price of the model's most expensive combination is held from your balance (
tripo-h3.185,tripo-p170,tripo-p2135 credits). If your balance or the key's spending limit is not enough, the request is refused (HTTP 403) - After generation, the price is recalculated from the credits the provider reports, and the difference is refunded
- Failed tasks and tasks that do not finish within 24 hours are fully refunded
For higher volumes or discounts, contact sales.
Errors
Error bodies use the same format as the other OpenAI-format endpoints (errors).
| Situation | HTTP status and error.code | What to do |
|---|---|---|
You set seconds or similar, or sent a form | 400, invalid_request | See 1. Submit |
| A field or value the model does not support, or an image URL that cannot be fetched | 400, upstream_error | Check the options and the URLs |
| Not enough balance or key spending limit | 403, insufficient_quota | Top up, or raise the spending limit |
Other errors (wrong task ID, downloading before completion and so on) are the same as video generation. Errors returned at submission are not charged.
Sources
| What | Source | Checked |
|---|---|---|
| The three models, input types, options and values, face count ranges, file formats | https://developers.tripo3d.ai/en/docs/generation-text-to-model/standard , https://developers.tripo3d.ai/en/docs/generation-text-to-model/p , https://developers.tripo3d.ai/en/docs/generation-image-to-model/standard , https://developers.tripo3d.ai/en/docs/generation-multiview-to-model/standard , https://developers.tripo3d.ai/en/docs/models-and-versions | 2026-11-14 |
| Credits and official price (1 credit = $0.01) | https://developers.tripo3d.ai/en/pricing , https://developers.tripo3d.ai/en/docs/billing | 2026-11-14 |
| The hold at submission, recalculation from actual credits, full refunds on failure, rejected requests | Measured in Echo's test environment, with the same relay settings as production and a test server in place of the provider's API | 2026-11-14 |