rachit-sharma08/coding-agent-skills/deepgram-api

Claude Code and agent skill by rachit-sharma08/coding-agent-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Deepgram API reference for speech-to-text, text-to-speech, voice agents, audio intelligence, and account management. Use whenever building with Deepgram APIs — REST or WebSocket. Covers authentication, all endpoints, query parameters, request/response schemas, and WebSocket message formats. Reference files are organized by domain: listen (STT — Nova and Flux STT), speak (TTS — Aura and Flux TTS), agent (voice agents), read (text/audio intelligence), models, projects, auth, and self-hosted.

Install

npx vskill@latest install rachit-sharma08/coding-agent-skills/deepgram-api

SKILL.md

The same SKILL.md was published earlier as rachit-sharma08/coding-agent-skills/deepgram-api.

Deepgram API

Build with Deepgram's speech-to-text, text-to-speech, voice agent, and audio intelligence APIs.

"Flux" names two separate products. Flux STT is conversational speech-to-text on /v2/listen (model=flux-general-en). Flux TTS is turn-based speech synthesis on /v2/speak (model=flux-{voice}-{language}). They share a name and a design philosophy — turn-aware, built for voice agents — but they are different endpoints with different models, params, and messages. When a request just says "Flux", check whether it is about transcribing audio or producing it.

Getting Started

All API requests require authentication via API key or JWT:

  • API Key: Authorization: Token <API_KEY>
  • JWT: Authorization: Bearer <JWT>

Base servers:

  • REST & STT/TTS WebSocket: https://api.deepgram.com
  • Voice Agent WebSocket and `GET /v1/agent/settings/think/models`: https://agent.deepgram.com

GET /v1/agent/settings/think/models lives on the agent. host too, not on api.: it returns 404 on api.deepgram.com and 200 on agent.deepgram.com. Everything else REST stays on api.deepgram.com.

Regional endpoints

To keep processing inside a geography, swap the host. Same API keys, same paths, same SDKs — only the base URL changes. Requests are never routed out of region: if the region is unavailable they fail rather than fall back.

RegionHost
EUapi.eu.deepgram.com
Australiaapi.au.deepgram.com
Indiaapi.in.deepgram.com

The data plane is regional; the Projects management API is not. On all three regional hosts:

EndpointRegional
POST /v1/listen, wss://…/v1/listenYes
wss://…/v2/listenYes
POST /v1/speak, wss://…/v1/speakYes
POST /v2/speak, wss://…/v2/speakYes
POST /v1/readYes
wss://…/v1/agent/converseYes
GET /v1/modelsYes
POST /v1/auth/grantYes
/v1/projects/* (keys, members, usage, billing)No — 404

Two host rules that catch people out:

  1. Voice Agent moves onto the `api.` host regionally. There is no agent.eu.deepgram.com

(the name does not resolve). Use wss://api.eu.deepgram.com/v1/agent/converse. GET /v1/agent/settings/think/models moves with it. Globally it stays on agent.deepgram.com.

  1. Keep management calls on `api.deepgram.com`. Point a client's management calls at a

regional host and /v1/projects returns 404, so split the base URL by call type if your app both transcribes and manages keys.

Whisper models are not served in any of the three regions — use Nova or Flux STT models there.

For Deepgram Dedicated and self-hosted hosts, see Custom Endpoints; for the full per-region feature matrix and SDK snippets, see Regional Endpoints.

How Deepgram's APIs Fit Together

┌──────────────────────────────┐
│ api.deepgram.com │
└──────────────────────────────┘
│
┌───────────┬───────────┬─────┴─────┬───────────┬───────────┐
▼ ▼ ▼ ▼ ▼ ▼
/v1/listen /v2/listen /v1/speak /v2/speak /v1/read /v1/projects/*
Nova — STT Flux — STT Aura — TTS Flux — TTS Text AI Management
REST + WSS WSS only REST + WSS REST + WSS REST only REST only
┌──────────────────────────────┐
│ agent.deepgram.com │
└──────────────────────────────┘
│
▼
/v1/agent/converse
WebSocket only
audio ──▶ STT ──▶ LLM ──▶ TTS ──▶ audio
(Deepgram orchestrates the full pipeline)

Which API Should I Use?

Audio → text (transcription)?
├─ General-purpose transcription (captions, batch, call logs, live streams with custom turn logic)
│ └─ Nova models via /v1/listen
│ ├─ Pre-recorded file → REST POST https://api.deepgram.com/v1/listen?model=nova-3
│ └─ Live stream → WSS wss://api.deepgram.com/v1/listen?model=nova-3
│
└─ Conversational audio / voice-agent-style turn detection
└─ Flux STT models via /v2/listen
└─ Live stream → WSS wss://api.deepgram.com/v2/listen?model=flux-general-en
Text → audio (speech synthesis)?
├─ General-purpose TTS (broadest voice catalog, compressed/containerized audio)
│ └─ Aura models via /v1/speak
│ ├─ One-shot → REST POST https://api.deepgram.com/v1/speak?model=aura-2-thalia-en
│ └─ Low-latency stream → WSS wss://api.deepgram.com/v1/speak?model=aura-2-thalia-en
│
└─ Voice-agent TTS (turn-based lifecycle, barge-in, cross-turn consistency)
└─ Flux TTS models via /v2/speak — model is REQUIRED, and must be flux-*
├─ Pre-render a block → REST POST https://api.deepgram.com/v2/speak?model=flux-alexis-en
└─ Live conversation → WSS wss://api.deepgram.com/v2/speak?model=flux-alexis-en
Full conversational voice agent (audio in, audio out)?
└─ WSS wss://agent.deepgram.com/v1/agent/converse
Deepgram handles STT + your configured LLM + TTS internally
Analyze text for insights?
└─ REST POST /v1/read
(summaries, sentiment, topics, intents)

Speech-to-Text: Nova (/v1/listen) vs Flux STT (/v2/listen)

Both model families are actively maintained and industry-leading. They solve different problems — pick the one that matches your use case.

Nova (/v1/listen)Flux STT (/v2/listen)
Endpoint/v1/listen/v2/listen
Available modelsnova-3 (also nova-3-medical, nova-3-pharma), nova-2, nova, enhanced, baseflux-general-en, flux-general-multi
Best forGeneral transcription — captions, subtitles, call logs, batchConversational audio — voice agents, interactive assistants, turn-taking UIs
OutputContinuous transcript streamStructured turn events + transcripts (built-in turn state machine)
Turn detectionManual (utterance_end_ms, VAD events)Built-in (EOT, eager-EOT, turn_index)
TransportsREST + WebSocketWebSocket only
Intelligence overlaysYes — summarize, sentiment, topics, intents, diarize_model, redact, etc.No — smaller focused param set; no smart_format / diarize_model / punctuate
Mid-session reconfigNo (reconnect to change)Yes (Configure message updates EOT thresholds, keyterms, language hints, and numerals live)

Pick Nova (`/v1/listen`, `model=nova-3`) when:

  • Generating captions, subtitles, or transcripts for recorded media
  • Running batch transcription over files (REST)
  • You need analytics overlays (summarize, sentiment, topics, intents, diarize_model, redact)
  • You want WebSocket streaming with your own turn-detection logic

Pick Flux STT (`/v2/listen`, `model=flux-general-en`) when:

  • Building an interactive voice agent or assistant
  • You want end-of-turn detection handled for you
  • You need low-latency turn signals and barge-in support
  • You want to update EOT thresholds, keyterms, language hints, or numerals mid-session without reconnecting

Migrating from Nova 3 to Flux STT? See the official Nova 3 → Flux migration guide.

Text-to-Speech: Aura (/v1/speak) vs Flux TTS (/v2/speak)

Both TTS families are actively maintained. /v2/speak is a new endpoint, not a replacement — /v1/speak is unchanged, and there is no aliasing, redirect, or deprecation. The families do not overlap: Aura voices are served only on /v1/speak, Flux TTS voices only on /v2/speak.

Aura (/v1/speak)Flux TTS (/v2/speak)
Endpoint/v1/speak/v2/speak
Modelsaura-2-* (en, es, de, nl, fr, it, ja), aura-*flux-{voice}-{language}, e.g. flux-alexis-en — English at launch
model paramOptional (defaults to aura-asteria-en)Required; an aura-* string is rejected
Best forBroadest voice catalog, multilingual, compressed audio, one-shot synthesisVoice agents — streaming LLM output, barge-in, multi-turn conversations
Mental modelText buffer → audio streamStreaming-first, turn-based conversation
Turn lifecycleNoneSpeechStarted → audio → Flushed → SpeechMetadata per turn (server-assigned speech_id)
Cross-turn contextNone (reconnect to reset)Prosody persists across turns automatically — no API surface
TransportsREST + WebSocketREST (batch) + WebSocket (streaming)
Streaming encodingslinear16, mulaw, alawlinear16, mulaw, alaw — raw audio only
Batch encodingsmp3, opus, flac, aac, linear16, mulaw, alaw + container / bit_rateSame — but batch-only; the socket rejects them
InterruptionClear discards the buffer, no feedbackInterrupt → SpeechInterrupted with text_spoken / text_remaining
Mid-stream reconfigNo (fixed at connection)Yes — Configure updates speed only
speed0.7 to 1.5, Aura-2, English and Spanish only0.5 to 1.5 in 0.05 steps; capped at 1.15 when the text carries a pause marker (PAUSE_SPEED_CAP_EXCEEDED above that); see Inline controls for the pronunciation rule
expressivityNot supported-2…2, default 0 (beta; fixed for the connection)
Inline controlsPronunciation \{"word":"...","pronounce":"<IPA>"\} (GA on Aura-2, English and Spanish, input up to 2000 characters, combinable with speed); no pause controlPronunciation (Early Access, both transports) only with speed exactly 1.0: CONTROL_COMBINATION_INVALID on batch, DATA-0002 on the socket; pause \{pause:500ms\} on batch only, 500 to 3000 ms in 100 ms steps, at most 8 per request
Voice Agent provider.versionv1 (the default when a provider is specified)v2 (required)

Pick Aura (`/v1/speak`) when:

  • You need a language other than English, or a specific Aura voice
  • You need compressed output (mp3, opus, flac, aac) inside a Voice Agent, where Flux TTS returns INVALID_SETTINGS; on batch REST both families serve those encodings
  • You're already on Aura and nothing in Flux TTS is pulling you over — v1 is unchanged

Pick Flux TTS (`/v2/speak`) when:

  • Building a voice agent, phone assistant, or customer-service bot
  • You're streaming LLM tokens to a speaker in real time and want the lowest time-to-first-audio
  • The user may barge in mid-response and you need to know what they actually heard
  • You want tone to carry across turns without managing state yourself
  • You're pre-rendering fixed audio (IVR prompts, notifications) with a Flux TTS voice — use the batch REST transport

Migrating from Aura? See the official Migrating from Aura to Flux TTS guide and Batch vs Streaming.

API Domains

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rachit-sharma08/coding-agent-skills/deepgram-api/badge)](https://verified-skill.com/skills/rachit-sharma08/coding-agent-skills/deepgram-api)

Something wrong with this skill or its page? Tell us.