# Aliang Bailian Voice Clone

> 使用百炼已创建的克隆音色（CosyVoice v3.5-flash）通过 bl speech synthesize 合成语音。

- **Type:** Skill
- **Install:** `agentstack add skill-aliang2052-aliang-skills-aliang-bailian-voice-clone`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [aliang2052](https://agentstack.voostack.com/s/aliang2052)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [aliang2052](https://github.com/aliang2052)
- **Source:** https://github.com/aliang2052/aliang-skills/tree/main/skills/aliang-bailian-voice-clone

## Install

```sh
agentstack add skill-aliang2052-aliang-skills-aliang-bailian-voice-clone
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 百炼克隆音色语音合成 Skill

## 触发词

当用户说"用阿亮的声音"、"克隆声音"、"声音合成"、"TTS"时使用。

## 重要发现

- **DashScope 声音复刻 API 端点**（`/compatible-mode/v1/audio/voices`）**返回 404**，无法通过 curl 或 SDK 直接创建克隆音色。
- 声音克隆必须在**百炼控制台**（console）中手动创建。
- 克隆音色创建后，可通过 `bl speech synthesize` 直接使用，传入完整的 voice ID 即可。

## 已有阿亮音色

| 场景 | 音色 ID |
|------|---------|
| 日常/温暖 | `cosyvoice-v3.5-flash-YOUR_WARM_VOICE_ID` |
| 科技风 | `cosyvoice-v3.5-flash-YOUR_TECH_VOICE_ID` |

## 使用方法

### 基本命令

```bash
bl speech synthesize \
  --text "{要合成的文本}" \
  --model cosyvoice-v3.5-flash \
  --voice {音色ID} \
  --out {输出路径.mp3} \
  --language zh
```

### 示例：用阿亮科技音色合成新闻

```bash
bl speech synthesize \
  --text "Anthropic 发布新一代旗舰模型 Claude Opus 4.8..." \
  --model cosyvoice-v3.5-flash \
  --voice cosyvoice-v3.5-flash-YOUR_TECH_VOICE_ID \
  --out 输出/阿亮科技新闻.mp3 \
  --language zh
```

## 参数说明

| 参数 | 说明 |
|------|------|
| `--model` | 必须使用 `cosyvoice-v3.5-flash`（克隆音色专用模型） |
| `--voice` | 完整的克隆音色 ID（含前缀 `cosyvoice-v3.5-flash-`） |
| `--language` | `zh`（中文）或 `en`（英文） |
| `--rate` | 语速 0.5-2.0（默认 1.0） |
| `--pitch` | 音调 0.5-2.0（默认 1.0） |
| `--volume` | 音量 0-100（默认 50） |
| `--out` | 输出文件路径（mp3/wav/pcm/opus） |

## 注意事项

- `cosyvoice-v3-flash`（系统音色）和 `cosyvoice-v3.5-flash`（克隆音色）是**不同模型**，不能混用。
- 系统音色用 `--model cosyvoice-v3-flash --voice longanyang` 等。
- 克隆音色用 `--model cosyvoice-v3.5-flash --voice cosyvoice-v3.5-flash-xxx-xxx`。
- 如果用户需要新增克隆音色，需引导其前往百炼控制台操作，CLI 无法直接创建。

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [aliang2052](https://github.com/aliang2052)
- **Source:** [aliang2052/aliang-skills](https://github.com/aliang2052/aliang-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-aliang2052-aliang-skills-aliang-bailian-voice-clone
- Seller: https://agentstack.voostack.com/s/aliang2052
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
