原生 OpenAI 格式
文本转语音
- 将文本转换为音频
POST
Documentation Index
Fetch the complete documentation index at: https://docs.elkapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
所有接口均需要使用 Bearer Token 进行认证。在请求头中添加:
Body
示例:
tts-1要转换的文本
可选值:
alloy、echo、fable、onyx、nova、shimmer可选值:
mp3、opus、aac、flac、wav、pcm