← 返回
效率工具 中文

Simple stt(sound-to-text) locally

Simple local Speech-To-Text using Whisper. One-command install with auto model download. Supports 99+ languages.
使用Whisper的简易本地语音转文字工具。一键安装并自动下载模型,支持99种以上语言。
lkisme
效率工具 clawhub v1.0.1 2 版本 100000 Key: 无需
★ 1
Stars
📥 731
下载
💾 19
安装
2
版本
#latest

概述

Simple Local STT (Whisper)

一键安装本地语音识别,支持 99+ 语言。

One-click local speech recognition supporting 99+ languages.

🚀 快速开始 / Quick Start

安装(首次使用)/ Installation (First Time)

# 自动安装虚拟环境 + 依赖 + 模型
# Auto-installs virtual env + dependencies + model
/root/.openclaw/workspace/skills/stt-simple/install.sh

使用 / Usage

# 命令行转换 / Command line conversion
/root/.openclaw/venv/stt-simple/bin/whisper audio.ogg --model small --language Chinese

# Python API
/root/.openclaw/venv/stt-simple/bin/python \
  /root/.openclaw/workspace/skills/stt-simple/stt_simple.py \
  audio.ogg small zh

📦 安装脚本详解 / Install Script Details

install.sh 自动完成 / automatically completes:

  1. ✅ 创建虚拟环境 / Create virtual env: /root/.openclaw/venv/stt-simple/
  2. ✅ 安装 / Install: openai-whisper + ffmpeg
  3. ✅ 下载 Whisper small 模型(244MB)/ Download Whisper small model (244MB)
  4. ✅ 创建输出目录 / Create output directory

🎯 模型选择 / Model Selection

模型 / Model大小 / Size速度 / Speed精度 / Accuracy场景 / Use Case
------------------------------
tiny39MB⚡⚡⚡⭐⭐⭐快速测试 / Quick testing
base74MB⚡⚡⭐⭐⭐⭐日常使用 / Daily use
small244MB⭐⭐⭐⭐⭐推荐 / Recommended
medium769MB🐌⭐⭐⭐⭐⭐高精度 / High accuracy
large1.5GB🐌🐌⭐⭐⭐⭐⭐+最佳质量 / Best quality

🌍 语言代码 / Language Codes

  • 中文 / Chinese:zhChinese
  • 英文 / English:enEnglish
  • 日文 / Japanese:jaJapanese
  • 自动检测 / Auto-detect:省略 --language / omit --language

📁 输出格式 / Output Formats

  • .txt - 纯文本 / Plain text
  • .json - 完整结果(含时间戳)/ Full results (with timestamps)
  • .srt - 字幕格式 / Subtitle format
  • .vtt - WebVTT

🔧 故障排查 / Troubleshooting

# 检查安装 / Check installation
/root/.openclaw/venv/stt-simple/bin/whisper --version

# 重新安装 / Reinstall
rm -rf /root/.openclaw/venv/stt-simple
/root/.openclaw/workspace/skills/stt-simple/install.sh

版本历史

共 2 个版本

  • v1.0.1 当前
    2026-03-29 11:20 安全 安全
  • v1.0.0
    2026-03-11 11:01

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 274 📥 114,721
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,103
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 437 📥 147,170