Speech-to-Text Commands
Speech-to-Text Commands
Transcribe audio files, URLs, microphone, and stdin with the dg CLI.
Transcribe a File
Transcribe a URL
Live Microphone
Stream from your default microphone:
Press Ctrl+C to stop.
stdin / Piped Input
Pipe audio from another tool:
Options
Output Format
-o belongs to dg itself, so it goes before the subcommand name. Without it, dg listen prints the plain-text transcript.
Model Selection
Features
Subtitles
Language
Boolean Options
Boolean options do not take a value:
Run dg listen --help for the complete set of supported CLI options. The command does not forward arbitrary API parameters.
Command Alias
dg transcribe is a deprecated alias for dg listen: