I wouldn't use Edge TTS for commercial projects since it's using an internal Microsoft API that was reverse engineered.<p>If you are looking for a commercial API, I just launched a TTS API powered by the the best performing open source model Kokoro: <a href="https://www.lemonfox.ai/text-to-speech-api" rel="nofollow">https://www.lemonfox.ai/text-to-speech-api</a>. The API is compatible with OpenAI and ElevenLabs and up to 25x cheaper.
Why would you pirate a TTS service when there are so many great options for local open source TTS now? Models like Fish and Kokoro and StyleTTSv2 are great and very fast.<p>Click the leaderboard tab here: <a href="https://huggingface.co/spaces/TTS-AGI/TTS-Arena" rel="nofollow">https://huggingface.co/spaces/TTS-AGI/TTS-Arena</a>
Its not running on the edge. A hack to use MS online tts.<p>>>
edge-tts is a Python module that allows you to use Microsoft Edge's online text-to-speech service from within your Python code or using the provided edge-tts or edge-playback command.
Have been using this for some time. It is pretty good. But not as good as ElevenLabs though.<p>Also, ironically enough, ElevenLabs lunched a readerapp for iOS and Android, which allows you to text to speech for "free" in some limited voice selections, but the app is not available for PC or as browser extension. So like "we give you unlimited tts but only if you use your smartphone"
Not sure if the CLI does this directly, but here's a command that takes text either as an arg or through stdin.<p><pre><code> function tts() {
if [ -p /dev/stdin ]; then
edge-playback --file -
else
edge-playback --text "$*"
fi
}</code></pre>
I like to use Edge on occasion when I need to read something dry but necessary because I find following along with the TTS it’s auto-highlight of text helps me stay focused and retain better as well.<p>Is there any equivalent program for ebooks? If not can someone build one? The dream would be to plop in an arbitrary document (pdf, docs, tex, epub, and so on) and have it read to me by a reasonable TTS at a speed of my choosing and have words / lines highlighted as the TTS goes along. Bonus points if you can regularly identify and skip things that are not necessarily relevant like page numbers, headers, footnote markers, and so on, which is something that Edge TTS within Edge struggles with when reading PDFs.
Can anyone just make a simple program that will use one of these better TTS engines. I just want a a dialog box, a big button that says "Generate text" and you paste in the content you want converted to receive an MP3 file. Fully compiled binaries for Linux, Windows, and Mac, please?
Thanks for sharing this, I learnt that Edge on mobile has TTS as well but I have never used it on desktop or mobile<p>Now that I try it on desktop, it's really good! I might try to use the python script in the future
This is dubious, I'm surprised MS hasn't locked down those APIs yet.<p>I'm curious, would this be the legal equivalent of "cracked" software in terms of piracy?