tencent/hunyuan-3d-smart-topology, served by Comfy Router from Tencent.
Quick start
Create a key in your Comfy workspace and export it asCOMFY_API_KEY. The Python and TypeScript snippets use the Comfy SDKs (pip install comfy-sdk, npm install @comfyorg/sdk); the cURL snippet is the same call over raw HTTP.
Model ID: tencent/hunyuan-3d-smart-topology
Endpoint: POST https://api.comfy.org/v2/models/tencent/hunyuan-3d-smart-topology
Schema
Input
string
Polygon reduction level.Possible values:
high, medium, lowobject
required
3D file input for smart topology
string
required
3D file format typePossible values:
OBJ, GLBstring (uri)
required
URL of the 3D file to retopologiseFormat:
uristring
Polygon type for the output mesh. Defaults to triangle.Possible values:
triangle, quadrilateralGET /v2/models/tencent/hunyuan-3d-smart-topology/openapi.json, the same document it validates a call against before the request reaches the provider.
Output
object
required
string
Tencent’s error code, documented as an empty string when there is no error. Router does not read it once
Status is present.string
Tencent’s error message, documented as an empty string when there is no error. Router does not read it once
Status is present.string
Tencent’s own request identifier, for troubleshooting with Tencent. It is neither the job id nor an asset.
object[]
required
The finished job’s generated 3D files. Present and non-empty on the document Router returns; at least one entry carries a fetchable
Url. The links are Tencent’s own and are documented as valid for 24 hours.string (uri)
Preview image URLFormat:
uristring
3D file formatPossible values:
GLB, OBJstring (uri)
File URL (valid for 24 hours)Format:
uristring
required
Possible values:
DONEExamples
Input
Output
Before you ship
The SDKs create anIdempotency-Key and reuse it for automatic retries. For manual retries, reuse the original key. Router can hold the connection for up to 10 minutes.
When a request fails, Router sends an X-Comfy-Error-Type response header explaining why. A 422 means Router rejected the input before calling the provider. Download generated assets promptly because result URLs can expire.
Headers
Authentication, idempotency, request IDs, error buckets, retry pacing, spend limits.
Using the Router API
Model discovery, validation errors, retries, and billing.
Limitations
What Router does not do today, and what to use instead.