Tencent Hunyuan

3D AI Studio

Tencent Hunyuan

Tencent Hunyuan remeshing API reference. AI-powered topology optimization with triangle or quad output and high, medium, low density presets.

Smart Topology

POST

/v1/3d-models/tencent/topology/

Restructure a 3D model's geometry using AI-powered smart topology. Supports GLB and OBJ input, triangle or quadrilateral output, and three density levels. Cost: 100 credits.

Request
curl -X POST https://api.3daistudio.com/v1/3d-models/tencent/topology/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file_url": "https://example.com/model.glb",
    "file_type": "GLB",
    "polygon_type": "quadrilateral",
    "face_level": "medium"
  }'
Response
{
  "task_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "created_at": "2026-02-25T12:00:00Z"
}

Parameters

ParameterTypeRequiredDescription
file_urlstring (URL)YesURL to the source 3D model file.
file_typestringNoInput file format: "GLB" or "OBJ". Default: "GLB".
polygon_typestringNoTarget mesh topology: "triangle" or "quadrilateral". Default: none (auto).
face_levelstringNoTarget mesh density: "high", "medium", or "low". Default: none (auto).
output_formatstringNoDesired output format: "OBJ", "FBX", "STL", or "USDZ". Default: "OBJ".

Polygon Type

Controls the type of polygons in the output mesh.

ValueDescription
triangleOutput mesh uses triangular faces. Best for real-time rendering, games, and AR/VR.
quadrilateralOutput mesh uses quad faces. Best for subdivision modeling, animation, and CAD workflows.

Face Level

Controls the density of the output mesh.

ValueDescription
highPreserves maximum geometric detail. Larger file size.
mediumBalanced detail and file size. Good for most use cases.
lowAggressive simplification. Smallest file size, ideal for web and mobile.

Checking Status

GET

/v1/generation-request/<task_id>/status/

Poll this endpoint with the task_id from the submit response. When status is "FINISHED", the results array contains your remeshed 3D model with download URLs and thumbnails. Results expire after 24 hours.

Request
curl https://api.3daistudio.com/v1/generation-request/YOUR_TASK_ID/status/ \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "status": "FINISHED",
  "progress": 100,
  "results": [
    {
      "asset_url": "https://cdn.3daistudio.com/models/remeshed_model.obj",
      "asset": "https://storage.3daistudio.com/assets/remeshed_model.obj",
      "asset_type": "3D_MODEL",
      "thumbnail": "https://storage.3daistudio.com/thumbnails/remeshed_model.png"
    }
  ]
}

Credit Costs

OperationCredits
Smart Topology100 credits

Processing Times

Smart topology typically takes 2–5 minutes depending on the complexity and polygon count of the input model.

Errors

Common errors for topology endpoints.

StatusError CodeDescription
402insufficient_creditsNot enough credits. Top up your wallet.
429rate_limitedRate limit exceeded. Wait and retry.
400validation_failedMissing or invalid parameters.