将文字转换为语音。
API Key 认证。对于所有 API 请求,请在 Authorization HTTP 头中包含您的 API Key,并加上 Bearer 前缀。示例:Authorization: Bearer {API_KEY}。强烈建议将 API Key 存储在服务端,不要在客户端共享或存储,以避免 API Key 泄漏导致严重后果。
返回生成的音频文件。Content-Type 头设置为音频 MIME 类型(例如 audio/wav、audio/mp3)。如果 streaming 为 true,音频将以分块传输编码方式流式返回。
The response is of type file.