Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Transcribe audio files to text using a local Whisper ASR service. Use when: the user wants to transcribe an audio file to text, convert speech to text from an audio recording, extract text from voice recordings, or needs transcription of podcasts/interviews/voice notes. Only works for English language audio. The skill saves the transcription to a text file in the agent's local folder.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 54% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 7% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 28% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -28% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 13% | 0% |
Transcribe audio files to text using the local Whisper ASR service running at http://localhost:9000.
curl http://localhost:9000/health)To transcribe an audio file:
bashcurl -X POST http://localhost:9000/asr \ -F "audio_file=@/path/to/audio.wav" \ -F "language=en"
Save the transcription to the agent's local folder:
bashcurl -X POST http://localhost:9000/asr \ -F "audio_file=@/path/to/audio.wav" \ -F "language=en" \ -o transcription.txt
Or with a specific output path:
bashOUTPUT_FILE="${PWD}/$(basename /path/to/audio.wav .wav).txt" curl -X POST http://localhost:9000/asr \ -F "audio_file=@/path/to/audio.wav" \ -F "language=en" \ -o "$OUTPUT_FILE"
bash curl -s http://localhost:9000/health Expected response: {"status": "ok"}
bash curl -X POST http://localhost:9000/asr \ -F "audio_file=@<audio-file-path>" \ -F "language=en" \ -o <output-file-path>
bash cat <output-file-path>
| Format | Extension | MIME Type | |--------|-----------|-----------| | OGG Vorbis | .oga, .ogg | audio/ogg | | MP3 | .mp3 | audio/mpeg | | M4A | .m4a | audio/mp4 | | WAV | .wav | audio/wav | | WebM | .webm | audio/webm |
tiny.en modelCommon issues and solutions:
| Error | Cause | Solution | |-------|-------|----------| | Connection refused | Whisper service not running | Start the local Whisper service using your own deployment method (for example Docker Compose in your chosen whisper-service directory) | | Empty response | Audio file is silent or corrupted | Check the audio file can be played | | Garbage text | Audio is not in English | Only English is supported | | Slow transcription | High CPU load or concurrent requests | Wait for other transcriptions to complete |
bash# Set variables AUDIO_FILE="/path/to/recording.wav" OUTPUT_FILE="${PWD}/transcription.txt" # Verify service if ! curl -s http://localhost:9000/health | grep -q '"status": "ok"'; then echo "Error: Whisper service is not running" exit 1 fi # Transcribe curl -X POST http://localhost:9000/asr \ -F "audio_file=@${AUDIO_FILE}" \ -F "language=en" \ -o "$OUTPUT_FILE" echo "Transcription saved to: $OUTPUT_FILE" cat "$OUTPUT_FILE"
bashfor audio_file in *.wav; do output_file="${PWD}/$(basename "$audio_file" .wav).txt" echo "Transcribing: $audio_file -> $output_file" curl -X POST http://localhost:9000/asr \ -F "audio_file=@${audio_file}" \ -F "language=en" \ -o "$output_file" done
Other measured skills in the registry, with their headline benchmark lift.