http
Base URL: https://openapi.tripo3d.ai/v3
Endpoint: POST /mesh/print-autofix
Check whether a 3D model is printable (watertightness, non-manifold geometry, and ratio of walls thinner than 1 mm), and optionally repair the mesh geometry automatically (type: autofix_3d_printer).
Pricing
- Check only (
autofix_3d_printeromitted orfalse): Free (no precharge, no billing transaction). - Repair (
autofix_3d_printer=true) withmodel_urlproduced: 10 credits (× account batch / VIP discount). - Repair (
autofix_3d_printer=true) withoutmodel_url(already printable or unrepairable): Refunded in full (precharged 10 credits cancelled automatically; task remainsstatus=success,credits_consumedomitted on task query and0in usage history / Webhooks). - Submission failure, task failure, or expiration: Refunded in full.
Error Codes
400 / 1004Missinginput:input is required for autofix_3d_printer (task_id, file_token, or URL)400 / 1004Malformedinput:invalid input: must be a valid task_id (UUID), file_token, or URL400 / 1004Invalidmax_size_3d_printer:max_size_3d_printer must be a positive number of millimeters, got 0.0400 / 1004Non-booleanautofix_3d_printer:autofix_3d_printer must be a boolean, got true400 / 1004Invalidmodel:invalid model for autofix_3d_printer; allowed: default400 / 1004Unsupported / uppercase extension:print autofix source model must use a lowercase extension glb, fbx, stl, ply, obj, usd or usdz, got model.gltf400 / 1004Source task has no model output:original task has no model output404 / 2001Source task not found / not owned:The task is not found400 / 2007Source task not succeeded:The original task is not a succeeded task
For authentication, insufficient credits (403 / 2010), rate limits (429 / 2000), external model import failures (400 / 2006), and other common errors, see Error Handling.
Note
- This endpoint requires an API Key. Include it in the Authorization header as Bearer {api_key}. Example identifiers are illustrative; replace them with values returned by your requests.
- This is an asynchronous API. After submitting the request, use the Task Query API to poll for results, or configure a Webhook to receive automatic notifications when the task completes.
Request Parameters
Request Body
inputstringRequired
Model source, accepting one of three formats:
Choose one of the following formats. When a
file_token or URL is provided, the server synchronously imports the model before running print check/repair (no extra credit cost, though request latency increases).- task_id (UUID) — a succeeded task owned by the current API key that has a model output (must be within the 7-day asset retention period; expired tasks return
400 / 2006).
Example:00000000-0000-0000-0000-000000000001 - file_token — an upload token returned by POST /v3/files.
Example:file_<your-upload-token> - URL — a publicly accessible model URL.
Example:https://example.com/models/sample.glb
Notes
- Source file extension must be lowercase
glb,fbx,stl,ply,obj,usd, orusdz(uppercase extensions and.gltfare rejected).
modelstringdefault: default
Processing model version; only
default is supported. Any other value returns 400 / 1004.autofix_3d_printerbooleandefault: false
Whether to run automatic geometry repair.
false runs printability check only (free). true runs geometry repair (precharges 10 credits, confirmed only if a repaired model file is produced; refunded in full otherwise).Notes
Must be a boolean; also validated when passed inside
parameters.max_size_3d_printernumberRequired
Target longest edge of the model in millimeters (mm). Used only to evaluate walls thinner than
1 mm at scale; does not rescale the returned mesh.Notes
Must be a finite number greater than
0 (not a boolean). Also validated when passed inside parameters.Response
printable.watertightbooleanRequired
Whether the model is watertight (
true only when every part is watertight).printable.non_manifoldintegerRequired
Total count of non-manifold vertices plus non-manifold edges across all parts (
0 when manifold).printable.thinwall_rationumberRequired
Share of surface area thinner than
1 mm (range [0, 1]). Always -1 when the model is not watertight and wall thickness cannot be measured.model_urlstring
Signed download URL for the repaired model. Present only when
autofix_3d_printer=true and repair actually produced a new model file; omitted for check-only calls, models that are already printable, or meshes that cannot be repaired.Examples
Check an existing task (free)
{
"input": "00000000-0000-0000-0000-000000000001",
"model": "default",
"autofix_3d_printer": false,
"max_size_3d_printer": 100
}Repair from a file_token (up to 10 credits)
{
"input": "file_<your-upload-token>",
"autofix_3d_printer": true,
"max_size_3d_printer": 100
}Repair from a model URL (up to 10 credits)
{
"input": "https://example.com/models/sample.glb",
"autofix_3d_printer": true,
"max_size_3d_printer": 120
}Create task
{
"code": 0,
"status": "success",
"data": {
"task_id": "00000000-0000-0000-0000-000000000002",
"type": "autofix_3d_printer",
"status": "queued"}
}Check-only result (free)
{
"code": 0,
"status": "success",
"data": {
"task_id": "00000000-0000-0000-0000-000000000002",
"type": "autofix_3d_printer",
"status": "success",
"progress": 100,
"input": {
"original_model_id": "00000000-0000-0000-0000-000000000001",
"model_version": "default",
"autofix_3d_printer": false,
"max_size_3d_printer": 100.0
},
"output": {
"printable": {
"watertight": true,
"non_manifold": 0,
"thinwall_ratio": 0.000005
}
},
"created_at": "2026-12-01T00:00:00Z",
"completed_at": "2026-12-01T00:00:18Z"}
}Repair result with new model (10 credits)
{
"code": 0,
"status": "success",
"data": {
"task_id": "00000000-0000-0000-0000-000000000003",
"type": "autofix_3d_printer",
"status": "success",
"progress": 100,
"input": {
"original_model_id": "00000000-0000-0000-0000-000000000001",
"model_version": "default",
"autofix_3d_printer": true,
"max_size_3d_printer": 100.0
},
"output": {
"printable": {
"watertight": true,
"non_manifold": 0,
"thinwall_ratio": 0.000005
},
"model_url": "https://cdn.example.com/output/repaired.glb"},
"created_at": "2026-12-01T00:01:00Z",
"completed_at": "2026-12-01T00:01:42Z",
"credits_consumed": 10.00,
"cost_amount": "0.10",
"currency": "USD",
"files_expired": false,
"files_expire_at": "2026-12-09T00:00:00Z"}
}Repair result without new model (refunded in full)
{
"code": 0,
"status": "success",
"data": {
"task_id": "00000000-0000-0000-0000-000000000004",
"type": "autofix_3d_printer",
"status": "success",
"progress": 100,
"input": {
"original_model_id": "00000000-0000-0000-0000-000000000001",
"model_version": "default",
"autofix_3d_printer": true,
"max_size_3d_printer": 100.0
},
"output": {
"printable": {
"watertight": false,
"non_manifold": 3,
"thinwall_ratio": -1
}
},
"created_at": "2026-12-01T00:02:00Z",
"completed_at": "2026-12-01T00:02:15Z"}
}