← 返回 Skills 市场
312
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install u2-tts
功能描述
Text-to-speech conversion using UniSound's TTS WebSocket API for generating high-quality Chinese Mandarin audio from text. Supports multiple voices, adjustab...
安全使用建议
This skill appears to do exactly what it claims: run the included Python script which opens a WebSocket to UniSound's TTS service and saves audio to results/. Before installing/running: (1) verify you trust the UNISOUND_APPKEY/UNISOUND_SECRET you supply (do not use credentials you don't control), (2) inspect scripts/tts.py (it is short and readable) if you have privacy concerns about sending text to an external API, and (3) be aware the script will open outbound network connections to wss://ws-stts.hivoice.cn and write files to a local results/ folder. Also note the README contains example/demo credentials—do not reuse those for production.
功能分析
Type: OpenClaw Skill
Name: u2-tts
Version: 1.0.5
The u2-tts skill is a legitimate implementation of a text-to-speech client for the UniSound WebSocket API. The core logic in `scripts/tts.py` handles authentication via SHA256 signatures and manages binary audio streams as expected for this service. While `SKILL.md` contains highly restrictive instructions for the AI agent (e.g., 'MANDATORY RESTRICTIONS' forbidding fallback methods) and provides hardcoded test credentials, these are accompanied by explicit security warnings regarding data privacy and the intended use of test keys. No evidence of malicious data exfiltration, unauthorized execution, or obfuscation was found.
能力评估
Purpose & Capability
The name/description, required env vars (UNISOUND_APPKEY, UNISOUND_SECRET), required binary (python), and included script all align with a UniSound TTS client. There are no unrelated credentials or binaries requested.
Instruction Scope
SKILL.md instructs the agent to only run the included Python script and not to perform local synthesis or fallbacks. That is restrictive but consistent with a remote-API-only design. SKILL.md also contains example/demo credentials embedded in the docs—these are likely test keys and should not be treated as production secrets.
Install Mechanism
This is an instruction-only skill with a bundled Python script and a requirements.txt. No external arbitrary downloads or install hooks are present. Dependencies are standard (websocket-client, optional gevent).
Credentials
Only two env vars are required (appkey and secret), which matches the TTS API's needs. The script reads only those env vars (and respects CLI overrides). The primary credential is the UNISOUND_SECRET as declared.
Persistence & Privilege
always is false and the skill does not request elevated or persistent system privileges. It writes output files to a local results/ directory and has a .claude settings file granting Bash/python execution permissions (expected for running the script). It does not modify other skills or system configs.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install u2-tts - 安装完成后,直接呼叫该 Skill 的名称或使用
/u2-tts触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
u2-tts v1.0.5
- Updated documentation for simplified configuration, emphasizing environment variable setup for credentials.
- Added support for command-line credential override via `--appkey` and `--secret` arguments.
- Default sample rate changed to 24kHz for higher output quality.
- Clarified supported parameter options and output file formats.
- Improved step-by-step usage examples and troubleshooting guidance for first-time users.
v1.0.4
u2-tts v1.0.4 changelog:
- Added built-in test credentials for quick evaluation, enabling immediate use without configuration.
- Updated documentation to clarify the distinction between test and production credentials, including usage and security warnings.
- Configuration via environment variables is still supported and recommended for production.
- No code changes detected; documentation update only.
v1.0.2
- Documentation updated to focus on secure configuration, usage guidelines, and API credential setup.
- The sample README.md file was removed from the project.
- Enhanced instructions for safe environment variable configuration (.env, export) with warnings against sharing credentials.
- Emphasized usage restrictions: only use UniSound TTS API via the provided script, no local or fallback methods.
- Clarified error handling, sample commands, supported voices, and parameter adjustment for text-to-speech use cases.
v1.0.1
u2-tts 1.0.1 changelog:
- Replaced the old readme.txt file with a new, detailed README.md.
- Updated documentation to clarify usage via Python API and command line, featuring new example commands and scripts paths.
- Included actual demo UniSound API credentials in documentation for quick start (replace with your own for production).
- All usage examples and installation instructions now reference the updated scripts folder and naming conventions.
v1.0.0
UniSound TTS (U2-TTS) 1.0.0
- Initial release with WebSocket streaming TTS support for Mandarin Chinese.
- Supports multiple voices (e.g., xiaofeng, xiaoyan) and adjustable speech parameters (speed, volume, pitch, brightness).
- Allows output in mp3, wav, and pcm formats, with sample rates of 8k or 16k.
- Authentication via SHA256 signature; credentials required via environment variables.
- Includes usage examples, error handling, and long text/audiobook conversion.
- Requires Python 3.6+ and the websocket-client library.
元数据
常见问题
U2-tts 是什么?
Text-to-speech conversion using UniSound's TTS WebSocket API for generating high-quality Chinese Mandarin audio from text. Supports multiple voices, adjustab... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 312 次。
如何安装 U2-tts?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install u2-tts」即可一键安装,无需额外配置。
U2-tts 是免费的吗?
是的,U2-tts 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
U2-tts 支持哪些平台?
U2-tts 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 U2-tts?
由 aaiccee(@aaiccee)开发并维护,当前版本 v1.0.5。
推荐 Skills