DEV Community

Cover image for Speech-to-text with Deepgram
Nick Taylor
Nick Taylor

Posted on • Originally published at iamdeveloper.com

Speech-to-text with Deepgram

Bekah Hawrot Weigel (@bekahhw) joined me on my stream today to show how you can transcribe text using Deepgram's Node.js SDK.

We went through the demo code all the way to building out an app with Express that allows you to submit a URL for transcription.

Here's the code for what we built out

GitHub logo nickytonline / deepgram-speech-to-text-stream

Bekah Hawrot Weigel joins Nick to show how you can transcribe text using Deepgram's Node.js SDK. They go through the demo code all the way to building out an app with Express that allows you to submit a URL for transcription.

Using Deepgram for speech-to-text

Bekah Hawrot Weigel joins Nick to show how you can transcribe text using Deepgram's Node.js SDK. They go through the demo code all the way to building out an app with Express that allows you to submit a URL for transcription.

Using Deepgram for speech-to-text with Bekah H. Weigel

Installation

  1. Create a Deepgram account and API key. See the official docs for this. Add the API key to .env file, e.g.
DEEPGRAM_API_KEY="YOUR_API_KEY"
  1. Run npm install
  2. Run `node src/server/server.js
  3. Navigate to http://localhost:3000.



Check out their docs if you want to learn more about what Deepgram can do!

Also, be sure to check out Bekah's latest post!

Thanks for hanging Bekah!

Discussion (0)