Skip to main content

Translation (TranslatorReq)

Data Structure

FINTLTranslatorReq: Translation Request

ParametersTypeExplanationNote
srcLangstringOriginal Language
Default: auto
Required
targetLangstringTarget Language
Default: empty
Required
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
remarkStringOther supplementary information
Default: empty
Optional
noCacheboolWhether to disable caching
true: no cache needed, false: cache needed
Default: false
Optional
gameCodeStringGameCode assigned by the AI translation service Admin
Default: empty
Optional
extInfostringExtension JSON string for additional parameters
Default: empty
Optional
traceIdstringUnique request ID for tracking purposes, used for request-response correlation
Default: empty
Optional