Preface¶
When creating voiceovers for short videos, product demos, or accessibility narrations, there is often a need to quickly convert scripts into downloadable audio. Local TTS requires selecting engines and tuning voice profiles; directly integrating cloud provider APIs requires writing your own authentication, parameters, and error handling. If you want your Agent to select voice, speed, and format based on --prompt within a conversation and return the result as a URL, you can install the keling tts (coordinates @user_f95f21b8/dlazy-keling-tts, current version 1.0.9) from SkillHub into the skills directory of clients like Cursor or Claude Code, driving the dlazy keling-tts call via skill documentation.
The following introduces the positioning, capabilities, and installation usage of this Skill; facts are based on the SkillHub page and the SKILL.md / SKILL-cn.md files within the skill package.
What is this¶
keling tts is a community-sourced (community) Agent Skill categorized under design-media. The SkillHub description is: Convert text into high-quality, emotional speech reading using Kling TTS. The Chinese description is: Uses the Kling TTS model to transform text into high-quality, emotionally rich speech reading.
The skill is listed on SkillHub by the publisher user_f95f21b8; it accesses the dLazy hosted API (api.dlazy.com, files.dlazy.com) underlying via @dlazy/cli maintained by dlazyai (skill metadata fixed at version 1.0.9). The tag requires_api_key=true indicates that a dLazy API Key must be configured before use, billed per request or per account, subject to the service terms of dlazy.com.
Core Functions¶
Combining the official skill documentation, the verifiable capabilities include:
- Text-to-Speech: Pass the text to be read via the required
--promptparameter indlazy keling-tts. - Language and Voice:
--voice_languagesupportszh,en(defaultzh);--voiceIdvaries with language, defaulting togenshin_vindi2. The Chinese side includes news broadcasting, dialect personas, children’s voices, and many other presets (seedlazy keling-tts -hfor the full list). - Output Control:
--speedoffers0.8,1.0,1.5;--formatoffersmp3,wav(defaultmp3). - Debugging and Async:
--dry-runprints the request payload and cost estimate without actually calling the API;--no-waitreturns thegenerateIdimmediately, allowing you to poll later usingdlazy status <generateId> --wait. - Pipeline Parameters: Flags support pipe references such as
-,@N,@stdin; seedlazy --helpfor details.
Agent-side trigger keywords include: kling tts, text to speech, generate speech (the Chinese documentation also includes “可灵 tts”, “文本转语音”, “生成语音”).
Installation and Activation¶
1. Install SkillHub CLI (if not already installed)¶
Check or install the CLI according to the SkillHub installation documentation:
command -v skillhub && skillhub --version
If not installed, you can run the full installation (including the default Skill):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install keling tts into the current Agent’s skills directory¶
During installation, you must use --dir to point to the skills directory recognized by your current client; otherwise, it will default to ./skills/ and the Agent may not be able to read it. Common paths (excerpted from official installation docs):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Example command (replace the directory with your environment):
skillhub install @user_f95f21b8/dlazy-keling-tts --dir ~/.cursor/skills/
You can also let the AI install @user_f95f21b8/dlazy-keling-tts based on https://skillhub.cn/install/skillhub.md. After installation, you usually need to restart or refresh the Agent to load the skill.
3. Install and configure dLazy CLI¶
The skill requires npm / npx to be available on your local machine. Install a fixed version globally:
npm install -g @dlazy/cli@1.0.9
Or invoke on demand without keeping it in global scope:
npx @dlazy/cli@1.0.9 <command>
Configure the API Key (written to ~/.dlazy/config.json, or %USERPROFILE%\.dlazy\config.json on Windows):
dlazy auth set YOUR_API_KEY
You can also set the environment variable DLAZY_API_KEY for a single invocation. Keys can be obtained at dlazy.com/dashboard/organization/api-key.
Typical Usage¶
First, check the subcommand help to confirm parameters and voice lists in your current environment:
dlazy keling-tts -h
Basic example from official documentation:
dlazy keling-tts --prompt 'Content of the prompt'
In an Agent conversation, this is equivalent to asking the model to execute the above command; you can add requirements such as Chinese female voice, slightly slower speed, and WAV format:
dlazy keling-tts \
--prompt 'Hello everyone, this is a test voiceover.' \
--voice_language zh \
--voiceId chat1_female_new-3 \
--speed 0.8 \
--format wav
You can use --dry-run before calling to view the payload and cost estimate. Upon success, the CLI returns JSON where result.tool is keling-tts, result.modelId is keling-tts, and outputs contains the result URL hosted on files.dlazy.com (the example JSON in the skill documentation still uses the generic type field; refer to actual returns).
Use Cases and Notes¶
Who is it for
- Users already using environments supporting Skills like Cursor / Claude Code, who wish to describe “read this script out” in natural language and get an audio link.
- Users who need Kling TTS’s multi-voice and Chinese-English switching capabilities and accept billing via a dLazy account.
Limitations and Precautions
- Must be online and have an API Key: If not configured or the Key is invalid,
code: "unauthorized"is returned; insufficient balance results ininsufficient_balance, requiring a top-up at Credits settings. - Text is uploaded to the cloud: Prompts and parameters are sent to
api.dlazy.com, constituting a standard SaaS call; assess the compliance of sensitive content yourself. - Depends on Node ecosystem: Requires the ability to run
npm/npxand install@dlazy/cli@1.0.9; you can review the source code at github.com/dlazyai/cli before installing the CLI. - SkillHub Metadata: As of the capture time, the Skill rating was 100000, with approximately 1047 downloads and 2 install records; page data changes, refer to SkillHub for the latest.
Common error codes are listed in the skill documentation (e.g., missing --prompt, local file path errors, async task failures); the Agent should provide clear guidance on billing and authentication failures according to the documentation.
Conclusion¶
keling tts encapsulates Kling TTS into an Agent-executable dlazy keling-tts workflow: The Skill handles trigger words and parameter descriptions, while the CLI handles authentication and API calls. If you want to generate emotional reading audio via conversation in your IDE, first install the Skill and @dlazy/cli@1.0.9 as described above, then configure your dLazy API Key.
Official Entry Points:
- SkillHub Page: https://www.skillhub.cn/skills/user_f95f21b8/dlazy-keling-tts
- API Coordinate Page: https://api.skillhub.cn/user_f95f21b8/dlazy-keling-tts