Authorization: Bearer ********************
{
"model": "tts-1",
"input": "敏捷的棕色狐狸从懒惰的狗身上跳过去。",
"voice": "alloy"
}
curl --location --request POST 'https://api.apicore.ai/v1/audio/speech' \
--header 'Authorization: Bearer sk-xxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "tts-1",
"input": "敏捷的棕色狐狸从懒惰的狗身上跳过去。",
"voice": "alloy"
}'
// 直接返回音频文件 xxx.mp3