sfortis / openai_tts
Text-to-speech for Home Assistant from OpenAI, Mistral, Groq, Lemonfox, Kokoro, Chatterbox or any server that implements the OpenAI speech API, with announcements that restore your volume and music.
Why this job: says: text to speech; topics: text-to-speech, tts, speech-synthesis
What it does
- Several TTS agents under one entry, each with its own model, voice, speed, audio format and audio processing.
- Audio in mp3, opus, aac, flac, wav or pcm, chosen per profile. Some providers accept fewer formats, and the selector then offers only those: Groq accepts wav, Chatterbox accepts mp3, opus and wav, and OpenRouter accepts mp3 and pcm.
- Streaming playback, so audio plays as it arrives instead of after the whole clip is written. Streaming works with mp3, opus, aac and pcm. A wav or flac file states its length in a header before any audio exists, so those two formats are alw
- Sentence streaming for the voice assistant, off by default and set per profile. When the conversation agent streams its reply, speech starts on the first finished sentence rather than on the finished reply. It needs mp3 or pcm, and the prof
- Loudness normalisation, on by default. It runs on the stream for mp3, opus, aac and pcm. For wav and flac, and whenever a chime is added, it runs on the finished clip instead.
Get started
No single install command. Read the steps in the README (opens in new tab)
- Maintenance
- Active
- Last commit 29 days ago
- Stars
- 222
- +1 this week
- Licence
- GPL-3.0
- Share-alike terms
- Downloads for
- None listed
- No release files
- Latest version
- v3.11
- Released 29 days ago
- Built with
- Python
- 100% of the code
Is it looked after?
- Contributors
- 4
- Last 90 days
- Issues
- 98% closed
- 1 still open
- Pull requests
- 10 merged
- 0 waiting
- Releases
- 52
- 30+ in the last year
- Contributing guide (opens in new tab)
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| KoljaB / RealtimeTTS | 4,052 | 3 days ago | MIT | No downloads |
| devnen / Chatterbox-TTS-Server | 1,499 | 5 months ago | MIT | No downloads |
| lukaszliniewicz / Pandrator | 648 | yesterday | MIT | Windows, Linux |
More: languages, topics and project record
Languages
- Python 100%
Topics
- ai
- chatterbox
- chime
- groq
- ha
- hacs
- home-assistant
- homeassistant
- kokoro
- llm
- local-llm
- mistral
Project record
- JobSpeech and audio
- StatusListed
- Commits279
- Forks55
- Watching2
- Stars in 28 days+2
- CreatedNov 10, 2023
- First seen by usNov 7, 2026
- CheckedNov 7, 2026
