This commit is contained in:
Hoan HL
2026-01-12 17:18:11 +07:00
parent 460ca70ea7
commit ded60cb7aa
2 changed files with 7 additions and 8 deletions

View File

@@ -417,7 +417,7 @@ const synthGoogle = async(logger, {
}) => {
const client = new ttsGoogle.TextToSpeechClient(credentials);
const isGemini = credentials.use_gemini_tts;
const isGemini = !!model;
const isVoiceCloning = typeof voice === 'object' && voice.voice_cloning_key;
// Build input based on voice type