Audio tts

From cklxx/elephant.ai · View interactive version

Audio tts is an AI agent skill from the GitHub repository cklxx/elephant.ai. When the user wants text-to-speech audio → generate voice files locally (macOS say + afconvert, outputs m4a).

How to use this skill

Skill file

audio-tts

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

Requirements

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) |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.