Machine Translation API
POSThttps://mt.infer.visai.ai/predict
Header
X-API-Key string required
Your API key
Query Parameters
sl string
Default value: th
Start langauge (th or en)
tl string
Default value: en
Target langauge (en or th)
application/json
Raw JSON body
Request Body required
inputs object
string[]
List of sentence
Responses
- 200
application/json
Schema
Example (from schema)
object
translation Array [
string[]
List of translated sentence
]
{
"translation": [
"Good morning."
]
}
Loading...