tencent cloud

Data Types
Last updated:2026-01-27 14:54:57
Data Types
Last updated: 2026-01-27 14:54:57

ErrorMsg

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.

File3D

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.

InputFile3D

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.

PromptTokensDetails

Specifies the detailed information of the input token.

Used by actions: ChatTranslations.

Name Type Description
CachedTokens String The number of cache tokens.

Reference

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.

TranslationChoice

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.

TranslationDelta

Translate the API response content (streaming return).

Used by actions: ChatTranslations.

Name Type Description
Role String Role name.
Content String Content details.

TranslationMessage

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.

Usage

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.

ViewImage

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.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback