🦀 ClawHub
Speech Recognition Local
by @zktufo
本地语音转文字 / Local Speech-to-Text. 使用 faster-whisper 在本地运行 Whisper 模型,无需 API 费用,完全免费。收到语音消息(.ogg .m4a .mp3)自动触发转录,支持中文/英文/日语/自动检测。| Free local STT/TTS alternati...
TERMINAL
clawhub install speech-recognition-local📖 About This Skill
name: speech-recognition-local description: 本地语音转文字 / Local Speech-to-Text. 使用 faster-whisper 在本地运行 Whisper 模型,无需 API 费用,完全免费。收到语音消息(.ogg .m4a .mp3)自动触发转录,支持中文/英文/日语/自动检测。| Free local STT/TTS alternative — runs Whisper on your machine, no API costs, auto-transcribes voice messages in seconds. metadata: {"clawdbot":{"emoji":"🎙️","os":["linux","darwin","win32"]}}
本地语音识别 / Local Speech Recognition
> 使用 faster-whisper 在本地运行 Whisper 模型,无需任何 API 费用。免费、离线、保护隐私。 > Runs faster-whisper locally — no API keys, no costs, fully offline & private.
功能特点 / Features
使用方式 / Usage
收到语音消息后,OpenClaw 自动调用转录脚本并将结果注入对话。
转录命令 / Command:
python3 ~/.openclaw/workspace/skills/speech-recognition-local/scripts/transcribe.py [language]
参数说明 / Parameters:
| 参数 | 默认值 | 说明 |
|------|--------|------|
| audio_file | — | 音频文件路径 / Audio file path |
| language | auto | 语言:zh / en / ja / auto(默认自动检测) |
模型说明 / Model Info
base(精度与速度平衡)适用场景 / Use Cases
| 场景 / Scenario | 说明 | |----------------|------| | 语音消息转文字 | 将微信/飞书/Telegram 语音转为可阅读文本 | | 会议记录 | 录制音频后快速转录存档 | | 播客字幕 | 将音频文件批量转为文字稿 | | 隐私敏感场景 | 不希望音频数据上传第三方 |
限制 / Limitations
.ogg .m4a .mp3 .wav