微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

千问语音合成 Qwen TTS

千问语音合成 Qwen TTS · v1.3.3
安全 A 级 作者 dlazyai 公开目录收录
1k 下载 0 安装 2.5k 收藏 25 浏览

简介

千问语音合成 Qwen TTS

原始描述

Alibaba Bailian qwen3-tts text-to-speech. Choose from curated system voices (including dialects) or design a custom voice from a natural-language description...

通过你的 Agent 添加

安装目录:dlazy-qwen-tts/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/qwen-tts-48600/
Codex CLI~/.codex/skills/qwen-tts-48600/
DeepSeek Harness~/.agents/skills/qwen-tts-48600/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

dlazy-qwen-tts 是一款封装阿里云百炼 Qwen3-TTS 能力的语音合成 Skill,通过调用外部 dlazy CLI 工具实现功能。用户可通过两种模式生成语音:系统音色模式(--generation_mode system)从 38 种预设音色中选择,包括 Cherry、Serena、Ethan 等标准声线及方言支持;声线设计模式(--generation_mode design)通过自然语言描述自定义音色特征,如"温柔知性的中年女声,略带南方口音"。

使用前需通过 dlazy login 完成设备码认证,或手动设置 DLAZY_API_KEY 环境变量。基础调用语法为 dlazy qwen-tts --prompt "文本内容" [--voice 音色名],支持 --dry-run 预览成本、--no-wait 异步任务等高级选项,输出返回包含音频 URL 的 JSON 结构。

显著优点

音色丰富度领先:覆盖 38 种系统音色,是目前 TTS Skill 中预设声线最多的方案之一,且支持通过自然语言进行无限声线扩展设计,打破传统 TTS 固定音色的限制。

中文方言优化:作为阿里云百炼原生能力,对中文及方言支持深度优于多数国际 TTS 服务,适合本土化内容创作场景。

工程化设计完善:dlazy CLI 提供设备码认证、自动配置保存、异步任务轮询、成本预估等完整工具链,降低集成门槛。支持 @N 管道引用等高级参数传递模式,便于工作流编排。

透明可信:源码开源(MIT-0 许可),维护者为 dlazyai GitHub 组织,依赖管理通过标准 npm 生态,安全审计可追溯。

潜在缺点与局限性

外部依赖刚性:必须安装 Node.js 环境并通过 npm/npx 获取 dlazy CLI,对纯 Python 或其他技术栈用户增加环境负担。CLI 版本与 Skill 锁定机制可能带来版本滞后风险。

云服务绑定:所有文本内容必须上传至 dlazy.com 官方 API 处理,存在数据出境合规顾虑,且服务可用性完全依赖 dlazy 平台稳定性,无离线能力。

成本与配额限制:采用 SaaS 计费模式,需预充值 credits,高频调用场景成本累积较快;免费额度及定价策略由 dlazy 单方制定,存在变动风险。

音频输出局限:当前仅支持标准音频格式输出,缺乏实时流式合成、音调/语速细粒度控制、情感强度调节等高级参数,专业配音场景灵活性不足。

适合的目标群体

  • 内容创作者:播客、有声书、视频配音等需要多样化人声的生产者
  • 开发者与产品团队:需快速集成中文 TTS 能力至应用的原型开发阶段
  • 本地化运营人员:电商、客服等需要方言或特色声线的场景运营
  • 教育工作者:课件配音、多语言教学材料制作

使用风险

数据隐私风险:用户输入文本、生成的音频均流经 dlazy 服务器,敏感内容(如个人信息、商业机密)存在泄露风险,建议避免输入受监管数据。

供应链风险:依赖 npm 包 @dlazy/cli 及 dlazy 云服务,需信任其安全更新与持续运营;建议通过 npx 即时运行减少本地持久化攻击面。

认证管理风险:API Key 存储于本地配置文件,共享环境或权限配置不当可能导致密钥泄露;推荐优先使用环境变量方式并定期轮换密钥。

异步任务超时:默认 1800 秒超时可能不足于长文本批量任务,需合理设置 --timeout 或采用 --no-wait + 手动轮询模式。

技能正文


name: dlazy-qwen-tts version: 1.2.1 description: Alibaba Bailian qwen3-tts text-to-speech. Choose from curated system voices (including dialects) or design a custom voice from a natural-language description. 阿里云百炼 qwen3-tts 文本转语音,支持系统音色(含方言)或通过自然语言描述自定义新音色(声音设计)。 metadata: { 'clawdbot': { 'emoji': '🤖', 'requires': { 'bins': ['npm', 'npx'] }, 'install': 'npm install -g @dlazy/cli@latest', 'installAlternative': 'npx @dlazy/cli@latest', 'homepage': 'https://github.com/dlazyai/cli', 'source': 'https://github.com/dlazyai/cli', 'author': 'dlazyai', 'license': 'see-repo', 'npm': 'https://www.npmjs.com/package/@dlazy/cli', 'configLocation': '~/.dlazy/config.json', 'apiEndpoints': ['api.dlazy.com', 'files.dlazy.com'], }, 'openclaw': { 'systemPrompt': 'When invoking this skill, use dlazy qwen-tts -h for help.' }, }

dlazy-qwen-tts

English · 中文

Alibaba Bailian qwen3-tts text-to-speech. Choose from curated system voices (including dialects) or design a custom voice from a natural-language description.

Trigger Keywords

  • qwen-tts

Authentication

All requests require a dLazy API key. The recommended way to authenticate is:

dlazy login

This runs a device-code flow (also works in remote shells) and automatically saves your API key to the local CLI config — no manual copy/paste required.

Alternative: Set the Key Manually

If you already have an API key, you can save it directly:

dlazy auth set YOUR_API_KEY

The CLI saves the key in your user config directory (~/.dlazy/config.json on macOS/Linux, %USERPROFILE%\.dlazy\config.json on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the DLAZY_API_KEY environment variable.

Getting Your API Key Manually

  1. Sign in or create an account at dlazy.com
  2. Go to dlazy.com/dashboard/organization/api-key
  3. Copy the key shown in the API Key section

Each key is scoped to your dLazy organization and can be rotated or revoked at any time from the same dashboard.

About & Provenance

You can install on demand without persisting a global binary by running:

npx @dlazy/cli@latest <command>

Or, if you prefer a global install, the skill's metadata.clawdbot.install field declares the exact pinned version (npm install -g @dlazy/cli@latest). Review the GitHub source before installing.

How It Works

This skill is a thin client over the dLazy hosted API. When you invoke it:

  • Prompts and parameters you provide are sent to the dLazy API endpoint (api.dlazy.com) for inference.
  • Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (files.dlazy.com) so the model can read them — the same flow as any cloud-based generation API.
  • Generated output URLs returned by the API are hosted on files.dlazy.com.

This is the standard SaaS pattern; the skill itself does not access network or filesystem resources beyond what the dLazy CLI already handles. See dlazy.com for the full service terms.

Usage

CRITICAL INSTRUCTION FOR AGENT: Execute dlazy qwen-tts to get the result.

dlazy qwen-tts -h

Options:
  --prompt [prompt]                    Prompt
  --generation_mode [generation_mode]  Generation Mode(system=System Voice; design=Designed by Description) [default: system] (choices: "system", "design")
  --voice [voice]                      Voice [default: Cherry] (choices: "Cherry", "Serena", "Ethan", "Chelsie", "Momo", "Vivian", "Moon", "Maia", "Kai", "Nofish", "Bella", "Jennifer", "Ryan", "Katerina", "Aiden", "Eldric Sage", "Mia", "Mochi", "Bellona", "Vincent", "Bunny", "Neil", "Elias", "Arthur", "Nini", "Seren", "Pip", "Stella", "Jada", "Dylan", "Sunny", "Eric", "Rocky", "Kiki", "Peter", "Marcus", "Roy", "Li") [only when generation_mode="system"]
  --voice_prompt [voice_prompt]        Voice Description (describe the voice you want in natural language) [default: ] [only when generation_mode="design"]
  --language_type [language_type]      Language [default: Auto] (choices: "Auto", "Chinese", "English", "Japanese", "Korean", "French", "German", "Italian", "Portuguese", "Russian", "Spanish")
  --dry-run                            Print payload + cost estimate without calling API
  --no-wait                            Return generateId immediately for async tasks
  --timeout <seconds>                  Max seconds to wait for async completion (default: "1800")
  -h, --help                           display help for command

Any flag also accepts pipe references — - (auto-pick from upstream stdin), @N (n-th output), @N.path (jsonpath into output), @* (all primary values), @stdin / @stdin:path (whole envelope). See dlazy --help for details.

Output Format

{
  "ok": true,
  "result": {
    "tool": "qwen-tts",
    "modelId": "qwen-tts",
    "outputs": [
      {
        "type": "image",
        "id": "o_xxxxxxxx",
        "url": "https://files.dlazy.com/result.png",
        "mimeType": "image/png"
      }
    ]
  }
}

Async tasks (when --no-wait is passed) return outputs: [] and a task: { generateId, status } field instead. Use dlazy status <generateId> --wait to poll.

Examples

dlazy qwen-tts --prompt 'prompt content'

Error Handling

Code Error Type Example Message
401 Unauthorized (No API Key) ok: false, code: "unauthorized", message: "API key is missing or invalid"
501 Missing required parameter error: required option '--prompt <prompt>' not specified
502 Local file read error Error: Image file/Video file not found: C:\path\to\your\file
503 API request failed (no balance) ok: false, code: "insufficient_balance"
503 API request failed (server error) HTTP status code error (500 server crash)
504 Asynchronous task execution failed === Generation Failed === / {Specific error reason returned by backend, for example "Prompt violates safety policy"}

AGENT CRITICAL INSTRUCTION:

  1. If the execution result returns code: "insufficient_balance", you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: https://dlazy.com/dashboard/organization/settings?tab=credits
  2. If the execution result returns code: "unauthorized" or indicates missing API key, you MUST inform the user to get their API key from https://dlazy.com/dashboard/organization/api-key and save it using dlazy auth set <key> and resume the task.

Tips

Visit https://dlazy.com for more information.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill