GET
Models List API
Get a list of all available TTS models and understand supported languages and features
/api/v1/tools/models
Request Parameters
Request Headers
Parameter Name | Type | Required | Description |
---|---|---|---|
X-API-Key | string | Required | User API key for authentication |
Request Example
curl -X GET https://unifiedtts.com/api/v1/tools/models \
-H "X-API-Key: your-api-key-here"
Response Description
Success Response (200)
Field | Type | Description |
---|---|---|
success | boolean | Whether the operation was successful |
message | string | Response message description |
timestamp | number | Response timestamp (Unix timestamp in milliseconds) |
data | array<string> | List of available model names, sorted by provider and alphabetically |
Response Example
{
"success": true,
"message": "操作成功",
"timestamp": 1703123456789,
"data": [
"edge-tts",
"azure-tts",
"cosyvoice-v1",
"cosyvoice-v2",
"sambert-v1",
"speech-2.5-hd-preview",
"speech-2.5-turbo-preview",
"speech-02-hd",
"speech-02-turbo",
"speech-01-hd",
"speech-01-turbo"
]
}
Login Required for Online Testing
Please log in and get an API Key first, then you can test the API online
Login