
简单的 tts 网页应用 edge-tts-nextjs,基于 edge-tts 和 nextjs
1 cat 2024 年 3 月 8 日 微软的 tts 不是可以直接请求吗,都用 node.js 做后端了,为啥还要依赖个 py 包 |
2 animebing OP @cat 这里使用的 edge-tts 不是直接使用微软的 tts ,而是使用了 edge 浏览器中的朗读提供的 tts 服务,这个是免费使用的 |
3 cat 2024 年 3 月 8 日 @animebing 我知道,我的意思是那个接口是可以直接请求的,不需要借助 python 来增加环境要求 https://github.com/search?q=6A5AA1D4EAFF4E9FB37E23D68491D6F4+language%3AJavascript&type=code&l=Javascript |
4 cat 2024 年 3 月 8 日 @animebing 你用的 edge-tts 也是去请求了相同的 wss 接口 https://github.com/rany2/edge-tts/blob/master/src/edge_tts/constants.py |
5 iorilu 2024 年 3 月 8 日 这个是的, 反正都是调微软接口 你在 js 调不是更好 |