Skip to main content
POST
Translate file extraction results

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 Snowflake IDs as strings; do not convert them to JavaScript Number.

Example:

"1978297791713619968"

target_language
enum<string>
required

Required target language as a concrete ISO 639-1 code.

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 as an ISO 639-1 code. Omit it or send an empty string to enable automatic detection.

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

The request has been processed. Check the business code in the response for the outcome.

code
integer
required

Status code

Example:

200

msg
string
required

Status description

result
object