Skip to main content

Translation (TranslatorReq)

Data Structure

INTLTranslatorReq: Translation Request

ParametersTypeExplanationNote
srcLangStringOriginal Language
Default: auto
Required
targetLangStringTarget Language
Default: empty
Required
translateTextsStringTranslation content, format: "[\"xxx\", \"xxx\"]", up to 5 groups
Default: empty
Required
topicStringBackground information of translation text
Default: empty
Optional
pastConversationStringHistorical conversation content
Default: empty
Optional
noCacheStringWhether to disable caching
true: no cache needed, false: cache needed
Default: false
Optional