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 file.
Used by actions: Describe3DSmartTopologyJob, QueryHunyuan3DPartJob, QueryHunyuanTo3DProJob, QueryHunyuanTo3DRapidJob.
| Name | Type | Required | Description |
|---|---|---|---|
| Type | String | No | 3D file format. valid values: GIF, OBJ. |
| Url | String | No | Specifies the file Url (valid for 24 hours). |
| PreviewImageUrl | String | No | Preview image Url. |
3D file.
Used by actions: Submit3DSmartTopologyJob, SubmitHunyuan3DPartJob.
| 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. |
Feedback