← 返回
开发者工具 Key 中文

Cloudflare Whisper Worker

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...
使用已部署的Cloudflare Worker Whisper端点转录音频。用于将语音/音频文件(wav、mp3、m4a、ogg、webm)转换为文本。
lotfinity
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 731
下载
💾 13
安装
1
版本
#latest

概述

Cloudflare Whisper Worker

Use this skill to transcribe audio through the deployed Whisper Worker API.

Endpoint

  • Base URL: https://lotfi-whisper-worker.medtouradmin.workers.dev
  • Route: POST /transcribe
  • Auth: Authorization: Bearer
  • Body: raw audio bytes (--data-binary @file)

Required environment variable

Set token once per shell:

export WHISPER_WORKER_TOKEN="<your_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

  • WAV: audio/wav
  • MP3: audio/mpeg
  • M4A: audio/mp4
  • OGG/OPUS: audio/ogg
  • WEBM: audio/webm

Common errors

  • 401 Unauthorized: missing/invalid bearer token
  • 400 Empty audio body: file path wrong or empty file
  • 400 Send raw audio...: invalid content-type header
  • 500: worker/runtime/model error; retry and inspect full JSON

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 11:12 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,998
ai-intelligence

OpenClaw Tailnet TTS Endpoint

lotfinity
配置
★ 0 📥 707
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 67 📥 180,031