信息 API
查询支持的模型
/v1/models查询所有可用的翻译模型。
示例
curl
1curl -X POST 'https://otranslator.com/api/v1/models' \
2--header 'Authorization: [yourSecretKey]' \
3--header 'Content-Type: application/json' \
4--data '{}'响应
| 参数 | 类型 | 默认 | 描述 | 示例 |
|---|---|---|---|---|
| models | String[] | - | 支持的模型 | [] |