Get Voice List
curl --request GET \
--url https://api.siliconflow.cn/v1/audio/voice/list \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.siliconflow.cn/v1/audio/voice/list"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.siliconflow.cn/v1/audio/voice/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"model": "fishaudio/fish-speech-1.4",
"customName": "your-voice-name",
"text": "在一无所知中, 梦里的一天结束了,一个新的轮回便会开始",
"uri": "speech:your-voice-name:xxx:xxx"
}
]
}{
"code": 20012,
"message": "<string>",
"data": "<string>"
}"Invalid token""Forbidden""404 page not found"{
"message": "Request was rejected due to rate limiting. If you want more, please contact contact@siliconflow.cn. Details:TPM limit reached.",
"data": "<string>"
}{
"code": 50505,
"message": "Model service overloaded. Please try again later.",
"data": "<string>"
}"<string>"Audio
Retrieve reference audio list
Get list of user-defined voice styles
GET
/
audio
/
voice
/
list
Get Voice List
curl --request GET \
--url https://api.siliconflow.cn/v1/audio/voice/list \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.siliconflow.cn/v1/audio/voice/list"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.siliconflow.cn/v1/audio/voice/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"model": "fishaudio/fish-speech-1.4",
"customName": "your-voice-name",
"text": "在一无所知中, 梦里的一天结束了,一个新的轮回便会开始",
"uri": "speech:your-voice-name:xxx:xxx"
}
]
}{
"code": 20012,
"message": "<string>",
"data": "<string>"
}"Invalid token""Forbidden""404 page not found"{
"message": "Request was rejected due to rate limiting. If you want more, please contact contact@siliconflow.cn. Details:TPM limit reached.",
"data": "<string>"
}{
"code": 50505,
"message": "Model service overloaded. Please try again later.",
"data": "<string>"
}"<string>"⌘I