From 0f9a9edc4d66e58e8c3409a34e5849cb5fa40a6e Mon Sep 17 00:00:00 2001 From: Quan HL Date: Tue, 5 Mar 2024 20:55:19 +0700 Subject: [PATCH] update deepgram tts endpoint --- 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 472d311..5ba0973 100644 --- a/lib/synth-audio.js +++ b/lib/synth-audio.js @@ -702,7 +702,7 @@ const synthWhisper = async(logger, {credentials, stats, voice, text, renderForCa const synthDeepgram = async(logger, {credentials, stats, model, text}) => { const {api_key} = credentials; try { - const post = bent('https://api.beta.deepgram.com', 'POST', 'buffer', { + const post = bent('https://api.deepgram.com', 'POST', 'buffer', { 'Authorization': `Token ${api_key}`, 'Accept': 'audio/mpeg', 'Content-Type': 'application/json'