docs: 修复 TTS 演示请求路径

This commit is contained in:
WJG 2024-06-25 09:10:45 +08:00
parent 08f3888cd9
commit 500cb3be81
No known key found for this signature in database
GPG Key ID: 258474EF8590014A

View File

@ -44,13 +44,13 @@ export default {
可参考上面的 [MiGPT-TTS](https://github.com/idootop/mi-gpt-tts) 项目代码自行搭建服务端,只需满足以下接口即可:
### GET `TTS_BASE_URL/api/tts.mp3`
### GET `TTS_BASE_URL/tts.mp3`
文字合成音频,请求示例:`/api/tts.mp3?speaker=BV700_streaming&text=很高兴认识你`
其中,请求参数 `speaker` 为指定音色名称或标识,可选。
### GET `TTS_BASE_URL/api/speakers`
### GET `TTS_BASE_URL/speakers`
获取音色列表