Get the latest tech news
Edge TTS
Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key - rany2/edge-tts
If you wish to play it back immediately with subtitles, you could use the edge-playback command: All edge-tts commands work with edge-playback with the exception of the--write-media,--write-subtitles and--list-voices options. Any available customization options that could be used in the<prosody> tag are already available from the library or the command line itself.
Or read this on Hacker News