Information API
Query supported models
GET/v1/models
Query all available translation models.
- Complete address
- https://otranslator.com/api/v1/models
- Authentication
- No API Key required
- Content-Type
- application/json
- Invalid format
- { "error": "Invalid API key." }
Precautions
The model list is returned dynamically based on the current runtime environment configuration, and deprecated models will not appear in the results.
When creating a translation task, if model is not provided, the system will use the current default base model.
Example
curl
1curl -X GET 'https://otranslator.com/api/v1/models'Response
| Parameters | Type | Default | Description | Example |
|---|---|---|---|---|
| models | String[] | - | Supported models | Dynamically returned by service configuration, for example ["gpt-4.1-mini", "claude-4-sonnet"]. |