gTTS

gTTS (Google Text-to-Speech), Google Translate'in metinden konuşmaya API'siyle çalışan bir Python kütüphanesi ve CLI aracıdır. Konuşmayı mp3 olarak dosyaya, bayt akışına veya stdout'a yazar. Google ile bağlantısızdır ve belgelenmemiş Translate özelliğini kullandığı için yukarı akış değişiklikleri uyarısız kırılmalara yol açabilir.

GT

gTTS

New54

pndurette · Voice & Text-to-Speech

STARS2.6K
FORKS389
COMMITS0
CONTRIBUTORS0
VERSIONv2.5.4
UPDATED6 mo ago
cligttspypipythonMIT

Common commercial products in this category: ElevenLabs, Amazon Polly, Google Cloud Text-to-Speech

What can it do?
  • Metni gtts-cli komutuyla tek satırda mp3 konuşma dosyasına dönüştürürsün
  • Konuşma özelinde özelleştirilebilir cümle ayırıcıyla sınırsız uzunlukta metni doğru tonlamayla okutabilirsin
  • Özelleştirilebilir metin ön işlemcileriyle telaffuz düzeltmeleri yaparsın
User reviews
  • ↓ NegativeGitHub Issue

    ValueError: Unable to find token seed! Did change?

    “After I send 10-15 requests, I get the following error: ```python Traceback (most recent call last): File "text_to_speech.py", line 25, in text_to_speech(data) File "text_to_speech.py", line 17, in text_to_speech tts.save(f'audio/{key}/def-{i + 1}.mp3') File…”

  • • NeutralGitHub Issue

    Get audio output directly

    “Hello, i have following code: ``` text = "Hello, my name is Josef." targetLanguage = 'de' tts = gTTS(text, targetLanguage) tts.save("synthesized.mp3") ``` Since i play the output directly after this code, is there a way to get the audio output directly as a variable? So i do not…”

Verified against README · Oct 28, 2026 · source

My note

Alternative pages

More in: Voice & Text-to-Speech