From b898d794b030105fc64415ee972ab6f51271caa0 Mon Sep 17 00:00:00 2001 From: Hoan HL Date: Wed, 8 Oct 2025 15:05:04 +0700 Subject: [PATCH] wip --- lib/synth-audio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/synth-audio.js b/lib/synth-audio.js index 9f16857..63c2e48 100644 --- a/lib/synth-audio.js +++ b/lib/synth-audio.js @@ -915,7 +915,7 @@ const synthElevenlabs = async(logger, { const optimize_streaming_latency = opts.optimize_streaming_latency ? `?optimize_streaming_latency=${opts.optimize_streaming_latency}` : ''; try { - const post = bent('https://api.elevenlabs.io', 'POST', 'buffer', { + const post = bent(`https://${api_uri}`, 'POST', 'buffer', { 'xi-api-key': api_key, 'Accept': 'audio/mpeg', 'Content-Type': 'application/json'