PraaneshSelvaraj/speech_engine
Speech Engine is a Python package that provides a simple interface for synthesizing text into speech using different TTS engines, including Google Text-to-Speech (gTTS) and Wit.ai Text-to-Speech (Wit TTS).
Supports six TTS backends (Google, Wit.ai, OpenAI, Deepgram, ElevenLabs, PlayAI) through a unified class-based interface, enabling engine-agnostic switching via `set_voice()`, `speak()`, and `save()` methods. Each engine wrapper handles authentication tokens/API keys independently and exposes backend-specific voice discovery via `get_voices()`. Output supports multiple audio formats (MP3, WAV) with file extension validation.
Available on PyPI.
Stars
3
Forks
1
Language
Python
License
MIT
Category
Last pushed
Oct 11, 2025
Monthly downloads
569
Commits (30d)
0
Dependencies
5
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/PraaneshSelvaraj/speech_engine"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Featured in
Higher-rated alternatives
KoljaB/RealtimeTTS
Converts text to speech in realtime
pndurette/gTTS
Python library and CLI tool to interface with Google Translate's text-to-speech API
nateshmbhat/pyttsx3
Offline Text To Speech synthesis for python
n1teshy/yapper-tts
offline text to speech and free SOTA LLM APIs to let your programs speak to you
dputhier/pygtftk
A python package and a set of shell commands to handle GTF files