返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
a

aliyun-tts

Alibaba Cloud Text-to-Speech synthesis service.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
3,538
下载量
1
收藏
概述
安装方式
版本历史

aliyun-tts

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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 aliyun-tts-1776379840 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 aliyun-tts-1776379840 技能

通过命令行安装

skillhub install aliyun-tts-1776379840

下载 Zip 包

⬇ 下载 aliyun-tts v1.0.0

文件大小: 3.42 KB | 发布时间: 2026-4-17 14:18

v1.0.0 最新 2026-4-17 14:18
Initial release

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部