跳到正文
TakoAPI
返回技能列表

macos-local-voice

由 strrl 提供

Image & Video Generation
1.1k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Local STT and TTS on macOS using native Apple capabilities.

描述

该技能的功能

Local speech-to-text and text-to-speech on macOS using Apple's native Speech.framework and say command. All processing runs on-device with no network calls or API keys. Supports multiple languages, voice quality tiers, and audio output in ogg/opus or aiff formats.

Unlike cloud STT/TTS APIs, this runs fully offline with no usage costs, no data leaving the device, and no account or key setup required.

何时使用

  • Transcribing recorded voice memos without uploading to a cloud service
  • Having long documents read aloud while multitasking
  • Sending voice notes in chat apps from generated audio files
  • Dictating in Chinese, Japanese, or other languages with locale-specific recognition
  • Building offline voice interfaces that work without internet

示例工作流

输入

User asks: Read this paragraph aloud in French

智能体
  1. 1

    Run voices.mjs best fr_FR to find the highest quality available French voice

  2. 2

    Run voices.mjs check to confirm the voice is downloaded and ready

  3. 3

    Run tts.mjs with the text and selected voice to generate an audio file

  4. 4

    Send the generated file path as a voice note using the message tool

输出

Audio file generated at ~/.openclaw/media/outbound/tts_<timestamp>.ogg and sent as a voice note

前置要求

  • yap CLI installed via Homebrew: brew install finnvoor/tools/yap
  • ffmpeg installed via Homebrew for ogg/opus output (optional): brew install ffmpeg

安装

clawhub install strrl/macos-local-voice

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接