Let's login to your Deepgram , navigate to your Dashboard , and choose Get a Transcript via API or SDK:
Click reveal Key and copy your API KEY SECRET:
The next step, paste your API KEY SECRET into line 5 of your index.js, like the following:
Then let's replace line 8 and 9 with our voice file path and mimetype
(Hint: use a new CLI to navigate to the directory where your voice file is located and use pwd
to acquire absolute path):
Now lastly let's run our application with the following command (Make sure you are at /sttApp):
node index.js
And you’ll receive a JSON response including a transcript that you want, including word arrays, timings, and confidence scores:
Pretty COOL!
If you still get confused about the above content, please feel free to get my git repository here: linkToGit
https://console.deepgram.com/project/850abca5-449a-47fa-8c40-6a463e59ad00/mission/transcript-via-api-or-sdk https://dev.to/devteam/join-us-for-a-new-kind-of-hackathon-on-dev-brought-to-you-by-deepgram-2bjd