360 Secure SkillHub
360 安全技能中心

Deepgram Transcribe

调用 Deepgram 的 Nova-3 云端转写接口,将音频文件转录为文本,支持 mp3、wav、m4a、ogg、flac、webm、aiff 等格式,可指定模型与语言,并可输出文本或 JSON;未配置密钥时提示改用 OpenAI Whisper 方案。

jessewunderlich
jessewunderlich
热度 66.62
最近更新 2026-04-29 12:54:36
分类:效率依赖:代码执行 / 读写文件 / 第三方 API应用场景:文件转换 / 会议纪要 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add deepgram-transcribe
Metadata
name
deepgram-transcribe
description
Transcribe audio via Deepgram Nova-3 API (5.26% WER, 40x faster than Whisper, built-in speaker diarization). Use when user asks to transcribe audio, podcasts, meetings, voice recordings, or voice memos. Supports mp3, wav, m4a, ogg, flac, webm, aiff. Falls back to OpenAI Whisper skill if DEEPGRAM_API_KEY is not set.

Deepgram Nova-3 Transcription

Transcribe audio files using Deepgram's Nova-3 model — more accurate and faster than OpenAI Whisper.

Why Deepgram over Whisper

  • 5.26% word error rate (vs ~8-10% for Whisper)
  • 40x faster for batch processing
  • Built-in speaker diarization (who said what)
  • Smart formatting (numbers, dates, punctuation)
  • $200 free credits on signup at deepgram.com

Setup

Store your API key:

echo "YOUR_DEEPGRAM_API_KEY" > ~/.openclaw/secrets/deepgram-api-key.txt

Or set the environment variable:

export DEEPGRAM_API_KEY="your-key-here"

Usage

bash scripts/transcribe.sh /path/to/audio.mp3
bash scripts/transcribe.sh recording.mp3 --out transcript.txt
bash scripts/transcribe.sh recording.mp3 --json --out full.json
bash scripts/transcribe.sh recording.mp3 --language es
bash scripts/transcribe.sh recording.mp3 --model nova-2

Models

Model WER Cost/min Best for
nova-3 (default) 5.26% $0.0077 Best accuracy
nova-2 ~8% $0.0043 Budget-friendly
whisper-large ~8-10% $0.0048 Whisper parity

Supported Formats

mp3, wav, m4a, ogg, flac, webm, aiff

Fallback

If DEEPGRAM_API_KEY is not set, use the OpenAI Whisper skill instead (if installed).