Query the List of Voices Available for Video Creation
Updated: 2026-07-13 11:57:31
API Description
1、查询可用于视频创作的声音列表
2、接口支持https协议
API URL
http://api.polyv.net/live/v4/ai/video-produce/tts-voice/list
Request Method
GET
API Constraints
- The API supports both HTTP and HTTPS. HTTPS is recommended for security. API calls have frequency limits. See details
Request Parameter Description
| Parameter | Required | Type | Description |
|---|---|---|---|
| appId | true | String | Account appId See details on obtaining keys |
| timestamp | true | Long | Current 13-digit millisecond timestamp, valid for 3 minutes |
| pageNumber | true | Integer | Pagination parameter, page number |
| pageSize | true | Integer | Pagination parameter, number of items per page, maximum 1000 |
| sign | true | String | Signature, a 32-character uppercase MD5 value. The appSecret key used to generate the signature is critical for communication data security. It must never be stored or used directly on the client side. All APIs must be called through your own server to relay requests to the POLYV server to obtain response data. See signature generation rules |
Example
http://api.polyv.net/live/v4/ai/video-produce/ppt/list?timestamp=1716107535043&appId=gopl67qi7e&pageSize=100&sign=6625340A6017272DF55CD1F5DC42CFCB
Response Parameter Description
| Parameter | Type | Description |
|---|---|---|
| code | Integer | Response status code, 200 indicates success, non-200 indicates failure |
| status | String | Response result, determined by business logic, returns success on success, error on failure |
| success | Boolean | Response result, determined by business logic, returns true on success, false on failure |
| data | Object | Channel details returned on success See data field description |
| error | Object | Error information when status code is non-200 See Error field description |
| requestId | String | Request ID, a unique UUID generated for each request, for troubleshooting and debugging only, not for business logic |
data Parameter Description
| Parameter | Type | Description |
|---|---|---|
| pageNumber | Integer | Pagination parameter, page number |
| pageSize | Integer | Pagination parameter, number of items per page |
| totalPages | Integer | Pagination parameter, total number of pages |
| totalItems | Integer | Pagination parameter, total number of items |
| contents | List | Digital human details See contents parameter description |
contents Parameter Description
| Parameter | Type | Description |
|---|---|---|
| id | Integer | Voice ID |
| voiceName | String | Voice name |
| voiceDemoUrl | String | Voice demo audio URL |
| tag | String | Voice tag See voice tag description |
Voice Tag Description
| Value | Type | Description |
|---|---|---|
| MALE_VOICE | String | Male voice |
| FEMALE_VOICE | String | Female voice |
| CHILDREN_VOICE | String | Child voice |
| CUSTOM_VOICE | String | Custom voice |
| OTHERS | String | Other languages |
Response Example
Success Example
{
"code": 200,
"status": "success",
"requestId": "e90aba2c69a24bab894c7f708b853b75.78.17161093299827469",
"data": {
"pageNumber": 1,
"pageSize": 5,
"totalPages": 20,
"totalItems": 96,
"contents": [
{
"id": 1,
"voiceName": "晓晓",
"voiceDemoUrl": "https://img.videocc.net/e5f34f7744/html/adv/wav/tts-demo/zh-CN-XiaoxiaoNeural-demo.wav",
"tag": "FEMALE_VOICE"
},
{
"id": 2,
"voiceName": "晓晓-客户服务",
"voiceDemoUrl": "https://img.videocc.net/e5f34f7744/html/adv/wav/tts-demo/zh-CN-XiaoxiaoNeural-customerservice-demo.wav",
"tag": "FEMALE_VOICE"
},
{
"id": 3,
"voiceName": "晓晓-新闻播报",
"voiceDemoUrl": "https://img.videocc.net/e5f34f7744/html/adv/wav/tts-demo/zh-CN-XiaoxiaoNeural-newscas-demo.wav",
"tag": "FEMALE_VOICE"
},
{
"id": 4,
"voiceName": "晓晓-愉悦",
"voiceDemoUrl": "https://img.videocc.net/e5f34f7744/html/adv/wav/tts-demo/zh-CN-XiaoxiaoNeural-cheerful-demo.wav",
"tag": "FEMALE_VOICE"
},
{
"id": 5,
"voiceName": "晓晓-平静",
"voiceDemoUrl": "https://img.videocc.net/e5f34f7744/html/adv/wav/tts-demo/zh-CN-XiaoxiaoNeural-calm-demo.wav",
"tag": "FEMALE_VOICE"
}
]
},
"success": true
}
Error Parameter Description
| Parameter | Type | Description |
|---|---|---|
| code | Integer | Error code, used to identify the specific error |
| desc | String | Error description, corresponds to error.code |
