SkillsGrove
SkillsGrove/動画制作/cklxx/elephant.ai/audio-tts

audio-tts

インストール

$npx skills add https://github.com/cklxx/elephant.ai --skill audio-tts
$git clone --depth 1 https://github.com/cklxx/elephant.ai.git /tmp/elephant.ai && mkdir -p ~/.claude/skills && cp -r /tmp/elephant.ai/skills/audio-tts ~/.claude/skills/audio-tts
この Agent Skill をインストールしてください:https://github.com/cklxx/elephant.ai/tree/bc94628f41b7daba20825b86069ae8e0fa83dc5e/skills/audio-tts — まず SKILL.md とスクリプトを読み、安全であることを確認してから、私のスキルフォルダにインストールしてください。

概要

原文の説明 · MITWhen the user wants text-to-speech audio → generate voice files locally (macOS say + afconvert, outputs m4a).
以下の SKILL.md は cklxx/elephant.ai(コミット bc94628)から MIT ライセンスに基づいて転載しています。本文は変更しておらず、ファイル先頭のメタデータのみ省略し、画像はリンクとして表示し、非常に長いファイルは途中までの表示としています。Copyright 2025 cklxx。ライセンス:LICENSE。表示しているのは指示ファイルのみです。スクリプト等は元のリポジトリをご覧ください。

audio-tts

使用 macOS 自带 say 生成语音,并转成 m4a。

Requirements

  • macOS(内置 say)
  • afconvert(macOS 自带)

Usage

python3 skills/audio-tts/run.py speak --text '你好,这是语音测试'

Parameters

speak

参数 类型 必填 说明
text string 是 朗读文本
voice string 否 voice 名称(如 Ting-Ting / Samantha),默认空(系统默认)
rate int 否 语速 WPM(say 的 -r 参数)
output string 否 输出路径(默认 /tmp/tts_<ts>.m4a)

ライセンス全文を見る(MIT)
MIT License

Copyright (c) 2025 cklxx

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.