Skip to content

Properly connecting deepgram for Speech to text/ text to speech to Audiocodes #1000

Closed Answered by RyanChimienti
danielgold asked this question in General help
Discussion options

You must be logged in to vote

Hey @danielgold , if you're using AudioCodes LiveHub, you can add Deepgram TTS and Deepgram STT as separate services under Speech Services. Both can be Generic provider (using AC API). The URLs are:

  • TTS: https://integrations.deepgram.com/audiocodes/tts
  • STT: wss://integrations.deepgram.com/audiocodes/stt

This TTS configuration works for me:

Since you're getting a 403 error, another thing you should do is validate that your API key can access Deepgram's TTS API. You can try a request like this (swapping in your API key) and make sure you get a playable mp3 file back:

curl -X POST \
--url 'https://api.deepgram.com/v1/speak?model=aura-asteria-en' \
-H "Authorization: Token $DEEPGRAM_API_KE…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by deepgram-community
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants