Tripo3d Convert API Documentation

Tripo3d Convert API Documentation

Playground

Try it on WaveSpeedAI!

Tripo3D Convert converts a 3D model to GLTF, FBX, USDZ, OBJ, STL or 3MF, with optional remeshing and export settings. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Features

Tripo3D Convert converts a 3D model into a selected file format, with optional mesh, texture, scale, and export adjustments.


Why Choose This?

  • Format conversion — Export GLTF, FBX, USDZ, OBJ, STL, or 3MF.
  • Mesh and texture controls — Optionally adjust topology, face count, and textures.
  • Export settings — Choose scale, orientation, pivot, and animation options.

Parameters

ParameterRequiredDescription
modelYesThe 3D model to process (GLB, GLTF, FBX, OBJ or STL, up to 150 MB).
formatYesTarget format: GLTF (web), FBX (game engines, DCC tools), USDZ (Apple AR), OBJ, STL or 3MF (3D printing). Options: GLTF, FBX, USDZ, OBJ, STL, 3MF. Default: FBX.
quadNoRemesh to quads (forces FBX). Without a face_limit it targets 10,000 faces. Default: false.
face_limitNoMaximum number of faces. Omit to keep the original count. Range: 48 or greater.
texture_sizeNoDiffuse texture size in pixels. Range: 128 to 8192. Default: 4096.
texture_formatNoTexture image format. Options: JPEG, PNG, WEBP. Default: JPEG.
pivot_to_center_bottomNoMove the pivot to the bottom center. Default: false.
scale_factorNoScale factor for the exported model. Default: 1.
flatten_bottomNoFlatten the bottom of the model. Default: false.
export_orientationNoForward axis of the export. Options: +x, -x, +y, -y. Default: +x.
fbx_presetNoFBX compatibility preset. Options: blender, 3dsmax, mixamo, bake_scale. Default: blender.
bakeNoBake advanced materials into base textures. Default: true.
with_animationNoKeep skeleton and animation data. Default: true.
animate_in_placeNoPlay animations in place, without root motion. Default: false.

How to Use

  1. Upload a model — Provide the source file.
  2. Choose a format — Select the target format.
  3. Adjust optional settings — Configure mesh, texture, or export options as needed.
  4. Submit — Download the converted model.

Pricing

ConfigurationPrice
Basic conversion$0.06
Conversion with advanced adjustments$0.12

The $0.12 price applies when face_limit is provided; when quad, flatten_bottom, or pivot_to_center_bottom is enabled; or when texture_size, texture_format, or scale_factor differs from its default. Multiple advanced adjustments do not add further charges.


Notes

  • quad=true uses FBX output. Without face_limit, its target is 10,000 faces.
  • face_limit has a minimum of 48; omit it to retain the original face count when not using quad remeshing.
  • texture_size supports 128-8,192 pixels.
  • Input models can be up to 150 MB.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result

set -euo pipefail

export WAVESPEED_API_KEY="your-api-key"

REQUEST_BODY=$(cat <<'JSON'
{
  "model": "example",
  "format": "FBX",
  "quad": false,
  "texture_size": 4096,
  "texture_format": "JPEG",
  "pivot_to_center_bottom": false,
  "scale_factor": 1,
  "flatten_bottom": false,
  "export_orientation": "+x",
  "fbx_preset": "blender",
  "bake": true,
  "with_animation": true,
  "animate_in_place": false
}
JSON
)

# 1. Submit the prediction once. Never retry this request automatically:
# a retry after an unclear failure can create a second, billed task.
CHECK='The task may already exist. Check History or the predictions list before submitting again.'
if ! SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
  --connect-timeout 10 --max-time 60 \
  -X POST "https://api.wavespeed.ai/api/v3/tripo3d/convert" \
  -H "Authorization: Bearer ${WAVESPEED_API_KEY}" \
  -H "Content-Type: application/json" \
  -d "${REQUEST_BODY}"); then
  printf 'Submit failed. %s\n' "${CHECK}" >&2
  exit 1
fi

TASK=$(printf '%s' "${SUBMIT_RESPONSE}" | jq 'if type == "object" and has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "${TASK}" | jq -r '.id // empty')
if [ -z "${PREDICTION_ID}" ]; then
  printf 'Submission response did not contain a prediction id. %s\n' "${CHECK}" >&2
  exit 1
fi
RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/${PREDICTION_ID}/result"

# 2. Poll until the prediction reaches a final status.
BODY_FILE=$(mktemp)
trap 'rm -f "${BODY_FILE}"' EXIT
while true; do
  # Transient errors (429, 5xx) are retried, honoring Retry-After.
  HTTP_CODE=$(curl --silent --show-error --fail-with-body \
    --connect-timeout 10 --max-time 60 --retry 5 --retry-delay 2 \
    --output "${BODY_FILE}" --write-out '%{http_code}' \
    "${RESULT_URL}" \
    -H "Authorization: Bearer ${WAVESPEED_API_KEY}" || true)
  case "${HTTP_CODE}" in
    2??) ;;
    000|429|5??)  # dropped connection or temporary error: keep polling
      printf 'Task %s: HTTP %s, polling again in 10s\n' "${PREDICTION_ID}" "${HTTP_CODE}" >&2
      sleep 10; continue ;;
    *) printf 'Task %s: HTTP %s\n' "${PREDICTION_ID}" "${HTTP_CODE}" >&2
      cat "${BODY_FILE}" >&2; exit 1 ;;
  esac
  RESULT=$(jq 'if type == "object" and has("data") then .data else . end' "${BODY_FILE}")
  STATUS=$(printf '%s' "${RESULT}" | jq -r '.status // empty')

  case "${STATUS}" in
    completed) printf '%s\n' "${RESULT}" | jq '.outputs'; break ;;
    failed|cancelled|timeout|deleted)
      printf 'Task %s ended with status %s\n' "${PREDICTION_ID}" "${STATUS}" >&2
      printf '%s\n' "${RESULT}" | jq . >&2; exit 1 ;;
    *) sleep 2 ;;
  esac
done

Retry temporary errors only while polling, never the submit request. Errors, retries and timeouts

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
modelstringYes--The 3D model to process (GLB, GLTF, FBX, OBJ or STL, up to 150 MB).
formatstringYesFBXGLTF, FBX, USDZ, OBJ, STL, 3MFTarget format: GLTF (web), FBX (game engines, DCC tools), USDZ (Apple AR), OBJ, STL or 3MF (3D printing).
quadbooleanNofalse-Remesh to quads (forces FBX). Without a face_limit it targets 10,000 faces.
face_limitintegerNo-48 ~ ∞Maximum number of faces. Omit to keep the original count.
texture_sizeintegerNo4096128 ~ 8192Diffuse texture size in pixels.
texture_formatstringNoJPEGJPEG, PNG, WEBPTexture image format.
pivot_to_center_bottombooleanNofalse-Move the pivot to the bottom center.
scale_factornumberNo1-Scale factor for the exported model.
flatten_bottombooleanNofalse-Flatten the bottom of the model.
export_orientationstringNo+x+x, -x, +y, -yForward axis of the export.
fbx_presetstringNoblenderblender, 3dsmax, mixamo, bake_scaleFBX compatibility preset.
bakebooleanNotrue-Bake advanced materials into base textures.
with_animationbooleanNotrue-Keep skeleton and animation data.
animate_in_placebooleanNofalse-Play animations in place, without root motion.

Every model also accepts the global request options enable_sync_mode and enable_base64_output; see their pages for details.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayOutput values, usually URL strings; some models return text strings or structured result objects (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.statusstringTask status. completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses.
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

ParameterTypeRequiredDefaultDescription
idstringYes-Task ID

Result Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
dataobjectThe prediction data object containing all details
data.idstringUnique identifier for the prediction
data.modelstringModel ID used for the prediction
data.outputsarray<string | object>Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model.
data.urlsobjectObject containing related API endpoints
data.statusstringStatus: completed is successful; failed, cancelled, timeout, and deleted are failure terminal statuses
data.created_atstringISO timestamp of when the request was created
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds
© 2026 WaveSpeedAI. All rights reserved.