← 返回 Skills 市场
guang384

Aliyun TTS

作者 guang384 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
3689
总下载
1
收藏
23
当前安装
1
版本数
在 OpenClaw 中安装
/install aliyun-tts
功能描述
Alibaba Cloud Text-to-Speech synthesis service.
使用说明 (SKILL.md)

aliyun-tts

Alibaba Cloud Text-to-Speech synthesis service.

Configuration

Set the following environment variables:

  • ALIYUN_APP_KEY - Application Key
  • ALIYUN_ACCESS_KEY_ID - Access Key ID
  • ALIYUN_ACCESS_KEY_SECRET - Access Key Secret (sensitive)

Option 1: CLI configuration (recommended)

# Configure App Key
clawdbot skills config aliyun-tts ALIYUN_APP_KEY "your-app-key"

# Configure Access Key ID
clawdbot skills config aliyun-tts ALIYUN_ACCESS_KEY_ID "your-access-key-id"

# Configure Access Key Secret (sensitive)
clawdbot skills config aliyun-tts ALIYUN_ACCESS_KEY_SECRET "your-access-key-secret"

Option 2: Manual configuration

Edit ~/.clawdbot/clawdbot.json:

{
  skills: {
    entries: {
      "aliyun-tts": {
        env: {
          ALIYUN_APP_KEY: "your-app-key",
          ALIYUN_ACCESS_KEY_ID: "your-access-key-id",
          ALIYUN_ACCESS_KEY_SECRET: "your-access-key-secret"
        }
      }
    }
  }
}

Usage

# Basic usage
{baseDir}/bin/aliyun-tts "Hello, this is Aliyun TTS"

# Specify output file
{baseDir}/bin/aliyun-tts -o /tmp/voice.mp3 "Hello"

# Specify voice
{baseDir}/bin/aliyun-tts -v siyue "Use siyue voice"

# Specify format and sample rate
{baseDir}/bin/aliyun-tts -f mp3 -r 16000 "Audio parameters"

Options

Flag Description Default
-o, --output Output file path tts.mp3
-v, --voice Voice name siyue
-f, --format Audio format mp3
-r, --sample-rate Sample rate 16000

Available Voices

Common voices: siyue, xiaoxuan, xiaoyun, etc. See Alibaba Cloud documentation for the full list.

Chat Voice Replies

When a user requests a voice reply:

# Generate audio
{baseDir}/bin/aliyun-tts -o /tmp/voice-reply.mp3 "Your reply content"

# Include in your response:
# MEDIA:/tmp/voice-reply.mp3
安全使用建议
This package appears to be a straightforward Alibaba Cloud TTS client (it signs requests and fetches audio) and needs three Alibaba credentials (including a secret). Before installing: 1) Be aware the registry metadata did not declare the required env vars — expect to provide ALIYUN_APP_KEY, ALIYUN_ACCESS_KEY_ID and ALIYUN_ACCESS_KEY_SECRET. 2) The repo includes aliyun_tts.py but no installer or bin shim; verify how the CLI will be installed/registered (SKILL.md refers to {baseDir}/bin/aliyun-tts). 3) Only provide least-privilege Alibaba credentials (use an IAM key with only NLS permissions) and avoid reusing high-privilege keys. 4) Confirm you trust the skill owner before storing ALIYUN_ACCESS_KEY_SECRET in the agent config. 5) If you need higher assurance, review or run the Python script in a controlled environment and check network destinations (nls-meta.<region>.aliyuncs.com and nls-gateway-<region>.aliyuncs.com) match Alibaba domains.
功能分析
Type: OpenClaw Skill Name: aliyun-tts Version: 1.0.0 The skill bundle is benign. The `aliyun_tts.py` script correctly implements an Alibaba Cloud Text-to-Speech client, reading necessary API credentials from environment variables and making legitimate API calls to `aliyuncs.com` domains. The `SKILL.md` documentation provides clear instructions for configuration and usage, without any evidence of prompt injection or attempts to mislead the agent. The ability to specify an output file path for the generated audio is a core, expected feature of a TTS skill and not indicative of malicious intent.
能力评估
Purpose & Capability
The code and SKILL.md implement Alibaba Cloud TTS (signing, token fetch, audio download) which is coherent with the skill name/description. However the registry metadata states 'Required env vars: none' and 'Primary credential: none' while both SKILL.md and the script require ALIYUN_APP_KEY, ALIYUN_ACCESS_KEY_ID and ALIYUN_ACCESS_KEY_SECRET — a metadata/packageing inconsistency.
Instruction Scope
SKILL.md instructs configuring the three ALIYUN_* environment variables and using a CLI at {baseDir}/bin/aliyun-tts. The repository provides aliyun_tts.py (the actual client) but no install script or a bin shim is included — the usage instructions assume a packaged CLI that isn't present. Instructions do not ask for unrelated files or secrets and network calls are to Alibaba NLS endpoints only.
Install Mechanism
No install spec (instruction-only) and a single Python script is included. No remote download or extracts are used, so there is no high-risk install mechanism in the package itself.
Credentials
The three required env vars (App Key, AccessKeyId, AccessKeySecret) are appropriate for an Alibaba TTS client. The concern is that the skill registry metadata did not declare these required credentials — the skill will in practice require and consume a sensitive secret (ALIYUN_ACCESS_KEY_SECRET), which will be stored/managed via the agent's config per SKILL.md.
Persistence & Privilege
The skill is not marked always:true and is user-invocable; it does not request persistent system-wide changes or other skills' credentials. There is no evidence it modifies other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install aliyun-tts
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /aliyun-tts 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug aliyun-tts
版本 1.0.0
许可证
累计安装 24
当前安装数 23
历史版本数 1
常见问题

Aliyun TTS 是什么?

Alibaba Cloud Text-to-Speech synthesis service. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3689 次。

如何安装 Aliyun TTS?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install aliyun-tts」即可一键安装,无需额外配置。

Aliyun TTS 是免费的吗?

是的,Aliyun TTS 完全免费(开源免费),可自由下载、安装和使用。

Aliyun TTS 支持哪些平台?

Aliyun TTS 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Aliyun TTS?

由 guang384(@guang384)开发并维护,当前版本 v1.0.0。

💬 留言讨论