AI Agent Hub
Back to skills
Kling TTS Emotional Speech Generation icon

Kling TTS Emotional Speech Generation

Design & Media Updated 2026.08.29

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_KEY for a single invocation.
  • Synchronous output: waits by default and returns the finished speech result.
  • Async mode: with --no-wait, returns task.generateId and status for later polling.
  • Parameter references: supports -, @N, @N.path, and @stdin for piping upstream values.
  • Error signals: 401 means the key is missing or invalid; 503 may 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.