L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

aliang-bailian-voice-clone

aliang-bailian-voice-clone

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

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: aliang-bailian-voice-clone description: 使用百炼已创建的克隆音色(CosyVoice v3.5-flash)通过 bl speech synthesize 合成语音。

百炼克隆音色语音合成 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

使用方法

基本命令

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

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

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-)
--languagezh(中文)或 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 无法直接创建。
Skills enregistrées