Information API
Query supported models
GET/v1/models
Query all available translation models.
- Complete Address
- https://deploy-demo.otranslator.com/api/v1/models
- Authentication
- No API Key needed
- Content-Type
- application/json
- Error Format
- { "error": "Invalid API key." }
Notes
The model list is dynamically returned by the current runtime environment configuration, and deprecated models will not appear in the results.
If model is not provided when creating a translation task, the system will use the current default base model.
Example
1curl -X GET 'https://deploy-demo.otranslator.com/api/v1/models'Response
| Parameters | Type | Default | Description | Example |
|---|---|---|---|---|
| models | String[] | - | Supported models | Dynamically returned by service configuration, for example ["gpt-6-luna", "claude-5-sonnet"]. |