开始生成语音
✅
生成成功!
📱 阅读 APP 集成(源阅读)
源阅读 APP 语音引擎链接:
💡 配置方法:源阅读 → 语音管理 → 右上角创建 → 名称自拟 → 内容粘贴此链接
🔌 API 接口(无需 Key)
POST /v1/audio/speech
Content-Type:
application/jsoninput string 必填 · 要合成的文本
voice string 选填 · 默认 zh-CN-Xiaoxiao:DragonHDFlashLatestNeural
speed number 选填 · 0.5~2.0
pitch string 选填 · -50~50
style string 选填 · 如 chat / cheerful
outputFormat string 选填 · 音频格式
fetch('/v1/audio/speech', {
method:'POST',
headers:{'Content-Type':'application/json'},
body:JSON.stringify({
input:'这是一段测试文本',
voice:'zh-CN-Xiaoxiao:DragonHDFlashLatestNeural',
speed:1.0,
style:'cheerful'
})
}).then(r=>r.blob()).then(b=>URL.createObjectURL(b))