Tripo-Format Conversion

Updated at:

Tripo format conversion converts a 3D model to formats such as GLTF, USDZ, FBX, OBJ, STL, and 3MF, and supports mesh processing, texture baking, and export settings.

ImportantThis document applies only to the China (Beijing) region. Use an API key from this region.

Prerequisites

  1. Enable the service: Go to the Alibaba Cloud Model Studio console, search for "Tripo", find the Tripo model card, and click Enable Now. In the dialog box, confirm the authorization.
  2. Configure your API key: Select a region, get an API key, and then configure the API key as an environment variable.
  3. Prepare a preceding task: Create a task that outputs a 3D model, such as a Tripo-Text/Image to 3D task. After the task succeeds, pass its task_id in original_model_task_id.

HTTP calls

The API uses asynchronous calls. The process involves two steps: create a task and then poll for the result.

Step 1: Create a task

China (Beijing): POST https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1/services/aigc/video-generation/3d-generation

Replace {WorkspaceId} with your actual workspace ID.

Note

  • After the task is created, use the returned task_id to query the result. The task_id is valid for 24 hours. Do not create duplicate tasks. Instead, use polling to retrieve the result.
  • For guidance for beginners, see Call APIs with Postman or cURL.

Request parameters

Request headers

Content-Type string (Required)

The content type of the request. Must be application/json.

Authorization string (Required)

Authenticates the request with a Model Studio API key. Example: Bearer sk-xxxx.

X-DashScope-Async string (Required)

Enables asynchronous processing. HTTP requests support only asynchronous calls. Must be enable.

ImportantIf this request header is missing, the error "current user api does not support synchronous calls" is returned.

Request body

model string (Required)

The model name. Fixed value: Tripo/Tripo-ConvertFormat.

input object (Required)

The model input.

Properties

original_model_task_id string (Required)

The preceding task ID. Pass the task_id returned when the preceding task is created. The system automatically uses the 3D model output by the task.

The preceding task can be any task that outputs a 3D model file (such as GLB), for example a Tripo-Text/Image to 3D task. The following conditions apply:

  • The preceding task must have succeeded.
  • The account that makes this call must be the same as the account of the preceding task. Referencing a task created by another account returns a 400 error.
  • If you use part_names, pass the task_id of a Tripo-Mesh Segmentation task.

Model limits:

  • Supported formats: GLB, GLTF, FBX, OBJ, and STL.
  • File size: up to 150 MB.

format string (Required)

The target export format. Valid values:

  • GLTF: For web viewers and WebGL engines, such as Three.js and Babylon.js.
  • USDZ: For Apple AR Quick Look and RealityKit.
  • FBX: For Unreal, Unity, and DCC tools such as Maya and Blender.
  • OBJ: A legacy interchange format that does not support animations.
  • STL: For 3D printing. Contains geometry only.
  • 3MF: For 3D printing.

For compatibility, format also accepts glb, which has the same effect as GLTF.

parameters object (Optional)

The format conversion parameters.

Properties

quad boolean (Optional)

Specifies whether to output a quad mesh instead of a triangle mesh. Default value: false.

If enabled, the output format is forced to FBX. If face_limit is not set, the default face count is 10,000.

If set to true, the task is billed as an advanced conversion.

force_symmetry boolean (Optional)

Specifies whether to force the model to be symmetric. Default value: false. Takes effect only when quad is true.

face_limit integer (Optional)

The maximum number of faces of the output model. We recommend a value of at least 100.

Default value: null, which means no limit and the face count of the original model is kept. If quad is enabled, the default face count is 10,000.

If set to a non-null value, the task is billed as an advanced conversion.

flatten_bottom boolean (Optional)

Specifies whether to flatten the bottom of the model. Default value: false. If set to true, the task is billed as an advanced conversion.

flatten_bottom_threshold number (Optional)

The depth threshold for flattening the bottom. Default value: 0.01. Takes effect only when flatten_bottom is true. If set to a value other than 0.01, the task is billed as an advanced conversion.

texture_size integer (Optional)

The size of the diffuse texture, in pixels. We recommend a value from 512 to 8192. The value does not need to be a power of 2.

Default value: 4096. If set to a value other than 4096, the task is billed as an advanced conversion.

texture_format string (Optional)

The texture format. If set to a value other than JPEG, the task is billed as an advanced conversion. Valid values:

  • JPEG: Default value. Produces the smallest files.
  • PNG: Lossless. Supports transparency.
  • WEBP: A modern web format.
  • BMP, DPX, HDR, OPEN_EXR, TARGA, and TIFF: For professional use.

pivot_to_center_bottom boolean (Optional)

Specifies whether to move the pivot of the model to the bottom center. Default value: false. If set to true, the task is billed as an advanced conversion.

scale_factor number (Optional)

The scale factor of the exported model. The value must be greater than 0.

Default value: 1.0. Passing 0 or a negative value does not return an error, but the conversion result is not guaranteed. If set to a value other than 1.0, the task is billed as an advanced conversion.

bake boolean (Optional)

Specifies whether to bake advanced materials into base textures. Default value: true.

pack_uv boolean (Optional)

Specifies whether to pack all UVs into a unified layout. Default value: false.

with_animation boolean (Optional)

Specifies whether to include skeleton and animation data. Default value: true.

animate_in_place boolean (Optional)

Specifies whether to export in-place animations, without root bone movement. Default value: false.

part_names array[string] (Optional)

The names of the parts to export.

  • Part names are taken from the part node names of the preceding mesh segmentation task's result model (GLB), in the form tripo_part_0, tripo_part_1. The task result fields do not return part names separately, and the numbering may be non-contiguous, so read the GLB node names to obtain them.
  • Effective only when the preceding task is a Tripo-Mesh Segmentation task (or the seg_task_id returned by Tripo-Smart Segmentation).
  • If not specified, all parts are processed.
  • Passing a name that does not exist does not error and is still billed.

export_vertex_colors boolean (Optional)

Specifies whether to export vertex colors. Default value: false. Takes effect only for the OBJ and GLTF formats.

export_orientation string (Optional)

The orientation (forward axis) of the exported model. Valid values:

  • +x: Default value. The positive X-axis faces forward.
  • -x: The negative X-axis faces forward.
  • +y: The positive Y-axis faces forward.
  • -y: The negative Y-axis faces forward.

fbx_preset string (Optional)

The compatibility preset for the FBX format. Valid values:

  • blender: Default value. Optimized for import into Blender.
  • 3dsmax: Optimized for import into 3ds Max.
  • mixamo: Compatible with Mixamo rigging.
  • bake_scale: Bakes the scale transform into the geometry when exporting FBX, instead of keeping it on the node transform.

Basic conversion

# The following URL is for the China (Beijing) region. Replace {WorkspaceId} with your actual workspace ID. URLs vary by region.
curl --location 'https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1/services/aigc/video-generation/3d-generation' \
    -H 'X-DashScope-Async: enable' \
    -H "Authorization: Bearer $DASHSCOPE_API_KEY" \
    -H 'Content-Type: application/json' \
    -d '{
    "model": "Tripo/Tripo-ConvertFormat",
    "input": {
        "original_model_task_id": "ca51d54a-ffba-4ecc-8e42-xxxxxx",
        "format": "GLTF"
    }
}'

Advanced conversion (quad mesh)

Setting parameters such as quad or face_limit makes the task billed as an advanced conversion. If quad is enabled, the output format is forced to FBX.

# The following URL is for the China (Beijing) region. Replace {WorkspaceId} with your actual workspace ID. URLs vary by region.
curl --location 'https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1/services/aigc/video-generation/3d-generation' \
    -H 'X-DashScope-Async: enable' \
    -H "Authorization: Bearer $DASHSCOPE_API_KEY" \
    -H 'Content-Type: application/json' \
    -d '{
    "model": "Tripo/Tripo-ConvertFormat",
    "input": {
        "original_model_task_id": "ca51d54a-ffba-4ecc-8e42-xxxxxx",
        "format": "FBX"
    },
    "parameters": {
        "quad": true,
        "face_limit": 5000,
        "fbx_preset": "blender"
    }
}'

Response parameters

output object

The task output information.

Properties

task_id string

The task ID. Valid for queries for 24 hours.

task_status string

The status of the task.

Enumeration values

  • PENDING
  • RUNNING
  • SUCCEEDED
  • FAILED
  • CANCELED
  • UNKNOWN: The task does not exist or its status is unknown.

request_id string

Unique request identifier for tracing and troubleshooting.

code string

Error code. Returned only for failed requests. See Error codes.

message string

Detailed error message. Returned only for failed requests. See Error codes.

Successful response

Save the task_id to query the task status and result.

{
    "output": {
        "task_status": "PENDING",
        "task_id": "0385dc79-5ff8-4d82-bcb6-xxxxxx"
    },
    "request_id": "4909100c-7b5a-9f92-bfe5-xxxxxx"
}

Error response

Task creation failed. See Error codes.

{
    "code": "InvalidApiKey",
    "message": "No API-key provided.",
    "request_id": "7438d53d-6eb8-4596-8835-xxxxxx"
}

Step 2: Query the task result

China (Beijing): GET https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1/tasks/{task_id}

Note

  • Polling recommendation: Format conversion usually takes 10 to 30 seconds. We recommend using a polling mechanism: query 10 seconds after submitting the task, and then every 15 to 30 seconds.
  • Task status flow: PENDING (queued) → RUNNING (processing) → SUCCEEDED (successful) / FAILED (failed).
  • Task ID validity: The task ID is valid for 24 hours. After this period, you can no longer query the result, and the API returns the task status as UNKNOWN.
  • RPS limit: The default RPS for the query API is 20. For higher-frequency queries or event notifications, we recommend that you configure asynchronous task callbacks.
  • More operations: To query tasks in batches or cancel a task, see Manage Asynchronous Tasks.

Request parameters

Request headers

Authorization string (Required)

Authenticates the request with a Model Studio API key. Example: Bearer sk-xxxx.

Path parameters

task_id string (Required)

The ID of the task.

Query task result

Replace {task_id} with the task_id value returned by the previous API call. The task_id is valid for queries for 24 hours. Replace {WorkspaceId} with your actual workspace ID.

curl -X GET https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/api/v1/tasks/{task_id} \
--header "Authorization: Bearer $DASHSCOPE_API_KEY"

Response parameters

output object

The task output information.

Properties

task_id string

The task ID. Valid for queries for 24 hours.

task_status string

The status of the task.

Enumeration values

  • PENDING
  • RUNNING
  • SUCCEEDED
  • FAILED
  • CANCELED
  • UNKNOWN: The task does not exist or its status is unknown.
State transitions during polling:
  • PENDING (queued) → RUNNING (processing) → SUCCEEDED (successful) / FAILED (failed).
  • The status of the first query is usually PENDING or RUNNING.
  • When the status changes to SUCCEEDED, the response contains the URL of the converted 3D model.
  • If the status is FAILED, check the error message and retry.
  • If the status is CANCELED, the task was canceled. To continue, submit a new task.
  • If the status is UNKNOWN, the task does not exist or its status is unknown. This can occur if the task_id does not exist or has exceeded its 24-hour validity period.

submit_time string

The time when the task was submitted. Format: YYYY-MM-DD HH:mm:ss.SSS.

scheduled_time string

The time when the task started running. Format: YYYY-MM-DD HH:mm:ss.SSS.

end_time string

The time when the task was completed. Format: YYYY-MM-DD HH:mm:ss.SSS.

results array

The list of conversion results. Returned only when task_status is SUCCEEDED. Each URL is a signed temporary link that is valid for 2 hours. Please download it promptly.

Properties

model_url string

The URL of the converted 3D model.

code string

Error code. Returned only for failed requests. See Error codes.

message string

Detailed error message. Returned only for failed requests. See Error codes.

usage object

The output statistics. Returned only when the task succeeds.

Properties

3d_task_type string

The task type. Fixed to convert-3d-format for format conversion.

credits_consumed integer

The credits consumed by the task, which equal convert_level.

convert_level integer

The credits consumed by the format conversion, calculated based on the conversion complexity (basic or advanced). For the conditions, see Billing and parameter notes.

Task succeeded

{
    "request_id": "cc451f5a-fdd7-9d9e-a3a9-xxxxxx",
    "output": {
        "task_id": "2ea046a6-d7bd-4c26-af70-xxxxxx",
        "task_status": "SUCCEEDED",
        "submit_time": "2026-10-21 12:59:21.869",
        "scheduled_time": "2026-10-21 12:59:21.908",
        "end_time": "2026-10-21 12:59:30.384",
        "results": [
            {
                "model_url": "https://openapi.cdn.tripo3d.com/xxxx/tripo_convert_xxxx.glb?auth_key=xxxx"
            }
        ]
    },
    "usage": {
        "3d_task_type": "convert-3d-format",
        "credits_consumed": 5,
        "convert_level": 5
    }
}

Task failed

If the task fails, task_status is set to FAILED, and an error code and message are returned. See Error codes.

{
    "request_id": "e5d70b02-ebd3-98ce-9fe8-xxxxxx",
    "output": {
        "task_id": "86ecf553-d340-4e21-af6e-xxxxxx",
        "task_status": "FAILED",
        "code": "InvalidParameter",
        "message": "The parameter is invalid xxxxxx"
    }
}

Task query expired

The task_id is valid for queries for 24 hours. After this period, the following response is returned.

{
    "request_id": "a4de7c32-7057-9f82-8581-xxxxxx",
    "output": {
        "task_id": "502a00b1-19d9-4839-a82f-xxxxxx",
        "task_status": "UNKNOWN"
    }
}

Billing and parameter notes

  • Billing tiers: Format conversion is billed in two tiers, basic and advanced. Advanced conversions consume more credits. A task is billed as an advanced conversion if any of the following conditions is met. Otherwise, it is billed as a basic conversion. For the actual credits consumed, see usage.convert_level in the query result.
    • quad is true.
    • face_limit is set to a non-null value.
    • flatten_bottom is true.
    • flatten_bottom_threshold is not 0.01.
    • texture_size is not 4096.
    • texture_format is not JPEG.
    • pivot_to_center_bottom is true.
    • scale_factor is not 1.0.
  • Unsupported parameter: smart_low_poly (smart low-poly) is a parameter of the Tripo-Text/Image to 3D API and is not supported by the format conversion API. If a request includes it, for example when reusing the parameters of a generation task, it is ignored. No error is returned and no credits are charged for it.
  • Unlisted parameters: Except for smart_low_poly, passing a parameter not listed in this topic returns a 400 error (InvalidParameter).

Error messages

If the model call fails and returns an error message, see Error messages for solutions.