π¦ ClawHub
Cloudflare Whisper Worker
by @lotfinity
Transcribe audio using a deployed Cloudflare Worker Whisper endpoint. Use when converting voice/audio files (wav, mp3, m4a, ogg, webm) to text through the cu...
TERMINAL
clawhub install cloudflare-whisper-workerπ About This Skill
name: cloudflare-whisper-worker description: Transcribe audio using a deployed Cloudflare Worker Whisper endpoint. Use when converting voice/audio files (wav, mp3, m4a, ogg, webm) to text through the custom /transcribe API, including bearer-token auth, plain-text extraction, and quick CLI transcription workflows.
Cloudflare Whisper Worker
Use this skill to transcribe audio through the deployed Whisper Worker API.
Endpoint
https://lotfi-whisper-worker.medtouradmin.workers.devPOST /transcribeAuthorization: Bearer --data-binary @file)Required environment variable
Set token once per shell:
export WHISPER_WORKER_TOKEN=""
Transcribe a file (JSON response)
curl -sS -X POST "https://lotfi-whisper-worker.medtouradmin.workers.dev/transcribe" \
-H "content-type: audio/wav" \
-H "authorization: Bearer $WHISPER_WORKER_TOKEN" \
--data-binary "@audio.wav"
Transcribe and return only text
curl -sS -X POST "https://lotfi-whisper-worker.medtouradmin.workers.dev/transcribe" \
-H "content-type: audio/wav" \
-H "authorization: Bearer $WHISPER_WORKER_TOKEN" \
--data-binary "@audio.wav" \
| jq -r '.result.text // .text // .result.response // empty'
Content-Type guide
audio/wavaudio/mpegaudio/mp4audio/oggaudio/webmCommon errors
401 Unauthorized: missing/invalid bearer token400 Empty audio body: file path wrong or empty file400 Send raw audio...: invalid content-type header500: worker/runtime/model error; retry and inspect full JSON