Skip to content

API request for STT works fine with specifying a URL, but not when base64 encoding the file #428

Closed Answered by DamienDeepgram
ewheelerinc asked this question in General help
Discussion options

You must be logged in to vote

You can find how to transcribe a local file here: https://developers.deepgram.com/docs/transcribing-pre-recorded-audio#transcribe-a-local-file

curl
--request POST
--header 'Authorization: Token YOUR_DEEPGRAM_API_KEY'
--header 'Content-Type: audio/wav'
--data-binary @youraudio.wav
--url 'https://api.deepgram.com/v1/listen'

Also make sure to rotate the API Key you posted above

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ewheelerinc
Comment options

Answer selected by ewheelerinc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants