Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/jsonRequired
{
"model": "cosyvoice-v2",
"voice": "longxiaochun",
"input": "欢迎使用POLOAPI"
}
Request Code Samples
curl --location '/v1/audio/speech' \
--header 'X-Request-Id;' \
--header 'X-Tenant-Id;' \
--header 'X-Channel;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "cosyvoice-v2",
"voice": "longxiaochun",
"input": "欢迎使用POLOAPI"
}'
Modified at 2026-06-29 08:45:13