List Voices
Get list of user-defined voice styles
Set the header 'Authorization: Bearer {your API key}' for authentication
In: header
Header Parameters
Request trace ID. You can pass a custom value to mark the request; if omitted, the platform generates one automatically. For troubleshooting, either this value or the x-siliconcloud-trace-id in the response header can be provided.
The W3C Trace Context standard tracing header. When present, the platform uses its trace-id part as the tracing identifier of the request.
Response Headers
Request trace ID. The unique identifier for this request, useful for log lookup and troubleshooting. Generated by the platform when X-Trace-Id is not provided, and echoed back as-is when it is. When troubleshooting, either trace ID can be provided.
Response Body
Successful response.
TypeScript Definitions
Use the response body type in TypeScript.
Predefined voice style list
curl --request GET \
--url https://api.siliconflow.cn/v1/audio/voice/list \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"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"