Domain name for API request: hunyuan.intl.tencentcloudapi.com.
This API is used to intelligently generate 3D content based on the HunYuan Large Model with input text descriptions or images.
This API is used to provide 1 concurrent task by default, which means only 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: SubmitHunyuanTo3DRapidJob. |
| 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. |
| Prompt | No | String | Text-To-3D, description of 3D content, forward Prompt content. supports up to 200 utf-8 characters. either ImageBase64, ImageUrl, or Prompt is required, and Prompt cannot coexist with ImageBase64/ImageUrl. |
| ImageBase64 | No | String | Input image Base64 data. size: unilateral resolution requirement not less than 128, not greater than 5000, size ≤6m (after encoding, size increases by approximately 30%). format: jpg, png, jpeg, webp. imagebase64, imageurl, and Prompt are required, but Prompt and imagebase64/imageurl cannot coexist. |
| ImageUrl | No | String | Input image Url. size: unilateral resolution requirement not less than 128, not greater than 5000. size ≤8m. format: jpg, png, jpeg, webp. imagebase64, imageurl, and Prompt are required, and Prompt cannot coexist with imagebase64/imageurl. |
| EnablePBR | No | Boolean | Specifies whether PBR material generation is enabled, false by default. |
| EnableGeometry | No | Boolean | Specifies whether to enable the single geometry generation option. when enabled, it generates a 3D model without textures (white model). enabled, the generative model does not support OBJ format. default model file format is GLB. |
| Parameter Name | Type | Description |
|---|---|---|
| JobId | String | Task ID (valid period: 24 hours). |
| 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: SubmitHunyuanTo3DRapidJob
<Common request parameters>
{
"ImageUrl": "https://***.cos.ap-guangzhou.myqcloud.com/***.jpg"
}{
"Response": {
"JobId": "1335141824121323520",
"RequestId": "5f84f1df-7a29-4f93-8dc0-d9e6dea6bff9"
}
}
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