← 返回 Skills 市场
38
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dinghaibin-text-to-speech
功能描述
Convert text to speech audio files. Use when user needs to create audio from text, generate voiceovers, create podcasts, or convert articles to audio.
使用说明 (SKILL.md)
Text to Speech
Convert text to speech audio files.
Quick Start
# Convert text to speech
python scripts/tts.py "Hello world" --output hello.mp3
Usage
python scripts/tts.py TEXT [OPTIONS]
Options:
--output PATH Output audio file
--voice VOICE Voice name (male, female, neutral)
--speed RATE Speaking speed (0.5-2.0)
--lang LANG Language code (en, zh, ja, etc.)
--list-voices List available voices
Examples
# Basic conversion
python scripts/tts.py "Hello world" --output hello.mp3
# Chinese text
python scripts/tts.py "你好世界" --lang zh-CN --output chinese.mp3
# Different speed
python scripts/tts.py "Hello" --speed 1.5 --output fast.mp3
python scripts/tts.py "Hello" --speed 0.8 --output slow.mp3
# List voices
python scripts/tts.py --list-voices
Features
- Multiple language support
- Adjustable speaking speed
- Voice selection
- Audio format output
- SSML support
安全使用建议
This skill appears safe for ordinary text-to-speech use. Before installing or using it, be aware that gTTS may send text to an external TTS provider, the optional dependency is not pinned in the metadata, and the advertised voice/speed options may not actually work in the provided script.
功能分析
Type: OpenClaw Skill
Name: dinghaibin-text-to-speech
Version: 1.0.0
The skill is a straightforward text-to-speech utility that uses the legitimate gTTS library or the macOS 'say' command. Analysis of scripts/tts.py shows safe use of the subprocess module without shell execution, and no evidence of data exfiltration, malicious instructions, or suspicious network activity was found.
能力评估
Purpose & Capability
The core behavior matches the stated purpose of converting text to audio, but SKILL.md advertises voice and speed controls while scripts/tts.py parses --voice and --speed without actually applying them.
Instruction Scope
The instructions are normal user-directed CLI examples and do not contain goal overrides, hidden control flow, or unsafe autonomous behaviors.
Install Mechanism
There is no install spec, but the script relies on the optional third-party Python package gTTS and suggests 'pip install gtts' if it is missing. This is purpose-aligned but not pinned or declared as an install requirement.
Credentials
Using gTTS and the macOS 'say' command is proportionate for text-to-speech, but users should understand that gTTS may involve an external provider and the script writes an output file.
Persistence & Privilege
The artifacts do not request credentials, persistent background execution, elevated privileges, or ongoing access; they only create an audio file when invoked.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dinghaibin-text-to-speech - 安装完成后,直接呼叫该 Skill 的名称或使用
/dinghaibin-text-to-speech触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
Text To Speech 是什么?
Convert text to speech audio files. Use when user needs to create audio from text, generate voiceovers, create podcasts, or convert articles to audio. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 38 次。
如何安装 Text To Speech?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dinghaibin-text-to-speech」即可一键安装,无需额外配置。
Text To Speech 是免费的吗?
是的,Text To Speech 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Text To Speech 支持哪些平台?
Text To Speech 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Text To Speech?
由 BIN(@dinghaibin)开发并维护,当前版本 v1.0.0。
推荐 Skills