Search

PythonReactSEOPDF
OpenClaw

aliyun-tts

Alibaba Cloud Text-to-Speech synthesis service.

guang3840 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install guang384/aliyun-tts

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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

Source information

Source
github
Repository
openclaw/skills
Path
skills/guang384/aliyun-tts
Version
—
Commit
e7743e4348de38a974b5db5dd12b8e21bd5a856e
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

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)

```bash
# 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`:

```json5
{
  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

```bash
# 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:

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

# Include in your response:
# MEDIA:/tmp/voice-reply.mp3
```

Related skills

OpenClaw

13-Day Sprint Method

galizki

Productivity system based on Maya calendar with 13 natural tones for project management and personal development

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.