← 返回 Skills 市场
239
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install smart-tts
功能描述
智能语音合成。自动尝试多种模型/音色,直到成功。解决 418 资源未开通问题。
安全使用建议
This skill appears to do what it says (tries multiple model/voice combos via a dashscope TTS client and saves WAV files), but the package metadata is inconsistent: SKILL.md and the scripts require DASHSCOPE_API_KEY and import a third‑party Python package 'dashscope' that is not declared in the registry. Before installing or running: 1) Verify the source and legitimacy of the 'dashscope' Python package (prefer a known PyPI project or vendor URL and pin a specific version). 2) Confirm the DASHSCOPE_API_KEY provider — only supply credentials you trust and consider using a key with limited scope. 3) Run the code in an isolated/sandbox environment if you cannot verify the dependency. 4) Optionally inspect the installed 'dashscope' package code for unexpected network calls or filesystem access. These steps reduce the risk from missing dependency metadata and potential supply-chain issues.
功能分析
Type: OpenClaw Skill
Name: smart-tts
Version: 1.0.3
The 'smart-tts' skill is a legitimate utility for text-to-speech synthesis using the Alibaba DashScope API. It implements a retry mechanism to handle specific API errors (e.g., HTTP 418) by iterating through different model and voice combinations. The code (scripts/generate.py and scripts/batch.py) follows standard practices for API usage, such as reading credentials from environment variables and writing output to a designated workspace directory, with no evidence of malicious behavior or prompt injection.
能力评估
Purpose & Capability
The name/description (智能语音合成,自动尝试多种模型/音色) match the code and SKILL.md: both scripts call a dashscope SpeechSynthesizer and attempt multiple model/voice combos. However, the registry metadata lists no required environment variables or dependencies, while both SKILL.md and the scripts require DASHSCOPE_API_KEY and import the external 'dashscope' package — this mismatch is an incoherence (likely sloppy metadata or missing declarations).
Instruction Scope
The SKILL.md instructions are narrowly scoped: set DASHSCOPE_API_KEY, run generate.py or batch.py. The scripts only call the dashscope TTS API, write WAV files to ~/.openclaw/workspace, and do not access other system files, network endpoints outside the dashscope client, or additional environment variables. No evidence of data exfiltration in the scripts themselves.
Install Mechanism
There is no install spec (instruction-only install), which is lower risk, but the Python code imports 'dashscope' without declaring it in the registry metadata. That omission is risky because you need to know where to get that package and which version to trust. If a user installs a trojanized package named 'dashscope' from an untrusted source, arbitrary code could run. The skill should declare its dependency and preferred install source/version.
Credentials
The only secret the scripts require is DASHSCOPE_API_KEY, which is proportionate for a TTS client. The problem is the registry metadata did not declare this required env var; SKILL.md and the scripts do. This mismatch reduces transparency and is worth flagging, but the requested credential itself is appropriate for the stated purpose.
Persistence & Privilege
The skill does not request 'always: true' and does not modify other skills or system-wide settings. It only writes output WAV files to ~/.openclaw/workspace, which is reasonable for its function.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install smart-tts - 安装完成后,直接呼叫该 Skill 的名称或使用
/smart-tts触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
根据用户选取的音色和输入的内容生成语音,需要用户提供商业版阿里云apikey
SKILL.md — 说明文档
scripts/generate.py — 单句生成
scripts/batch.py — 批量生成
v1.0.2
可根据目标音色和内容生成语音,需要用户提供商用版阿里云api。
SKILL.md — 说明文档
scripts/generate.py — 单句生成
scripts/batch.py — 批量生成
v1.0.1
可根据目标音色和文本生成语音
v1.0.0
语音合成
元数据
常见问题
smart-tts 是什么?
智能语音合成。自动尝试多种模型/音色,直到成功。解决 418 资源未开通问题。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 239 次。
如何安装 smart-tts?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install smart-tts」即可一键安装,无需额外配置。
smart-tts 是免费的吗?
是的,smart-tts 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
smart-tts 支持哪些平台?
smart-tts 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 smart-tts?
由 ppop0uuiu(@ppop0uuiu)开发并维护,当前版本 v1.0.3。
推荐 Skills