google tts authentication help
# ask-ai
w
google tts authentication help
t
Thanks for reaching out, Kushank. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're asking for help with Google TTS authentication — do you want setup steps or help fixing an error? Quick options for authenticating Google Cloud Text-to-Speech with LiveKit Agents: • Provide the service account JSON directly via the TTS config using
credentials_info
. • Save the service account JSON to a file and set the
GOOGLE_APPLICATION_CREDENTIALS
environment variable to that file path. • Use Google Application Default Credentials (ADC). Which method are you using, and are you seeing an error message (paste it here) or do you need the exact config snippet for Python? Sources: Google Cloud TTS integration guide | LiveKit Docs
w
Does google.tts takes model_name ?
t
Regarding your question about
model_name
for
google.tts
— no,
google.tts
does not accept a
model_name
parameter. Use these parameters instead: •
voice_name
(example: "en-US-Standard-H") •
language
•
gender
If you intended to use Google's Gemini TTS, that plugin uses
model
(e.g., "gemini-2.5-flash-preview-tts") rather than
model_name
. Do you want an example config snippet for
google.tts
or Gemini TTS? Sources: Google Cloud TTS integration guide | LiveKit Docs | Gemini TTS plugin guide | LiveKit Docs
t
You're right to flag that PR — good catch. Regarding
model_name
for `google.tts`: • The public Google Cloud TTS plugin documentation lists
voice_name
,
language
, and
gender
— it does not show
model_name
. • The pull request you linked adds
model_name
support to the code, which means the parameter may be present in newer code/versions even though docs haven't been updated. Next steps you can take: • Which LiveKit Agents version are you using? If you tell me the version, I can tell you whether that PR's change should be present. • If you have the code installed locally, you can check the plugin implementation or release notes for
model_name
usage. If you want, I can provide the exact config snippet for
model_name
once you confirm your installed version. Sources: Google Cloud TTS integration guide | LiveKit Docs