edge-tts and edge-tts-as-a-service
The second tool wraps the first tool's core TTS functionality into an HTTP service layer, making them complements designed to be used together in different deployment scenarios (direct Python integration vs. networked service).
About edge-tts
rany2/edge-tts
Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key
Leverages Microsoft Edge's cloud TTS API by reverse-engineering the WebSocket protocol it uses, providing async Python bindings alongside CLI tools (`edge-tts`, `edge-playback`) for batch synthesis. Supports 100+ neural voices across languages with prosody control (rate, pitch, volume), subtitle generation, and integrates with automation frameworks like Home Assistant.
About edge-tts-as-a-service
doctoroyy/edge-tts-as-a-service
This is a simple HTTP service that uses the Edge-TTS library to generate text-to-speech audio files.
Provides both streaming and file-download endpoints for real-time and batch TTS processing, with fine-grained control over speech parameters (rate, pitch, volume). Leverages Microsoft Edge's TTS engine through a Flask REST API, supporting 100+ voices across multiple languages and locales with configurable connection/receive timeouts. Can optionally generate WebVTT subtitle metadata alongside audio output.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work