Voice during gemini-3.1-flash-live or gemini-3.8-live session not consistent

i have encountered numerous cases where the voice does not remain consistent throughout the session. one sentence may be spoken with a male voice, the next with a different accent or with a female voice.

Has anyone else encountered this problem? any way to lock in a voice for the duration of the session as well as for different sessions specifying the same voice name?

Hello @Yechiel_Corn ,

Please try switching to gemini-4-live (Google AI Studio), which is the recommended replacement for gemini-3.8-live and gemini-3.1-flash-live-preview (Google AI Studio).

In speech_config, pass the same voice_config (prebuilt_voice_config.voice_name or voice) and explicit language_code in session setup so every session starts with the same voice and language target, as there is no separate voice-lock toggle (Google AI Studio).

If the voice or accent still shifts on gemini-4-live, please reply here with the configured voice name, language_code, and whether camera or video frames are streamed alongside audio.