Translation (TranslatorReq)
Data Structure
FINTLTranslatorReq: Translation Request
| Parameters | Type | Explanation | Note |
|---|---|---|---|
| srcLang | string | Original Language Default: auto | Required |
| targetLang | string | Target Language Default: empty | Required |
| translateTexts | string | Translation content, format is "[\"xxx\", \"xxx\"]", up to 5 setsDefault: empty | Required |
| topic | String | Background information of translation text Default: empty | Optional |
| pastConversation | string | Historical conversation content Default: empty | Optional |
| remark | String | Other supplementary information Default: empty | Optional |
| noCache | bool | Whether to disable caching true: no cache needed, false: cache needed Default: false | Optional |
| gameCode | String | GameCode assigned by the AI translation service Admin Default: empty | Optional |
| extInfo | string | Extension JSON string for additional parameters Default: empty | Optional |
| traceId | string | Unique request ID for tracking purposes, used for request-response correlation Default: empty | Optional |