Local speech-to-text using whisper-cli (whisper.cpp).
Local speech-to-text using whisper-cli (whisper.cpp).
Transcribe audio files locally using whisper-cli and the large-v3-turbo model.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: local-whisper-cpp
description: Local speech-to-text using whisper-cli (whisper.cpp).
metadata:
{
"openclaw":
{
"emoji": "🌬️",
"requires": { "bins": ["whisper-cli"] },
},
}
---
# Local Whisper (cpp)
Transcribe audio files locally using `whisper-cli` and the `large-v3-turbo` model.
## Usage
You can use the wrapper script:
- `scripts/whisper-local.sh <audio-file>`
Or call the binary directly:
- `whisper-cli -m /usr/share/whisper.cpp-model-large-v3-turbo/ggml-large-v3-turbo.bin -f <file> -l auto -nt`
## Scripts
- **Location:** `scripts/whisper-local.sh` (inside skill folder)
- **Model:** `/usr/share/whisper.cpp-model-large-v3-turbo/ggml-large-v3-turbo.bin`
- **GPU:** Enabled via `whisper-cli`.
## Setup
Download the model to `/usr/share/whisper.cpp-model-large-v3-turbo/`:
```bash
wget https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-v3-turbo.bin?download=true -O /usr/share/whisper.cpp-model-large-v3-turbo/ggml-large-v3-turbo.bin
```
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。