Authorization: Bearer ********************
{
"model": "tts-1",
"input": "您好,我是v-api TTS小助理,感谢体验我们的API服务!",
"voice": "alloy",
"response_format": "mp3"
}
curl --location --request POST 'https://vir.vimsai.com/v1/audio/speech' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "tts-1",
"input": "您好,我是v-api TTS小助理,感谢体验我们的API服务!",
"voice": "alloy",
"response_format": "mp3"
}'
// 直接返回音频文件 xxx.mp3