Add Google Gemini TTS API support#37
Open
shoryasethia wants to merge 8 commits intoPromtEngineer:mainfrom
Open
Add Google Gemini TTS API support#37shoryasethia wants to merge 8 commits intoPromtEngineer:mainfrom
shoryasethia wants to merge 8 commits intoPromtEngineer:mainfrom
Conversation
Author
|
@PromtEngineer Hello, Requesting your review for this PR. |
Author
PR Update: Gemini TTS Support - Ready for ReviewI've updated this PR with significant improvements and fixes. The implementation is now fully tested and working. What This PR AddsGoogle Gemini Text-to-Speech Integration - Adds support for Google's latest TTS capabilities using the Gemini 2.5 Flash Preview TTS model. Major Changes & Fixes (Jan 24, 2026)1. Migrated to New Official Google API
2. Fixed Deepgram SDK Compatibility
3. Fixed Audio Format Issues
Configurable OptionsUsers can customize Gemini TTS in config.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for Google Gemini's Text-to-Speech (TTS) API to Verbi, allowing users to use Google's latest TTS capabilities alongside existing providers.
Changes Made
voice_assistant/text_to_speech.pygeminias a TTS model optiongoogle-generativeaiUsage
Set
TTS_MODEL = 'gemini'inconfig.pyand addGOOGLE_API_KEYto your.envfile.References