From 83f716bf4ce8b0f06b91297c489ca157bea1557d Mon Sep 17 00:00:00 2001 From: localadministrator Date: Mon, 13 Apr 2026 06:06:12 +0000 Subject: [PATCH] Update voiceai-server.js --- voiceai-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voiceai-server.js b/voiceai-server.js index cf7dfd9..79c4a3b 100644 --- a/voiceai-server.js +++ b/voiceai-server.js @@ -47,7 +47,7 @@ async function generateElevenLabsAudio(text, voiceId, cacheKey) { try { const response = await axios.post( `https://api.elevenlabs.io/v1/text-to-speech/${voiceId}`, - { text, model_id: 'eleven_turbo_v2', voice_settings: { stability: 0.5, similarity_boost: 0.8 } }, + { text, model_id: 'eleven_multilingual_v2', voice_settings: { stability: 0.5, similarity_boost: 0.8 } }, { headers: { 'xi-api-key': ELEVENLABS_KEY, 'Content-Type': 'application/json' }, responseType: 'arraybuffer' } ); const filename = `/opt/voiceai/audio/${cacheKey}.mp3`;