Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

分享一个自定义Docker TTS 语音项目 可配 web TTS 朗读 #613

Open
artxia opened this issue Dec 7, 2024 · 0 comments
Open

分享一个自定义Docker TTS 语音项目 可配 web TTS 朗读 #613

artxia opened this issue Dec 7, 2024 · 0 comments

Comments

@artxia
Copy link

artxia commented Dec 7, 2024

项目 https://github.com/zuoban/tts?tab=readme-ov-file

使用方法
1、自行配置上述Docker
2、打开本项目reader的web页面,随便点开一部小说,然后点朗读图标
3、点击HttpTTS添加,弹出的默认示例中名字可以自己定义,其他不需要输入,url输入这个
http://192.168.1.X:8080/tts?t={{java.encodeURI(speakText)}}&v=zh-CN-YunxiNeural&r={{java.encodeURI(speakSpeed)}}*4&p=0&o=audio-24khz-48kbitrate-mono-mp3

参数列表:
1. t: 文本内容 (必填)
2. v: 语音名称 (可选), 默认为 zh-CN-XiaoxiaoMultilingualNeural
3. r: 语速 (可选), 默认为 0
4. p: 语调 (可选), 默认为 0
5. o: 输出格式 (可选), 默认为audio-24khz-48kbitrate-mono-mp3
@artxia artxia changed the title 分享一个自定义Docker TTS 语音项目 可配 web TTS 分享一个自定义Docker TTS 语音项目 可配 web TTS 朗读 Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant