faster voice responses

This commit is contained in:
Arjun 2026-03-13 11:32:10 +05:30
parent 47d5118448
commit 779ad51f9f
2 changed files with 60 additions and 24 deletions

View file

@ -49,7 +49,7 @@ export async function synthesizeSpeech(text: string): Promise<{ audioBase64: str
},
body: JSON.stringify({
text,
model_id: 'eleven_multilingual_v2',
model_id: 'eleven_flash_v2_5',
voice_settings: {
stability: 0.5,
similarity_boost: 0.75,