Domain name for API request: hunyuan.intl.tencentcloudapi.com.
The SmartTopoly API uses the Polygen 1.5 model. After manually inputting a 3D high-poly model, it can generate a neat 3D model with lower polygon count.
1 concurrent is provided by default, which means 1 submitted task can be processed simultaneously. The next task can be processed only after the previous task is completed.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: Submit3DSmartTopologyJob. |
| Version | Yes | String | Common Params. The value used for this API: 2023-09-01. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| File3D | Yes | InputFile3D | Source 3D file model link Reference value:glb,obj One of the file formats is required. Url: file size cannot exceed 200MB. 3D model requirements: complex models and topologized models do not support face reduction. recommended input is non-topologized high-poly models, such as those generated by hunyuan 3d. high applicability categories include hard surface, game character, prop, daily objects. |
| PolygonType | No | String | Polygon type, indicates the model surface is composed of grid components, defaults to triangle Reference value: triangle: triangle face quadrilateral: triangular and quadrilateral mixed face |
| FaceLevel | No | String | Reduction level bit type valid values: high, medium, low |
| Parameter Name | Type | Description |
|---|---|---|
| JobId | String | Task ID. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: hunyuan.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: Submit3DSmartTopologyJob
<Common request parameters>
{
"File3D": {
"Url": "https://cos.ap-guangzhou.myqcloud.com/xxx.glb",
"Type": "GLB"
}
}{
"Response": {
"JobId": "1405140131170074624",
"RequestId": "f1dcd98c-47d2-47fe-81f2-26f4e0fec5d7"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Feedback