Kling TTS Emotional Speech Generation
Paste the following prompt into your AI chat to install this skill:
Please install @user_f95f21b8/dlazy-keling-tts according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When an agent needs to turn prompts, subtitles, or copy into playable audio, calling a cloud TTS SDK directly brings in key setup, async task polling, and error handling. keling tts wraps this into a single dlazy keling-tts command: provide text and parameters, then receive Kling TTS speech output or task status, making emotional speech generation easier to embed in local workflows.
How It Works
The skill is a thin client for the dLazy hosted API. On invocation, text and parameters are sent to api.dlazy.com for inference; if local file paths are supplied, the CLI uploads them to dLazy media storage so the model can read them. Generated assets are typically returned as URLs on files.dlazy.com.
- Authentication: uses a dLazy API key, or
DLAZY_API_KEYfor a single invocation. - Synchronous output: waits by default and returns the finished speech result.
- Async mode: with
--no-wait, returnstask.generateIdandstatusfor later polling. - Parameter references: supports
-,@N,@N.path, and@stdinfor piping upstream values. - Error signals:
401means the key is missing or invalid;503may indicate insufficient balance or service errors.
Boundaries
This is best for converting short text, scripts, or generated copy into Kling TTS speech. It is not a good fit for fully offline inference, self-hosted deployment, or avoiding dLazy account billing. If the result reports insufficient_balance or unauthorized, check the dLazy account credits or API key first.
Use Cases
- When producing short-video voiceover, convert approved narration scripts into emotional speech and retrieve audio URLs for mixing.
- In podcast production, submit an episode summary for TTS with `--no-wait`, then poll the task until audio is ready.
- For courseware audio, turn Markdown sections into separate speech clips so editors can audition and choose the best read.
- When chaining agent outputs, read a copy field with `@N.path` and pass it directly to Kling TTS for speech.
Best For
- Video post-production editors who need to turn narration scripts into audible emotional voiceover drafts.
- Agent workflow engineers who want to pass upstream copy fields directly into a speech CLI command.
- Podcast or courseware editors who need to generate speech from multiple text sections and audition them.
- Product teams using dLazy APIs who need consistent CLI handling for TTS calls and balance errors.
Related Skills
A ComfyUI image-generation skill that uses a five-step dialog to collect prompts, prefill templates, confirm parameters, submit API jobs, and return results.
A design-system guidance skill for Impeccable that produces token-based rules, component states, accessibility criteria, and QA checklists.
Director-level video lapian that diagnoses material precision, then produces frame evidence, director analysis, a style bible, and a showcase video.
Plan and brief Amazon MAIN, Listing, and A+ image sets from verified product facts, then return plan and image QA status.