SkillsGrove
SkillsGrove/Produção de vídeo/cklxx/elephant.ai/audio-tts

audio-tts

Instalação

$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
Por favor, instale esta Agent Skill para mim: https://github.com/cklxx/elephant.ai/tree/bc94628f41b7daba20825b86069ae8e0fa83dc5e/skills/audio-tts. Leia primeiro o SKILL.md e os scripts, e só a instale na minha pasta de skills depois de confirmar que é segura.

Resumo

Descrição original · MITWhen the user wants text-to-speech audio → generate voice files locally (macOS say + afconvert, outputs m4a).
O SKILL.md abaixo é reproduzido de cklxx/elephant.ai (commit bc94628) sob a licença MIT. O texto não foi alterado; apenas os metadados do cabeçalho do arquivo foram omitidos, as imagens são exibidas como links e arquivos muito longos são truncados. Copyright 2025 cklxx. Licença: LICENSE. Apenas o arquivo de instruções é exibido; consulte o repositório original para ver os scripts.

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)

Ver o texto completo da licença (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.