设计与多媒体

语音合成 ElevenLabs TTS

试用

使用 ElevenLabs eleven_v3 将文本转为语音,提供 12 种精选多语种音色,支持稳定性、相似度与风格参数调节。

它能做什么

通过 `dlazy elevenlabs-tts` 命令调用 ElevenLabs eleven_v3 模型,生成的音频文件托管在 files.dlazy.com。可在 12 种预设音色中选择(如 Rachel 知性女声、Adam 深沉男声、Sam 沙哑男声等),或先用 elevenlabs-search 在音色库中检索后传入自定义 voice_id。通过 stability(默认 0.5)、similarity_boost(默认 0.75)、style(默认 0)三个参数调节效果,支持 --dry-run 预览请求与费用估算,或用 --no-wait 启动异步任务后轮询状态。鉴权通过 `dlazy login` 设备码登录或 DLAZY_API_KEY 环境变量完成。

什么时候用它

  • 视频与短片的旁白配音
  • 有声书与长文朗读
  • 游戏与动画的角色对白
  • 语音助手或聊天机器人原型

技能文档

语音合成 ElevenLabs TTS

English · 中文

ElevenLabs eleven_v3 text-to-speech with 12 curated multilingual voices and stability/similarity/style controls. Great for dubbing, audiobooks, and character dialog. Before picking a voice, you can search for the right one via elevenlabs-search.

Trigger Keywords

  • elevenlabs-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@1.2.3 

Or, if you prefer a global install, the skill's metadata.clawdbot.install field declares the exact pinned version (npm install -g @dlazy/cli@1.2.3). 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 elevenlabs-tts to get the result.

dlazy elevenlabs-tts -h

Options:
  --prompt [prompt]                    Prompt
  --use_custom_voice [use_custom_voice]Use Custom Voice [default: false]
  --custom_voice_id [custom_voice_id]  Custom Voice ID (click search to browse the library or paste a voice_id) [only when use_custom_voice="true"]
  --voice_language [voice_language]    Voice Language [default: multilingual] (choices: "multilingual")
  --voiceId [voiceId]                  Voice ID Options depend on "voice_language". when voice_language="multilingual": 21m00Tcm4TlvDq8ikWAM (Rachel · 知性女声), EXAVITQu4vr4xnSDxMaL (Sarah · 年轻女声), AZnzlk1XvdvUeBnXmlld (Domi · 自信女声), MF3mGyEYCl7XYWbV9V6O (Elli · 甜美女声), ThT5KcBeYPX3keUQqHPh (Dorothy · 温柔女声), ErXwobaYiN019PkySvjV (Antoni · 沉稳男声), TxGEqnHWrfWFTfGW9XjX (Josh · 年轻男声), VR6AewLTigWG4xSOukaG (Arnold · 清晰男声), pNInz6obpgDQGcFmaJgB (Adam · 深沉男声), yoZ06aMxZJJ28mfd3POQ (Sam · 沙哑男声), onwK4e9ZLuTAKqWW03F9 (Daniel · 英伦男声), pqHfZKP75CvOlQylNhV4 (Bill · 中年男声) [default: 21m00Tcm4TlvDq8ikWAM] [options depend on --voice_language; voice_language=multilingual: 21m00Tcm4TlvDq8ikWAM (Rachel · 知性女声), EXAVITQu4vr4xnSDxMaL (Sarah · 年轻女声), AZnzlk1XvdvUeBnXmlld (Domi · 自信女声), MF3mGyEYCl7XYWbV9V6O (Elli · 甜美女声), ThT5KcBeYPX3keUQqHPh (Dorothy · 温柔女声), ErXwobaYiN019PkySvjV (Antoni · 沉稳男声), TxGEqnHWrfWFTfGW9XjX (Josh · 年轻男声), VR6AewLTigWG4xSOukaG (Arnold · 清晰男声), pNInz6obpgDQGcFmaJgB (Adam · 深沉男声), yoZ06aMxZJJ28mfd3POQ (Sam · 沙哑男声), onwK4e9ZLuTAKqWW03F9 (Daniel · 英伦男声), pqHfZKP75CvOlQylNhV4 (Bill · 中年男声)] [only when use_custom_voice="false"]
  --stability [stability]              Stability [default: 0.5]
  --similarity_boost [similarity_boost]Similarity Boost [default: 0.75]
  --style [style]                      Style [default: 0]
  --dry-run                            Print payload + cost estimate without calling API
  --no-wait                            Return generateId immediately for async tasks
  --timeout                   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": "elevenlabs-tts",
    "modelId": "elevenlabs-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 --wait to poll.

Examples

dlazy elevenlabs-tts --prompt 'prompt content'

Error Handling

CodeError TypeExample Message
401Unauthorized (No API Key)ok: false, code: "unauthorized", message: "API key is missing or invalid"
501Missing required parametererror: required option '--prompt ' not specified
502Local file read errorError: Image file/Video file not found: C:\path\to\your\file
503API request failed (no balance)ok: false, code: "insufficient_balance"
503API request failed (server error)HTTP status code error (500 server crash)
504Asynchronous 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 and resume the task.

Tips

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

相关技能

以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。

作者 johnpatternai22 次安装8 星标

把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。

作者 nssa.io1.0k 次安装47 星标

在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。

作者 Iván559 次安装18 星标

从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。

作者 fly0pants4.3k 次安装296 星标

诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。

作者 Iván855 次安装69 星标

dlazyai 的更多技能

浏览全部技能

根据提示词自动挑选最合适的 dlazy CLI 图片模型,并执行生成命令。

作者 dlazyai66 次安装

通过 CLI 一键抠图,去背景后返回透明 PNG 链接,支持本地路径或远程图片 URL。

作者 dlazyai64 次安装

通过 CLI 调用 Seedance 2.0,从文本、图片、视频、音频或首尾帧生成视频。

作者 dlazyai65 次安装

用一条提示词生成 Midjourney 风格图像,可指定画幅、Bot 类型和输出位(grid/U1-U4)。

作者 dlazyai61 次安装