360 Secure SkillHub
360 安全技能中心

yap

该 Skill 提供在 macOS 26+ 上运行 yap 的命令示例,使用 Apple Speech.framework 在本地把音频或视频文件转写为文本,可指定语言区域、审查词、输出 TXT 或 SRT,并写入文件或标准输出。依赖已安装的 yap 和系统语音模型。

tobihagemann
tobihagemann
热度 74.35
最近更新 2026-05-11 16:52:13
分类:效率依赖:代码执行 / 读写文件应用场景:文件转换

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add yap
Metadata
name
yap
description
Fast on-device speech-to-text using Apple Speech.framework (macOS 26+).
homepage
https://github.com/finnvoor/yap
metadata
{"openclaw":{"emoji":"🗣️","os":["darwin"],"requires":{"bins":["yap"]},"install":[{"id":"brew","kind":"brew","formula":"finnvoor/tools/yap","bins":["yap"],"label":"Install yap (brew)"}]}}

yap

Use yap for fast on-device transcription on macOS using Apple's Speech.framework.

Quick start

yap transcribe /path/to/audio.mp3
yap transcribe /path/to/audio.m4a --locale de-DE
yap transcribe /path/to/video.mp4 --srt -o captions.srt

Options

  • --locale <locale> — Language locale (e.g., de-DE, en-US, zh-CN)
  • --censor — Redact certain words/phrases
  • --txt / --srt — Output format (default: txt)
  • -o, --output-file — Save to file instead of stdout

Advantages over Whisper

  • Native Apple Speech.framework (optimized for Apple Silicon)
  • No model download required
  • Faster processing
  • Lower memory usage

Notes

  • Requires macOS 26 (Tahoe) or later
  • Supported languages depend on installed Apple Speech models