跳到正文
Skillpedia
其他41k · #6558

tts

它能做什么

这个技能让 AI 智能体把书面文字转换为语音音频,既可以直接播放,也可以保存为文件。适合希望听文字而不是阅读的人。

适用场景

  • ✓当你想让电脑朗读一段文字的时候。
  • ✓当你想把文档保存为音频文件以便收听的时候。
  • ✓当你需要为短文字生成语音录音,且不使用在线服务的时候。

技能链接

https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/tts/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/tts/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把这篇文章读给我听,或保存为音频文件,以便我之后收听?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体使用你电脑上自带的语音。它会把长文本分成若干部分,并报告音频文件的保存位置。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Text to Speech

When to use

Reading text aloud or rendering speech audio files, using only the voices already on the machine.

Setup

No account or API key. Pick the platform command; fail loud when the Linux engine is missing (sudo apt install speech-dispatcher or espeak-ng):

  • macOS: say -v Samantha -o out.aiff "text" (list voices: say -v '?')
  • Linux: spd-say "text" or espeak-ng -w out.wav "text"
  • Windows: PowerShell System.Speech.Synthesis.SpeechSynthesizer

Workflow

  1. Keep utterances short; split long text at paragraph breaks.
  2. Confirm voice and speed when the user cares; otherwise default voice, normal rate.
  3. For files, report the path, format, and duration.

Non-goals

  • Do not clone voices or impersonate a real person.
  • Do not call cloud TTS APIs (different cost and privacy posture — ask first).
  • Do not play audio unprompted in shared environments; render a file instead.
常见问题

它会使用在线语音服务吗?

不会。技能只使用你机器上的语音,并在使用任何云服务之前先询问。

它能复制别人的声音吗?

不能。技能说明,它不克隆声音,也不冒充真人。

它会不经询问就播放声音吗?

不会。在共享场所,它会保存文件,而不会在未经提示的情况下播放音频。

详情

作者的原始描述

Speak or render text to speech locally. Use when: read aloud, speak, voice output, tts, text to speech, or an audio version of text.

repo: codewhale-hq/Codewhale

热度

GitHub 星标
41k
排名
#6558
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能