Preface¶
In short-video, audiobook, and dubbing work, we often need to “pin down a single voice”: the same narration or the same character’s lines must keep a consistent timbre from start to finish. Generic TTS usually only offers preset voices; recording your own reference and manually aligning it is costly. If you want an Agent to accomplish “upload reference audio → generate customized speech that restores the timbre” directly in conversation, you need to package Kling’s voice-cloning capability along with CLI and API configuration into an installable Skill. Below is the kling audio clone Skill on SkillHub (coordinate @user_f95f21b8/dlazy-kling-audio-clone, current version 1.0.9).
What This Is¶
kling audio clone is a community-sourced (community) design-media Skill published by user_f95f21b8. Its brief states: Generate customized speech that highly restores the timbre by uploading reference audio using Kling Audio Clone.
The Skill itself is a lightweight wrapper around a dLazy-hosted API: actual inference runs via api.dlazy.com, and local audio files are uploaded to files.dlazy.com by @dlazy/cli. The CLI’s source and maintainer are at github.com/dlazyai/cli, and the npm package is @dlazy/cli (pinned to 1.0.9 in Skill metadata). The SkillHub page marks requires_api_key=true, so a dLazy API Key must be configured before use.
Core Functions¶
Based on the SKILL.md / SKILL-cn.md included in the Skill package, the verified capabilities are:
- Voice-clone generation: The Agent runs
dlazy kling-audio-clone, sending the prompt and parameters to dLazy to generate customized speech based on a reference audio. - Reference audio input: Supports
--audio_url, which can be a URL or a local path (documented as[audio: url or local path]). - Naming:
--nameis used to name the cloning task or result. - Cost control and debugging:
--dry-runonly prints the request body and cost estimate without actually calling the API. - Asynchronous tasks:
--no-waitreturns agenerateIdimmediately; you can poll withdlazy status <generateId> --wait;--timeoutwaits up to 1800 seconds by default. - Pipeline references: Parameters support
-,@N,@stdin, and other modes to chain with upstream outputs (seedlazy --helpfor details).
Trigger keywords include: kling audio clone, clone voice, custom speech, audio cloning (the Chinese doc also includes “可灵声音克隆”, “克隆声音”, etc.).
Installation and Enablement¶
1. Install SkillHub CLI (if not already installed)¶
command -v skillhub && skillhub --version
If it’s not installed, you can follow the SkillHub installation docs for a full install:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install the Skill into the current Agent’s skills directory¶
When installing, you must use --dir to point to the directory the Agent actually recognizes; otherwise the default ./skills/ may not be loaded. Common paths from the official docs:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Command to install this Skill (consistent with the SkillHub search result):
skillhub install dlazy-kling-audio-clone --namespace user_f95f21b8 --dir ~/.cursor/skills/
You can also have the Agent install by coordinate @user_f95f21b8/dlazy-kling-audio-clone via skillhub.md.
3. Install dLazy CLI¶
The Skill requires npm / npx in the environment. Recommended version consistent with the metadata:
npm install -g @dlazy/cli@1.0.9
If you don’t want a global install, you can invoke per command:
npx @dlazy/cli@1.0.9 <command>
4. Configure the API Key¶
dlazy auth set YOUR_API_KEY
The key is written to ~/.dlazy/config.json (on Windows, %USERPROFILE%\.dlazy\config.json); you can also pass it via the DLAZY_API_KEY environment variable or a one-off --api-key argument. Get the key at dlazy.com/dashboard/organization/api-key.
After these steps, when the Agent matches trigger words or the user explicitly requests voice cloning, it should first run dlazy kling-audio-clone -h to view the current CLI subcommand and parameters, then initiate generation.
Typical Usage¶
First, view help (the Agent entry point specified in the Skill):
dlazy kling-audio-clone -h
Main options listed in the docs:
--audio_url [audio_url] Audio link [audio: url or local path]
--name [name] Name
--dry-run Print payload and cost estimate, no API call
--no-wait Async task returns generateId immediately
--timeout <seconds> Max wait time for async completion (default 1800)
Use --dry-run to verify parameters and estimated cost first, then call officially. The Skill doc example is:
dlazy kling-audio-clone --prompt '提示词内容'
If the CLI reports a missing --prompt, fill it in per the error; for reference audio, also provide --audio_url (local file or URL). On success, stdout is a JSON envelope with result.tool equal to kling-audio-clone; outputs contains the url of the generated asset (hosted on files.dlazy.com). In async mode outputs may be empty; use task.generateId with dlazy status to query.
Use Cases and Notes¶
Who it’s for
- Creators and developers working in Skills-capable environments like Cursor, Claude Code, or Codex, who want to drive “reference audio + Kling cloning” via natural language.
- Those who accept dLazy’s pay-as-you-go SaaS model where data is processed via
api.dlazy.com/files.dlazy.com(see dlazy.com for terms).
Limitations and notes
- You must provide your own API Key and balance:
401 unauthorizedmeans missing or invalid Key;insufficient_balancerequires a top-up at Credit Settings. - Network and dependencies: You need to be able to install the npm package and access the dLazy API; sandboxed or offline environments cannot complete calls directly.
- Compliance and content safety: The backend may reject generation due to safety policies (doc example:
Prompt violates safety policy); adjust inputs accordingly. - SkillHub data (as of page capture): Rating 100000, 1069 downloads, 3 installs; see the SkillHub Skill page for the latest.
Closing¶
kling audio clone turns Kling voice cloning into a fixed workflow: “install Skill → configure dLazy CLI and API Key → run dlazy kling-audio-clone”, suitable for producing customized speech with consistent timbre within Agent conversations. Official entry points:
- SkillHub API URL: https://api.skillhub.cn/user_f95f21b8/dlazy-kling-audio-clone
- SkillHub page: https://www.skillhub.cn/skills/user_f95f21b8/dlazy-kling-audio-clone