deepgram-hello-world

Featured

Create a minimal working Deepgram transcription example. Use when starting a new Deepgram integration, testing your setup, or learning basic Deepgram API patterns. Trigger: "deepgram hello world", "deepgram example", "deepgram quick start", "simple transcription", "transcribe audio".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Deepgram Hello World ## Overview Minimal working examples for Deepgram speech-to-text. Transcribe an audio URL in 5 lines with `createClient` + `listen.prerecorded.transcribeUrl`. Includes local file transcription, Python equivalent, and Nova-3 model selection. ## Prerequisites - `npm install @deepgram/sdk` completed - `DEEPGRAM_API_KEY` environment variable set - Audio source: URL or local file (WAV, MP3, FLAC, OGG, M4A) ## Instructions ### Step 1: Transcribe Audio from URL (TypeScript) ```typescript import { createClient } from '@deepgram/sdk'; const deepgram = createClient(process.env.DEEPGRAM_API_KEY!); async function main() { const { result, error } = await deepgram.listen.prerecorded.transcribeUrl( { url: 'https://static.deepgram.com/examples/Bueller-Life-moves-702702706.wav' }, { model: 'nova-3', // Latest model — best accuracy smart_format: true, // Auto-punctuation, paragraphs, numerals language: 'en', } ); if (error) throw error; const transcript = result.results.channels[0].alternatives[0].transcript; console.log('Transcript:', transcript); console.log('Confidence:', result.results.channels[0].alternatives[0].confidence); } main(); ``` ### Step 2: Transcribe a Local File ```typescript import { createClient } from '@deepgram/sdk'; import { readFileSync } from 'fs'; const deepgram = createClient(process.env.DEEPGRAM_API_KEY!); async function transcribeFile(filePath: string) { const audio = readFil...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category