Skip to main content

Translation (TranslatorReq)

Data Structure

FINTLTranslatorReq: Translation Request

ParametersTypeExplanationNote
srcLangstringOriginal Language
Default: auto
Mandatory
targetLangstringTarget Language
Default: empty
Mandatory
translateTextsstringTranslation content, format is "[\"xxx\", \"xxx\"]", up to 5 sets
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