Skip to content

feat: add Gemini 3.1 flash TTS support, implement streaming response …#6134

Merged
tinalenguyen merged 3 commits into
livekit:mainfrom
thorwebdev:thor/feat-gemini-genai-tts
Jun 17, 2026
Merged

feat: add Gemini 3.1 flash TTS support, implement streaming response …#6134
tinalenguyen merged 3 commits into
livekit:mainfrom
thorwebdev:thor/feat-gemini-genai-tts

Conversation

@thorwebdev

Copy link
Copy Markdown
Contributor

…handling, and include new examples and tests.

…handling, and include new examples and tests.
@thorwebdev thorwebdev requested a review from a team as a code owner June 17, 2026 05:01
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

devin-ai-integration[bot]

This comment was marked as resolved.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

Open in Devin Review

]

DEFAULT_MODEL = "gemini-2.5-flash-preview-tts"
DEFAULT_MODEL = "gemini-3.1-flash-tts-preview"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚩 Default model changed to 'gemini-3.1-flash-tts-preview' — breaking change for existing users

The DEFAULT_MODEL was changed from "gemini-2.5-flash-preview-tts" to "gemini-3.1-flash-tts-preview". Any existing code that instantiates GeminiTTS() without explicitly passing model= will now use a different model. This is a behavioral change that could affect output quality, latency, or pricing. Worth noting in changelog/release notes. The old model is still available in the GEMINI_TTS_MODELS literal type, so users can pin to it explicitly.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@tinalenguyen tinalenguyen merged commit cf68d32 into livekit:main Jun 17, 2026
15 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants