ON.1-API 文档、API 调试、API Mock、API 自动化测试!
Authorization: Bearer ********************
{
"model": "tts-1",
"input": "敏捷的棕色狐狸从懒惰的狗身上跳过去。",
"voice": "alloy"
}
curl --location --request POST '/v1/audio/speech' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "tts-1",
"input": "敏捷的棕色狐狸从懒惰的狗身上跳过去。",
"voice": "alloy"
}'
// 直接返回音频文件 xxx.mp3