From 29edccd5bfb8ecb745826c935836438d21d1ed2c Mon Sep 17 00:00:00 2001 From: Hoan HL Date: Sat, 17 Jan 2026 15:10:17 +0700 Subject: [PATCH] wip --- lib/synth-audio.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/synth-audio.js b/lib/synth-audio.js index 4ba01b8..25162d9 100644 --- a/lib/synth-audio.js +++ b/lib/synth-audio.js @@ -421,8 +421,8 @@ const synthGoogle = async(logger, { const isVoiceCloning = typeof voice === 'object' && voice.voice_cloning_key; // HD voices have pattern like en-US-Chirp3-HD-Charon const isHDVoice = typeof voice === 'string' && voice.includes('-HD-'); - // Live API is used for HD voices - const useLiveApi = isHDVoice; + // Live API is used for HD voices and Gemini voices + const useLiveApi = isGemini || isHDVoice; // Streaming support for Google TTS (Gemini, HD voices, and standard voices) // Voice cloning does not support streaming