Skip to main content
POST
Translate file extraction results
Translate a file task’s extraction results into the specified target language.

Authorizations

x-ti-app-id
string
header
required
x-ti-secret-code
string
header
required

Body

application/json
task_id
string
required

ID of a task that completed recognition. Send as a string.

Example:

"1978297791713619968"

target_language
enum<string>
required

Target language (ISO 639-1), non-empty. Use zh-CN for Simplified Chinese or zh-TW for Traditional Chinese.

Available options:
zh-CN,
zh-TW,
ja,
ko,
en,
fr,
pt,
de,
it,
es,
ru,
th,
vi,
ms,
id,
hi,
bn,
ar,
pl
Example:

"zh-CN"

source_language
enum<string>

Source language (ISO 639-1). Omit or send an empty string for automatic detection; an explicit value must differ from the target language.

Available options:
,
zh-CN,
zh-TW,
ja,
ko,
en,
fr,
pt,
de,
it,
es,
ru,
th,
vi,
ms,
id,
hi,
bn,
ar,
pl
Example:

""

Response

200 - application/json

Translation request result

code
integer
required

Status code

Example:

200

msg
string
required

Status description

result
object