Docs3D generation

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.

StepMethod and pathWhat it does
1. SubmitPOST /v1/videosSend the model and a prompt or image URL as JSON. Returns the task ID
2. Check progressGET /v1/videos/{task ID}Repeat at intervals until status is completed or failed
3. Download the fileGET /v1/videos/{task ID}/contentReturns 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 IDProviderGood for
tripo-h3.1Tripo (H3.1)High-precision geometry with textures and PBR materials. 3D printing and film
tripo-p1Tripo (P1)Low face counts (50–20,000) with clean topology. Game and mobile assets
tripo-p2Tripo (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).

bash
# 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.

JSON
{"model": "tripo-p1", "image": "https://example.com/chair.png"}
JSON
{
  "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).

ParameterRequiredDescription
modelYesModel ID
promptYes, for text to 3DWhat to create (up to 1,024 characters). Describing shape, material, style and scale gives steadier results. Leave it out when starting from images
imageYes, for image or multiviewImage URL (PNG, JPEG or WebP, up to 20 MB, 256×256 px or larger recommended). For multiview, the front view
metadata.input.viewsFor multiviewURLs of the other views: one or more of {"left": …, "back": …, "right": …}
Other metadata.input fieldsSee 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, resolution or metadata.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).

FieldValuesModelsWhat it does
texturetrue, falseAllAdd textures. Default true
pbrtrue, falseAllAdd 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_qualitystandard, detailed, extreme, fastAllTexture quality. detailed (HD) and extreme (8K) add credits. fast only with texture_version: "v3.5-20260815"
texture_versionv3.5-20260815, v3.0-20250812, v2.5-20250123AllVersion of the texture model
delighttrue, falseAllRemove baked-in lighting before texturing (only with texture_version: "v3.5-20260815")
face_limitIntegerAllMaximum face count. P1: 50–20,000; P2: 48–50,000 triangles or 48–25,000 quads
geometry_qualitystandard, detailedtripo-h3.1detailed gives finer geometry (adds credits)
quadtrue, falsetripo-h3.1, tripo-p2Quad mesh (adds credits). The file is FBX
smart_low_polytrue, falsetripo-h3.1Hand-made style low poly (adds credits)
generate_partstrue, falsetripo-h3.1Split into parts (adds credits). Only when both texture and pbr are false
compressgeometrytripo-h3.1Compress the file
auto_sizetrue, falseAllScale to real-world size (meters)
export_uvtrue, falseAllUV unwrapping
export_orientation+x, -x, +y, -yAllForward axis of the export
model_seed, texture_seedIntegerAllThe same value gives the same geometry or texture
negative_promptUp to 255 charactersText inputWhat to avoid
image_seedIntegerText inputSeed for the internal reference image
enable_image_autofixtrue, falseOne imageClean up the input image automatically
texture_alignmentoriginal_image, geometryImage or multiviewMatch textures to the input image or to the geometry
orientationdefault, align_imageImage or multiviewAlign 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)TextImageMultiview
tripo-h3.110 / 2020 / 3020 / 30
tripo-p130 / 4040 / 5040 / 50
tripo-p2100 / 110100 / 110100 / 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.

  1. When you submit, the price of the model's most expensive combination is held from your balance (tripo-h3.1 85, tripo-p1 70, tripo-p2 135 credits). If your balance or the key's spending limit is not enough, the request is refused (HTTP 403)
  2. After generation, the price is recalculated from the credits the provider reports, and the difference is refunded
  3. 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).

SituationHTTP status and error.codeWhat to do
You set seconds or similar, or sent a form400, invalid_requestSee 1. Submit
A field or value the model does not support, or an image URL that cannot be fetched400, upstream_errorCheck the options and the URLs
Not enough balance or key spending limit403, insufficient_quotaTop 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

WhatSourceChecked
The three models, input types, options and values, face count ranges, file formatshttps://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-versions2026-11-14
Credits and official price (1 credit = $0.01)https://developers.tripo3d.ai/en/pricing , https://developers.tripo3d.ai/en/docs/billing2026-11-14
The hold at submission, recalculation from actual credits, full refunds on failure, rejected requestsMeasured in Echo's test environment, with the same relay settings as production and a test server in place of the provider's API2026-11-14