update deepgram tts endpoint

This commit is contained in:
Quan HL
2024-03-05 20:55:19 +07:00
parent ced1a0ef0d
commit 0f9a9edc4d
+1 -1
View File
@@ -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'