Information API
Query supported models
/v1/modelsQuery all available translation models.
Example
curl
1curl -X POST 'https://otranslator.com/api/v1/models' \
2--header 'Authorization: [yourSecretKey]' \
3--header 'Content-Type: application/json' \
4--data '{}'
Response
Parameters | Type | Default | Description | Example |
---|---|---|---|---|
models | String[] | - | Supported models | [] |