一键导入
whisper-transcription
Audio transcription using local whisper.cpp server with CUDA acceleration. HTTP API for speech-to-text conversion.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audio transcription using local whisper.cpp server with CUDA acceleration. HTTP API for speech-to-text conversion.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | Whisper-Transcription |
| description | Audio transcription using local whisper.cpp server with CUDA acceleration. HTTP API for speech-to-text conversion. |
Local speech-to-text transcription using whisper.cpp with GPU acceleration. The server runs on port 5555 and accepts audio files via HTTP POST.
When helping users with audio transcription, follow these guidelines:
http://localhost:5555 with the large-v3 model/inference with multipart form dataUser: Transcribe this audio file
Claude: I'll send the audio to the local Whisper server:
curl -X POST http://localhost:5555/inference \
-F "file=@audio.wav"
The server returns JSON with the transcribed text.
User: Record my voice and transcribe it
Claude: I'll record audio then send it to Whisper:
1. Record 5 seconds of audio:
arecord -d 5 -f S16_LE -r 16000 -c 1 recording.wav
2. Transcribe:
curl -X POST http://localhost:5555/inference \
-F "file=@recording.wav"
User: How do I use Whisper from Python?
Claude: Use requests to POST to the inference endpoint:
[Provides implementation using the Python pattern from reference material below]
Location: ~/whisper.cpp/build/bin/whisper-server
Model: ~/whisper.cpp/models/ggml-large-v3.bin
Port: 5555
~/whisper.cpp/build/bin/whisper-server \
-m ~/whisper.cpp/models/ggml-large-v3.bin \
-l en \
--port 5555 \
--host 0.0.0.0
Location: /etc/systemd/system/whisper-server.service
[Unit]
Description=Whisper.cpp Transcription Server
After=network.target
[Service]
Type=simple
User=matt
WorkingDirectory=/home/matt/whisper.cpp/build
ExecStart=/home/matt/whisper.cpp/build/bin/whisper-server \
-m /home/matt/whisper.cpp/models/ggml-large-v3.bin \
-l en \
--port 5555 \
--host 0.0.0.0 \
--threads 4
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
Transcribe an audio file.
Request:
curl -X POST http://localhost:5555/inference \
-F "file=@audio.wav" \
-F "response_format=json"
Response:
{
"text": "transcribed text here"
}
Health check endpoint.
import requests
def transcribe(audio_path: str, server_url: str = "http://localhost:5555") -> str:
"""Transcribe audio file using local Whisper server."""
with open(audio_path, "rb") as f:
response = requests.post(
f"{server_url}/inference",
files={"file": f},
timeout=120
)
response.raise_for_status()
return response.json().get("text", "")
# Usage
text = transcribe("recording.wav")
print(text)
#!/bin/bash
# transcribe.sh - Quick transcription helper
WHISPER_URL="${WHISPER_URL:-http://localhost:5555}"
if [ -z "$1" ]; then
echo "Usage: transcribe.sh <audio_file>"
exit 1
fi
curl -s -X POST "$WHISPER_URL/inference" \
-F "file=@$1" | jq -r '.text'
Cause: Model file missing or CUDA unavailable
Solution:
# Check model exists
ls -lh ~/whisper.cpp/models/ggml-large-v3.bin
# Check CUDA
nvidia-smi
Cause: Other GPU services using VRAM
Solution:
# Check GPU memory usage
nvidia-smi
# Wait for other services to unload, or manually stop them
# See Vram-GPU-OOM skill for retry patterns
Cause: CPU fallback instead of GPU
Solution:
# Verify GPU is being used during transcription
watch -n 1 nvidia-smi
# Should show whisper-server using GPU memory
Cause: Server not running
Solution:
# Check service status
systemctl status whisper-server
# Start if stopped
sudo systemctl start whisper-server
# View logs
journalctl -u whisper-server -f
Pattern for automated testing with GitHub issue creation and Claude Code auto-fixing. Creates Test → Fail → Issue → Fix → Repeat cycle until tests pass.
Managing Cyril's Workshop blog posts and devblog via API - creating, editing, publishing, and updating content programmatically
RDBMS access patterns for DuckDB, MySQL (keycloak), PostgreSQL (dw, x3rocs), SQL Server (sage1000, x3), and DBISAM (Exportmaster) using ODBC and native drivers
Using Qwen 2.5 models via Ollama for local LLM inference, text analysis, and AI-powered automation
Deploy web applications behind Apache reverse proxy on rivsprod01 with relative URLs and proper path configuration
GPU VRAM management patterns for sharing memory across services (Ollama, Whisper, ComfyUI). OOM retry logic, auto-unload on idle, and service signaling protocol.