模型 API
文本转语音
使用 GLM-TTS 将文本转换为自然语音,支持多种声音、情感控制和语调调整。点击 Try it 按钮可快速试用。
post/paas/v4/audio/speech
Request
- Base URLhttps://open.bigmodel.cn/api
- AuthHTTP bearer
Request body
Example request
{
"watermark_enabled": true
}Response
业务处理成功
- 采样率建议设置为24000
Changes
No recorded changes to this operation across all 3 revisions of this API.