History
Introduction
API Category
Making API Requests
Region APIs
Instance APIs
Cloud Hosting Cluster APIs
Image APIs
Instance Launch Template APIs
Placement Group APIs
Key APIs
Security Group APIs
Network APIs
Data Types
Error Codes
Runtime exception message.
Used by actions: ChatTranslations.
| Name | Type | Description |
|---|---|---|
| Msg | String | Error message. |
| Code | Integer | Error code. 4000 internal service error. 4001 request model timeout. |
3D model related files, files or textures.
Used by actions: Describe3DSmartTopologyJob, DescribeHunyuanTo3DUVJob, QueryHunyuan3DPartJob, QueryHunyuanTo3DProJob, QueryHunyuanTo3DRapidJob, QueryHunyuanTo3DTextureEditJob.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | 3D model or texture. valid values: GIF or OBJ or Image. |
| Url | String | No | Specifies the file Url (valid for 24 hours). |
| PreviewImageUrl | String | No | Preview image Url. |
Image information.
Used by actions: SubmitHunyuanTo3DTextureEditJob.
| Name | Type | Required | Description |
|---|---|---|---|
| Url | String | No | Image Url. |
| Base64 | String | No | Image Base64. |
3D file.
Used by actions: Submit3DSmartTopologyJob, SubmitHunyuan3DPartJob, SubmitHunyuanTo3DTextureEditJob, SubmitHunyuanTo3DUVJob.
| Name | Type | Required | Description |
|---|---|---|---|
| Url | String | Yes | Specifies the file Url with a valid period of 24 hours. |
| Type | String | Yes | Specifies the file format. |
Specifies the detailed information of the input token.
Used by actions: ChatTranslations.
| Name | Type | Description |
|---|---|---|
| CachedTokens | String | The number of cache tokens. |
Translate dialogue reference example.
Used by actions: ChatTranslations.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | Translate text type, enumerate "sentence" means sentence, "term" means terminology. |
| Text | String | No | Original. |
| Translation | String | No | Translation. |
Translate the reply returned by the translation api, support multiple.
Used by actions: ChatTranslations.
| Name | Type | Description |
|---|---|---|
| FinishReason | String | End flag, can be stop or sensitive. stop means output ends normally. sensitive only appears when streaming output review is enabled, indicating security review not passed. |
| Index | Integer | Index value, used when streaming. |
| Delta | TranslationDelta | Incremental return value used when streaming this field. |
| Message | TranslationMessage | Return value, used when non-streaming. |
Translate the API response content (streaming return).
Used by actions: ChatTranslations.
| Name | Type | Description |
|---|---|---|
| Role | String | Role name. |
| Content | String | Content details. |
Translate the session content via translation api.
Used by actions: ChatTranslations.
| Name | Type | Description |
|---|---|---|
| Role | String | Role. valid values: system, user, assistant, tool. |
| Content | String | Text content. |
Token quantity.
Used by actions: ChatTranslations.
| Name | Type | Description |
|---|---|---|
| PromptTokens | Integer | Input Token quantity. |
| CompletionTokens | Integer | Output Token quantity. |
| TotalTokens | Integer | Total Token quantity. |
| PromptTokensDetails | PromptTokensDetails | Details of the input token. |
Multi-Perspective images.
Used by actions: SubmitHunyuanTo3DProJob.
| Name | Type | Required | Description |
|---|---|---|---|
| ViewType | String | No | Specifies the viewing angle type. Valid values: back, left, right. |
| ViewImageUrl | String | No | Image Url. |
| ViewImageBase64 | String | No | base64 address of the image. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários