微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🎙️

离线语音转文字,隐私零泄露

Whisper Local Api · v1.0.0
效率 安全 A 级 作者 hantok 公开目录收录
1k 下载 0 安装 3.1k 收藏 20 浏览

简介

本地部署 OpenAI 兼容的 Whisper 语音识别服务,支持 faster-whisper large-v3-turbo 模型,100%离线运行保障语音隐私,内存占用仅 400-500MB,适合为 AI 代理提供安全的语音命令输入。

原始描述

Secure, offline, OpenAI-compatible local Whisper ASR endpoint for OpenClaw. Features faster-whisper (large-v3-turbo), built-in privacy with no cloud telemetr...

通过你的 Agent 添加

安装目录:whisper-local-api/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/whisper-local-api/
Codex CLI~/.codex/skills/whisper-local-api/
DeepSeek Harness~/.agents/skills/whisper-local-api/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: whisper-local-api description: Secure, offline, OpenAI-compatible local Whisper ASR endpoint for OpenClaw. Features faster-whisper (large-v3-turbo), built-in privacy with no cloud telemetry, low-RAM usage footprint, and high-accuracy speech-to-text transcription. Perfect for safe and private AI agent voice commands.

Whisper Local API - Secure & Private ASR

Deploy a privacy-first, 100% local speech-to-text service in a deterministic way. This allows OpenClaw to process audio transcriptions safely on your own hardware without ever contacting third-party cloud APIs.

Key SEO & Security Features

  • 100% Offline & Private: Your voice data, commands, and transcriptions never leave your host system. Zero cloud dependencies.
  • Highly Accurate: Uses the large-v3-turbo model via faster-whisper, achieving state-of-the-art accuracy even with accents or background noise.
  • Memory Safe: Operates around ~400-500MB of RAM, making it extremely lightweight for VPS or low-resource edge servers.
  • OpenAI API Compatible: Exposes a strict /v1/audio/transcriptions endpoint mimicking OpenAI's JSON format. Compatible natively with any software that supports OpenAI's Whisper API.

Standard Workflow

  1. Install/update runtime:
    bash scripts/bootstrap.sh
    
  2. Start service:
    bash scripts/start.sh
    
  3. Validate service health:
    bash scripts/healthcheck.sh
    
  4. (Optional) Run a smoke transcription test with a local audio file:
    bash scripts/smoke-test.sh /path/to/test-speech.mp3
    

Repo Location

Default install/update path used by scripts:

  • ~/whisper-local-api

Override with env var before running scripts:

WHISPER_DIR=/custom/path bash scripts/bootstrap.sh

OpenClaw Integration Notes

After the healthcheck passes, use the secure local endpoint:

  • URL: http://localhost:9000
  • Endpoint: /v1/audio/transcriptions

No authentication tokens are passed over the network.

Safety Rules

  • Ask before any package-manager operations.
  • The API securely binds locally to 0.0.0.0. If exposing to the public internet, deploy behind a secure reverse proxy (like Nginx) and enforce HTTPS + Basic Auth.
  • This service will safely auto-fallback memory allocation modes (float16 -> int8) to prevent CPU crashes.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

speech-to-textasrwhisperprivacyofflineopenai-compatibledockerlocal-aivoice-commands

同类 Skill