Vidu Audio Clone: Voice Cloning and Reading Generation with Vidu in Agents

Introduction

In short videos, audio content, and multi-language dubbing, a common need is “fixed voice + new copy”: record a reference audio once, then have the system read new text in the same voice. If you have to check parameters and piece together requests in a console every time, it’s hard for an Agent to reliably reproduce the same workflow.

Below is a community Skill on SkillHub: vidu audio clone (ID @user_f95f21b8/dlazy-vidu-audio-clone, current version 1.0.9). It wraps Vidu Audio Clone hosted by dLazy into a standard SKILL.md, so clients like Cursor and Claude Code can invoke the CLI according to the documentation in-conversation, completing reference audio upload, voice cloning, and speech generation for new text.

What It Is

vidu audio clone is positioned as: using Vidu’s voice cloning technology to replicate a voice via a reference audio, and generate narrated audio for new text. SkillHub categorizes it under design-media, source is community, publisher is user_f95f21b8.

The underlying layer calls the dLazy API (api.dlazy.com) via @dlazy/cli maintained by dlazyai; it is not a local offline model. The skill is tagged with requires_api_key=true; you need a valid dLazy API Key before using it.

Core Functions

Combining the official description with the skill’s SKILL-cn.md, the verified capabilities include:

  1. Voice cloning: pass a reference audio via --audio_url (URL or local path) as the basis for voice timbre.
  2. Speech generation from text: pass the text to be read via --prompt (in the skill doc this field is labeled “prompt”).
  3. CLI helpers: supports dlazy vidu-audio-clone -h to view parameters; --dry-run to estimate requests and costs; --no-wait and dlazy status to handle async tasks; --timeout to control wait upper bound (default 1800 seconds).
  4. Agent trigger phrases (defined in the skill): such as “vidu 声音克隆”, “克隆声音”, “定制语音”.

The result is returned as an API URL (hosted on files.dlazy.com). Local reference audio will first be uploaded by the CLI to dLazy media storage, consistent with common cloud generation API workflows.

Installation and Activation

1. Install the Skill to the Current Agent

The SkillHub page recommends letting the Agent install this skill following the SkillHub installation guide. If the skillhub CLI is already installed, use --dir to point to the skills directory of the current environment; otherwise the default ./skills/ might not be recognized:

command -v skillhub && skillhub --version

If the CLI is not installed, you can install it with the official script (the full install includes default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Install this Skill (install dlazy-vidu-audio-clone into the corresponding directory):

skillhub install dlazy-vidu-audio-clone --dir <skills 目录>

Example skills paths for common clients (per the installation docs):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

You can also prompt the Agent in a conversation: please install @user_f95f21b8/dlazy-vidu-audio-clone according to https://skillhub.cn/install/skillhub.md.

2. Install and Configure the dLazy CLI

The skill metadata requires npm / npx on the local machine and pins CLI version 1.0.9:

npm install -g @dlazy/cli@1.0.9

Or, without installing globally, call it on demand:

npx @dlazy/cli@1.0.9 <command>

Configure the API Key (required for all requests):

dlazy auth set YOUR_API_KEY

The key is written to ~/.dlazy/config.json (on Windows: %USERPROFILE%\.dlazy\config.json). You can also use the environment variable DLAZY_API_KEY for a single run. Keys are obtained at dlazy.com/dashboard/organization/api-key.

Typical Usage

First confirm the help and required fields:

dlazy vidu-audio-clone -h

The doc lists the main parameters as --audio_url (reference audio) and --prompt (text to read). A basic invocation example (consistent with the skill package):

dlazy vidu-audio-clone --prompt '提示词内容'

In real cloning scenarios you should provide both the reference audio and the text to be read, e.g.:

dlazy vidu-audio-clone --audio_url '/path/to/reference.wav' --prompt '需要朗读的新文案'

After enabling this Skill in an Agent, the model will execute the above commands per SKILL.md; when encountering balance or authentication errors, the skill documentation requires guiding the user to top up or update the Key in the dLazy console.

On success, the CLI returns JSON; result.outputs contains fields like url for the generated resource. If you use --no-wait, you need to poll completion status with dlazy status <generateId> --wait.

Use Cases and Notes

Best for: environments already using Cursor / Claude Code with Skills support, where you want the Agent to orchestrate “reference audio + new script → narrated audio”; teams or individuals willing to use dLazy credits and cloud APIs.

Limitations and notes:

  1. Network and compliance: prompts, parameters, and local media files will be sent to dLazy; before use, please read the dlazy.com terms of service and ensure you have the rights to use the reference audio and generated content.
  2. Cost: invocations consume dLazy account credits; when you get insufficient_balance, you need to top up in the organization settings.
  3. Dependencies: requires @dlazy/cli@1.0.9 from the Node ecosystem; before installing globally, you can review the source code at github.com/dlazyai/cli.
  4. SkillHub data (as of the scrape time): rating 100000, downloads 1036, install count 0; refer to the SkillHub skill page.

Closing

vidu audio clone converges Vidu voice cloning and text-to-speech into a repeatable Agent workflow: the Skill provides instructions and constraints, while the dLazy CLI handles authentication and API calls. If you want to “clone a voice and read a new script” in one go inside an Agent, install @user_f95f21b8/dlazy-vidu-audio-clone from SkillHub and configure your dLazy API Key.

Official entries:

  • SkillHub page: https://www.skillhub.cn/skills/user_f95f21b8/dlazy-vidu-audio-clone
  • API metadata page: https://api.skillhub.cn/user_f95f21b8/dlazy-vidu-audio-clone
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye