获取系统中所有可用的语音模型列表,包含语音的详细信息、标签和情感支持
https://xrobo.qiniu.com/v1/voiceshttps://xrobo.qiniu.com/v1application/jsonAuthorizationstring是Bearer token认证GET /v1/voices HTTP/1.1
Host: xrobo.qiniu.com
Authorization: Bearer cab2efa1c82b6b6fb153c123962be6ce{
"code": 0,
"reqid": "req_12345",
"data": {
"voices": [
{
"id": "voice_001",
"name": "小雅/Xiaoya",
"demo": "https://example.com/demo.mp3",
"tags": {
"languages": ["zh", "en"],
"age": "young",
"gender": "female",
"styles": ["温柔", "甜美"],
"scenes": ["客服", "播音"],
"profile": "standard",
"emotions": [
{
"emotion": "开心",
"demo_url": "https://example.com/happy.mp3"
},
{
"emotion": "平静",
"demo_url": "https://example.com/calm.mp3"
}
]
}
}
]
}
}此API需要Bearer token认证,请在请求头中包含有效的访问令牌:
Authorization: Bearer {token}