Transcribe Telegram voice messages and audio notes into text using the OpenAI Whisper API. Use when (1) a user sends a voice message or audio note via Telegram and you need to read or understand its content, (2) you receive a message with a voice file_id in the Telegram message metadata, (3) the user explicitly asks you to transcribe an audio file. Produces the transcript as plain text so you can respond naturally. Requires OPENAI_API_KEY env var and optionally TELEGRAM_BOT_TOKEN for file_id mod
通过OpenAI Whisper(whisper-1)将Telegram语音消息转录为文本。
| 模式 | 参数 | 使用场景 |
|---|---|---|
| Telegram file_id | --file-id <id> | 标准情况——Telegram中的语音消息 |
| 本地文件 |
对于西班牙语用户,始终传递--language es参数以提高速度和准确性。
json
{transcript: Hola, necesito que hagas un cambio en el juego, language: es, duration_s: 4.2}
如果输出中包含error键,请向用户显示错误信息并检查配置。
完整配置、钩子集成、成本及本地Whisper替代方案请参见references/setup.md。
| 错误 | 解决方法 |
|---|---|
| OPENAIAPIKEY not set | 通过openclaw configure --section env配置密钥 |
| TELEGRAMBOTTOKEN required |
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 telegram-voice-transcribe-1776285486 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 telegram-voice-transcribe-1776285486 技能
skillhub install telegram-voice-transcribe-1776285486
文件大小: 7.71 KB | 发布时间: 2026-4-16 18:36