#Problems with tts

1 messages · Page 1 of 1 (latest)

nova patrol
round gorgeBOT
#

Thanks for asking your question. Please be sure to reply with as much detail as possible so we can assist you efficiently. Such as:

  • Provide the request_id if you've a question about a transcription response.
  • The options you used or the api.deepgram.com URL you sent your request to, including parameters.
  • Any code snippets you can include.
  • Any audio you can include, or if you can't share it here please email it to us at [email protected] and provide a link to this thread.
golden stirrup
#

I found two issues with the sample code. The model alpha-asteria-en does not exist, change it to a supported model. The authorization section needs "Authorization": "Token DEEPGRAM_API_KEY", the word Token needs to be included with the key. I added an if statement to print errors after the post request. See attached example file and diff against your file.

#

Hope that helps