模型参考音频模型
qwen-tts
阿里云百炼 qwen3-tts 文本转语音,支持系统音色(含方言)或通过自然语言描述自定义新音色(声音设计)。
阿里云百炼 qwen3-tts 文本转语音,支持系统音色(含方言)或通过自然语言描述自定义新音色(声音设计)。
概览
| 字段 | 值 |
|---|---|
| Model ID | qwen-tts |
| CLI | dlazy qwen-tts |
| MCP | qwen-tts(在 Claude Code 中显示为 mcp__dlazy__qwen-tts) |
| 类型 | audio |
| 执行 | 异步任务,默认轮询直到完成(--no-wait 可立即返回 generateId) |
| 批量 | 支持 --batch <n> 并行扇出 |
参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
prompt | string | Yes | 提示词 |
generation_mode | "system" | "design" | No | 生成模式(system=系统音色; design=自定义描述);默认 "system" |
voice | "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" | No | 音色;默认 "Cherry";仅当 generation_mode="system" |
voice_prompt | string | No | 音色描述(用自然语言描述你想要的声音特质);默认 "";仅当 generation_mode="design" |
language_type | "Auto" | "Chinese" | "English" | "Japanese" | "Korean" | "French" | "German" | "Italian" | "Portuguese" | "Russian" | "Spanish" | No | 语种;默认 "Auto" |
--input @file.json与--input '{...}'也可一次性提供所有参数;命令行 flag 优先级更高。
CLI 示例
dlazy qwen-tts --help
dlazy qwen-tts --prompt "请在这里填写提示词"
dlazy qwen-tts --prompt "请在这里填写提示词" --dry-run
dlazy qwen-tts --prompt "请在这里填写提示词" --no-wait
dlazy qwen-tts --prompt "请在这里填写提示词" --batch 4MCP
MCP 由 AI 客户端调用,无需手写示例。把 dLazy 注册成 MCP server 后,工具会自动出现在客户端的工具列表里——Claude Code 中名字是 mcp__dlazy__qwen-tts,OpenClaw 等通用客户端按裸 qwen-tts 调用。
添加 MCP server 见 MCP 集成。
输出
{
"outputs": [
{ "type": "audio", "id": "o_...", "url": "https://files.dlazy.com/result.mp3", "mimeType": "audio/mpeg" }
]
}媒体类型工具返回 image / video / audio / file output;可通过 --output url 让 stdout 只保留 URL。