18

一个免费开源的 文字转语音 库 / 软件 / 服务 powered by GitHub Action

 3 years ago
source link: https://www.v2ex.com/t/784126
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

一个开源(Apache License)免费的文字转语音服务 /软件 /库,支持中英文。https://github.com/l-O-O-l/TTS-action

这个是一站式,除了 GitHub, 没有用到第三方的服务,token 等

英文样例: Alice’s Adventures in Wonderland, The Tyger By William Blake and Psalms .

中文样例 朱自清 背影 叶挺 囚歌 余光中 乡愁 关雎

更多样例 在这里

Usage

在这个项目里面,新建一个 issue 以 TTS: (优质英文), TTS-F: (快速英文) or TTS-CN: (中文普通话),把需要转的文字写在 issue 里面. 几分钟以后,语音就会生成,链接会在回复里面

中文里面有二十多个不同的声音, 你可以用 TTS-CN: 1$, TTS-CN: 30$ 来转换不同的语音。 具体信息在 docker/ttskit

这个项目用的都是开源内容和免费服务,采用了三个不同的引擎

一旦 issue 建立,Github Action 会触发: 首先读需要转换的文字; 然后用引擎生成语音; 再压缩成 mp3 然后 merge; 最后加上链接,关闭 issue.

谁像上次聊天室公测那样,GHS,贴金瓶梅,我这次一定砍死他


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK