edge-tts
Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key
gTTS — проект с открытым исходным кодом из категории «Аудио» от pndurette (pndurette/gTTS на GitHub). У него 2 636 звёзд на GitHub и 390 форков, он распространяется по лицензии MIT и последний раз обновлялся на GitHub 6 апреля 2026.
gTTS — Python library and CLI that turns text into spoken mp3 via Google Translate's speech API
Decide the text, language and output: an mp3 file, bytes for further audio processing, or stdout in a pipeline.
pip install gTTS — no credentials or project setup needed.
In code, pass the text and language to gTTS(...); optionally add pre-processors for pronunciation fixes.
Save your first mp3 with tts.save(...) or the gtts-cli command, and play it back.
Use the gTTS class in Python or the gtts-cli command for one-off conversions.
A customizable speech-specific sentence tokenizer allows unlimited text lengths while preserving intonation, abbreviations and decimals.
Customizable pre-processing hooks can, for example, provide pronunciation corrections.
Write spoken mp3 to a file, a file-like object (bytestring) for further manipulation, or stdout.
Language selection follows Google Translate's TTS voices (pass the language code to gTTS).
No API key or cloud project — it calls the public Google Translate speech endpoint (internet required).
Clone gTTS if you want the source; users install from PyPI in step 2.
git clone https://github.com/pndurette/gTTS.git
cd gTTSInstall gTTS from PyPI.
pip install gTTSUse the CLI quickstart, or the three-line Python module example.
gtts-cli 'hello' --output hello.mp3
# Python: from gtts import gTTS; gTTS('hello').save('hello.mp3')pndurette (Pierre Nicolas Durette) and contributors maintain it; documentation is at gtts.readthedocs.org.
Yes, MIT-licensed, and the endpoint it uses needs no key. The README warns it relies on an undocumented Google Translate feature, so upstream breaking changes can occur without notice.
No key at all — but it does need internet access to reach Google Translate's speech service.
pyttsx3 works fully offline with system voices; Google Cloud TTS is the official paid API with more voices and an SLA. gTTS sits in between: free and simple, but online and unofficial.
pip install gTTS, then gtts-cli 'hello' --output hello.mp3.
Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key
FastRTC turns any Python function into a real-time audio or video stream over WebRTC or WebSockets
Offline text-to-speech for Python — uses your operating system's own voices, no internet needed
A ready API for speech-to-text with per-user access control.
A macOS voice assistant that turns speech into actions and notes.
Mozilla's deep-learning text-to-speech library with Tacotron, Glow-TTS and neural vocoders.
Другие проекты из категории «Аудио» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если gTTS вам не подходит.
利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.
Robust Speech Recognition via Large-Scale Weak Supervision
1 min voice data can also be used to train a good TTS model! (few shot voice cloning)
Clone a voice from 5 seconds of audio and generate arbitrary speech in real time
Port of OpenAI's Whisper model in C/C++
Соседние проекты из категории «Аудио» в каталоге, ближайшие по числу звёзд к gTTS — продолжайте изучать полку по обе стороны от него.
Vietnamese TTS with instant voice cloning — on-device, real-time CPU inference, 48 kHz audio
MaryTTS — open-source, multilingual text-to-speech platform written in pure Java
MARS5 speech model from CAMB.AI — clone a voice from 5 seconds of audio with striking prosody
Offline text-to-speech for Python — uses your operating system's own voices, no internet needed
Unofficial PyTorch implementation of VALL-E, the neural codec language model for zero-shot TTS
VoiceMem — streaming dual-brain memory for voice agents: a left brain for facts, a right brain for emotion
Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.