
Parameter Name | Required | Type | Description |
model | Yes | string | Name of the UV unwrapping model. Default value: hy-3d-uv. Example value: hy-3d-uv |
file | Yes | object | url of the 3D file that requires UV unwrapping. Size: 60M Format: fbx, obj, glb Other requirements: The input file has 30,000 faces, and the number of components or connected domains does not exceed 100. |
Parameter Name | Type | Description |
id | string | Task id (valid for 24 hours). Example value: 1315932989749215232. |
request_id | string | Unique request id, generated by the server and returned for each request (if a request fails to reach the server for other reasons, no request_id is returned for that request). Provide the request_id of the request when locating issues. |
object | string | Type of the returned object. For 3d jobs, the value is fixed as 3d_job. |
created_at | integer | Task creation time. |
status | string | completed: task succeeded, failed: task failed, in_progress: in progress, queued: queued. Example value: completed. |
Parameter Name | Required | Type | Description |
model | Yes | string | Name of the UV unwrapping model. Default value: hy-3d-uv. Example value: hy-3d-uv |
id | Yes | string | Task id. Example value: 1357237233311637504 |
Parameter Name | Type | Description |
status | string | completed: task succeeded, failed: task failed, in_progress: in progress, queued: queued. Example value: completed. |
request_id | string | Unique request id, generated by the server and returned for each request (if a request fails to reach the server for other reasons, no request_id is returned for that request). Provide the request_id of the request when locating issues. |
object | string | Type of the returned object. For 3d jobs, the value is fixed as 3d_job. |
created_at | integer | Task creation time. |
completed_at | integer | Task completion time. |
data | array of object | List of generated results, including generated 3d model files and related resource information. For details, see the data data structure. |
curl -X POST 'https://tokenhub-intl.tencentcloudmaas.com/v1/api/3d/submit' \\-H 'Authorization: Bearer YOUR_API_KEY' \\-H 'Content-Type: application/json' \\-d '{"model": "hy-3d-uv","file": {"url": "https://example.com/test.fbx"}}'
{"id": "14721*****320","request_id": "11f64379-bb0b-46b2-b89f-17d75fc12365","object": "3d_job","created_at": 1784885898,"status": "queued"}
curl -X POST 'https://tokenhub-intl.tencentcloudmaas.com/v1/api/3d/query' \\-H 'Authorization: Bearer YOUR_API_KEY' \\-H 'Content-Type: application/json' \\-d '{"model": "hy-3d-uv","id": "14721*****320"}'
{"request_id": "74a967e4-0e81-48c1-afde-555b79a1cdf3","object": "3d_job","created_at": 1786947866,"completed_at": 1786947866,"status": "completed","data": [{"type": "obj","url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/texture_to_3d/output/1254418******-4b66-bc94-8ad7285e659f.obj"},{"type": "fbx","url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/texture_to_3d/output/125441*****3-4b66-bc94-8ad7285e659f.fbx"},{"type": "image","url": "https://hunyuan-prod-1258344699.cos.ap-guangzhou.tencentcos.cn/texture_to_3d/output/125441*****d3-4b66-bc94-8ad7285e659f_latent.png"}]}
Parameter Name | Required | Type | Description |
type | No | string | 3D model file type. Example value: fbx |
url | Yes | string | 3D model file URL. |
Parameter Name | Type | Description |
type | string | Type of the generated result file. Example value: obj. |
url | string | Download URL of the generated result file. |
フィードバック