语音与文字转换
文字转语音
将文字内容转换为语音。
POST
Authorizations
API-Key 鉴权。所有 API 请求都应在 Authorization HTTP Header 中包含您的 API-Key,格式为:Bearer {API_KEY}。强烈建议开发者把 API-Key 放在后端存储,而非客户端,以免泄露。
Body
application/json
需要 user
。提供 message_id
或 text
。
Response
200
audio/wav
成功生成语音文件。
The response is of type file
.