Deepgram Voice Workflow
by @mengbad
End-to-end voice workflow with Deepgram STT and TTS. Use when transcribing voice messages, generating spoken replies, or building a shell-based audio pipelin...
clawhub install deepgram-voice-workflowπ About This Skill
name: deepgram-voice-workflow description: End-to-end voice workflow with Deepgram STT and TTS. Use when transcribing voice messages, generating spoken replies, or building a shell-based audio pipeline that turns input audio into text and optionally returns an MP3 reply. Especially useful for Telegram/QQ/OneBot voice-message automation and Chinese speech workflows.
Deepgram Voice Workflow
Overview
Use this skill for a complete speech workflow:
1. transcribe audio to text with Deepgram STT 2. optionally synthesize a spoken reply with Deepgram TTS 3. return structured outputs that can feed chat or agent pipelines
This skill is the right choice when the task is broader than plain transcription and needs an input-audio to output-audio pipeline.
Quick Start
Transcribe only
{baseDir}/scripts/deepgram-transcribe.sh /path/to/audio.ogg
Generate speech from text
{baseDir}/scripts/deepgram-tts.sh "δ½ ε₯½οΌζζ― Nekoγ"
Run the full pipeline
{baseDir}/scripts/neko-voice-pipeline.sh /path/to/audio.ogg --reply "ζΆε°ε¦οΌθΏζ―θ―ι³εε€ζ΅θ―γ"
Environment
Set DEEPGRAM_API_KEY before use.
The bundled scripts also fall back to reading it from:
/root/.openclaw/.envWorkflow Decision
Use deepgram-transcribe.sh when
Use deepgram-tts.sh when
Use neko-voice-pipeline.sh when
Outputs
STT output
deepgram-transcribe.sh writes:
TTS output
deepgram-tts.sh writes:
Pipeline output
neko-voice-pipeline.sh prints JSON with:
out_dirtranscript_pathtranscriptreply_audio_pathThis makes it easy to wire into scripts or adapters.
Typical Uses
Prefer this skill for:
Notes
deepgram-transcribe.sh defaults to model=nova-2 and language=zh.deepgram-tts.sh defaults to model=aura-2-luna-en; override the model when a different voice is preferred.References
Read these files when needed:
references/stt-notes.md for transcription detailsreferences/tts-notes.md for speech synthesis detailsreferences/pipeline-notes.md for end-to-end pipeline behaviorπ‘ Examples
Transcribe only
{baseDir}/scripts/deepgram-transcribe.sh /path/to/audio.ogg
Generate speech from text
{baseDir}/scripts/deepgram-tts.sh "δ½ ε₯½οΌζζ― Nekoγ"
Run the full pipeline
{baseDir}/scripts/neko-voice-pipeline.sh /path/to/audio.ogg --reply "ζΆε°ε¦οΌθΏζ―θ―ι³εε€ζ΅θ―γ"
π Tips & Best Practices
deepgram-transcribe.sh defaults to model=nova-2 and language=zh.deepgram-tts.sh defaults to model=aura-2-luna-en; override the model when a different voice is preferred.