← 返回 Skills 市场
dlazyai

Dlazy Keling Tts

作者 dlazy · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ 安全检测通过
483
总下载
0
收藏
1
当前安装
5
版本数
在 OpenClaw 中安装
/install dlazy-keling-tts
功能描述
Convert text into high-quality, emotional speech reading using Kling TTS.
使用说明 (SKILL.md)

dlazy-keling-tts

English · 中文

Convert text into high-quality, emotional speech reading using Kling TTS.

Trigger Keywords

  • kling tts
  • text to speech
  • generate speech

Authentication

All requests require a dLazy API key, configured through the CLI:

dlazy auth set YOUR_API_KEY

The CLI saves the key in your user config directory (~/.dlazy/config.json on macOS/Linux, %USERPROFILE%\.dlazy\config.json on Windows), with file permissions restricted to your OS user account. You can also supply the key per-invocation via the DLAZY_API_KEY environment variable.

Getting Your API Key

  1. Sign in or create an account at dlazy.com
  2. Go to dlazy.com/dashboard/organization/api-key
  3. Copy the key shown in the API Key section

Each key is scoped to your dLazy organization and can be rotated or revoked at any time from the same dashboard.

About & Provenance

You can install on demand without persisting a global binary by running:

npx @dlazy/[email protected] \x3Ccommand>

Or, if you prefer a global install, the skill's metadata.clawdbot.install field declares the exact pinned version (npm install -g @dlazy/[email protected]). Review the GitHub source before installing.

How It Works

This skill is a thin client over the dLazy hosted API. When you invoke it:

  • Prompts and parameters you provide are sent to the dLazy API endpoint (api.dlazy.com) for inference.
  • Any local file paths you pass to image / video / audio fields are uploaded to dLazy's media storage (oss.dlazy.com) so the model can read them — the same flow as any cloud-based generation API.
  • Generated output URLs returned by the API are hosted on oss.dlazy.com.

This is the standard SaaS pattern; the skill itself does not access network or filesystem resources beyond what the dLazy CLI already handles. See dlazy.com for the full service terms.

Usage

CRITICAL INSTRUCTION FOR AGENT: Run the dlazy keling-tts command to get results.

dlazy keling-tts -h

Options:
  --prompt \x3Cprompt>                    Prompt
  --voice_language \x3Cvoice_language>    Voice Language [default: zh] (choices: "zh", "en")
  --voiceId \x3CvoiceId>                  Voice ID Options depend on "voice_language". when voice_language="zh": genshin_vindi2 (阳光少年), zhinen_xuesheng (懂事小弟), tiyuxi_xuedi (运动少年), ai_shatang (青春少女), genshin_klee2 (温柔小妹), genshin_kirara (元气少女), ai_kaiya (阳光男生), tiexin_nanyou (幽默小哥), ai_chenjiahao_712 (文艺小哥), girlfriend_1_speech02 (甜美邻家), chat1_female_new-3 (温柔姐姐), girlfriend_2_speech02 (职场女青), cartoon-boy-07 (活泼男童), cartoon-girl-01 (俏皮女童), ai_huangyaoshi_712 (稳重老爸), you_pingjing (温柔妈妈), ai_laoguowang_712 (严肃上司), chengshu_jiejie (优雅贵妇), zhuxi_speech02 (慈祥爷爷), uk_oldman3 (唠叨爷爷), laopopo_speech02 (唠叨奶奶), heainainai_speech02 (和蔼奶奶), dongbeilaotie_speech02 (东北老铁), chongqingxiaohuo_speech02 (重庆小伙), chuanmeizi_speech02 (四川妹子), chaoshandashu_speech02 (潮汕大叔), ai_taiwan_man2_speech02 (台湾男生), xianzhanggui_speech02 (西安掌柜), tianjinjiejie_speech02 (天津姐姐), diyinnansang_DB_CN_M_04-v2 (新闻播报男), yizhipiannan-v1 (译制片男), guanxiaofang-v2 (元气少女), tianmeixuemei-v1 (撒娇女友), daopianyansang-v1 (刀片烟嗓), mengwa-v1 (乖巧正太); when voice_language="en": genshin_vindi2 (Sunny), zhinen_xuesheng (Sage), AOT (Ace), ai_shatang (Blossom), genshin_klee2 (Peppy), genshin_kirara (Dove), ai_kaiya (Shine), oversea_male1 (Anchor), ai_chenjiahao_712 (Lyric), girlfriend_4_speech02 (Melody), chat1_female_new-3 (Tender), chat_0407_5-1 (Siren), cartoon-boy-07 (Zippy), uk_boy1 (Bud), cartoon-girl-01 (Sprite), PeppaPig_platform (Candy), ai_huangzhong_712 (Beacon), ai_huangyaoshi_712 (Rock), ai_laoguowang_712 (Titan), chengshu_jiejie (Grace), you_pingjing (Helen), calm_story1 (Lore), uk_man2 (Crag), laopopo_speech02 (Prattle), heainainai_speech02 (Hearth), reader_en_m-v1 (The Reader), commercial_lady_en_f-v1 (Commercial Lady) [default: genshin_vindi2] (choices: "genshin_vindi2", "zhinen_xuesheng", "tiyuxi_xuedi", "ai_shatang", "genshin_klee2", "genshin_kirara", "ai_kaiya", "tiexin_nanyou", "ai_chenjiahao_712", "girlfriend_1_speech02", "chat1_female_new-3", "girlfriend_2_speech02", "cartoon-boy-07", "cartoon-girl-01", "ai_huangyaoshi_712", "you_pingjing", "ai_laoguowang_712", "chengshu_jiejie", "zhuxi_speech02", "uk_oldman3", "laopopo_speech02", "heainainai_speech02", "dongbeilaotie_speech02", "chongqingxiaohuo_speech02", "chuanmeizi_speech02", "chaoshandashu_speech02", "ai_taiwan_man2_speech02", "xianzhanggui_speech02", "tianjinjiejie_speech02", "diyinnansang_DB_CN_M_04-v2", "yizhipiannan-v1", "guanxiaofang-v2", "tianmeixuemei-v1", "daopianyansang-v1", "mengwa-v1", "AOT", "oversea_male1", "girlfriend_4_speech02", "chat_0407_5-1", "uk_boy1", "PeppaPig_platform", "ai_huangzhong_712", "calm_story1", "uk_man2", "reader_en_m-v1", "commercial_lady_en_f-v1")
  --speed \x3Cspeed>                      Speed [default: 1.0] (choices: "0.8", "1.0", "1.5")
  --format \x3Cformat>                    Format [default: mp3] (choices: "mp3", "wav")
  --promptRefs \x3CpromptRefs...>         promptRefs [default: ]
  --input \x3Cspec>                       JSON payload: inline string, @file, or - (stdin)
  --dry-run                            Print payload + cost estimate without calling API
  --no-wait                            Return generateId immediately for async tasks
  --timeout \x3Cseconds>                  Max seconds to wait for async completion (default: "1800")
  -h, --help                           display help for command

Output Format

{
  "ok": true,
  "kind": "urls",
  "data": {
    "urls": [
      "https://oss.dlazy.com/result.mp4"
    ]
  }
}

Command Examples

# basic call:
dlazy keling-tts --prompt 'prompt text'

# complex call:
dlazy keling-tts --prompt 'prompt text'

Error Handling

Code Error Type Example Message
401 Unauthorized (No API Key) ok: false, code: "unauthorized", message: "API key is missing or invalid"
501 Missing required parameter error: required option '--prompt \x3Cprompt>' not specified
502 Local file read error Error: Image file/Video file not found: C:\path o\your\file
503 API request failed (no balance) ok: false, code: "insufficient_balance"
503 API request failed (server error) HTTP status code error (500 server crash)
504 Asynchronous task execution failed === Generation Failed === / {Specific error reason returned by backend, for example "Prompt violates safety policy"}

AGENT CRITICAL INSTRUCTION:

  1. If the execution result returns code: "insufficient_balance", you MUST explicitly inform the user that their credits are insufficient and guide them to recharge: https://dlazy.com/dashboard/organization/settings?tab=credits
  2. If the execution result returns code: "unauthorized" or indicates missing API key, you MUST inform the user to get their API key from https://dlazy.com/dashboard/organization/api-key and save it using dlazy auth set \x3Ckey> and resume the task.

Tips

Visit https://dlazy.com for more information.

安全使用建议
This skill appears to be a straightforward wrapper around the dLazy CLI. Before installing or running it: 1) Prefer on-demand npx usage to avoid a global npm install; 2) Review the @dlazy/cli GitHub/npm package (version pin in docs is 1.0.6) to confirm code and behavior; 3) Understand that using the CLI will upload any local media files you pass to oss.dlazy.com and will store your API key in ~/.dlazy/config.json (or accept it via DLAZY_API_KEY); 4) Be cautious about passing sensitive local files or keys to the service; 5) The SKILL.md and registry show slight version/documentation mismatches — treat that as a documentation quality issue and consider verifying the upstream project before trusting it.
功能分析
Type: OpenClaw Skill Name: dlazy-keling-tts Version: 1.0.4 The skill is a legitimate wrapper for the dLazy Kling TTS service, facilitating text-to-speech generation via the `@dlazy/cli` npm package. It transparently documents its use of API keys stored in `~/.dlazy/config.json` and the uploading of input files to `oss.dlazy.com` for processing, which is consistent with its stated purpose. No malicious instructions or unauthorized data exfiltration behaviors were detected in SKILL.md or the metadata.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description, required binaries (npm, npx), and the SKILL instructions all point to using the @dlazy/cli to call dLazy's hosted TTS API — this is consistent. Minor inconsistency: registry metadata lists version 1.0.4 while SKILL.md shows 1.0.2 and the embedded install pin is 1.0.6; this is sloppy but not inherently malicious.
Instruction Scope
SKILL.md directs the agent to run dlazy keling-tts and explains behavior (sending prompts to api.dlazy.com and uploading local media to oss.dlazy.com). It also references storing an API key in ~/.dlazy/config.json and the DLAZY_API_KEY env var. These filesystem and env interactions are expected for a CLI client, but SKILL.md references an env var and config file even though the top-level 'requires.env' list is empty — a documentation mismatch to be aware of.
Install Mechanism
This is an instruction-only skill (no install executed by the platform). The included metadata recommends npm install -g or npx @dlazy/[email protected] — a standard public npm package. There are no downloads from unknown personal servers or URL shorteners in the skill content.
Credentials
The only credential needed is a dLazy API key (saved to the user's config or passed via DLAZY_API_KEY). The skill does not request unrelated credentials. However, the registry metadata declared no required env vars while SKILL.md explicitly documents DLAZY_API_KEY and a config path (~/.dlazy/config.json) — this mismatch is small but worth noting. Also note: local media files passed to the CLI will be uploaded to oss.dlazy.com, so any sensitive files would be transmitted to the service.
Persistence & Privilege
The skill is not 'always' enabled and is user-invocable. It does instruct storing the API key in the user's home config (normal for CLIs) but does not request system-wide privileges or modify other skills/configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dlazy-keling-tts
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dlazy-keling-tts 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
Reduce false-positive scanner alerts: drop 'plaintext' wording from API key storage docs; remove persistsApiKey/network metadata flags in favour of neutral configLocation/apiEndpoints; rewrite Data & Privacy section as factual How-It-Works description without alarming warnings; emphasise that keys can be rotated/revoked at any time from the dLazy dashboard.
v1.0.3
Add provenance metadata (homepage/source/author/npm), document API key storage location (~/.dlazy/config.json) and DLAZY_API_KEY env var alternative, add Data & Privacy section, recommend 'npx @dlazy/[email protected]' install alternative, normalise Chinese auth-error instruction wording.
v1.0.2
- Updated to version 1.0.2 - Refined agent instructions for handling missing API key: now instructs saving the key directly without requesting user to send it - Documentation improved for clarity in SKILL.md, SKILL-en.md, and SKILL-cn.md
v1.0.1
- Added explicit authentication instructions, including steps to obtain and configure the dLazy API key. - Updated CLI installation command in metadata to use version @dlazy/[email protected]. - No changes to command usage, options, or error handling. - Improved documentation for easier setup and onboarding.
v1.0.0
Initial release of dlazy-keling-tts. - Introduces a CLI tool for converting text into high-quality, emotional speech using Kling TTS. - Supports multiple options: language selection, voice ID, speed, audio format, and input methods. - Provides detailed error codes and agent handling instructions for API key and credit issues. - Includes sample commands and output formats for easy reference. - Installation guide via npm and further help via dlazy keling-tts -h.
元数据
Slug dlazy-keling-tts
版本 1.0.4
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 5
常见问题

Dlazy Keling Tts 是什么?

Convert text into high-quality, emotional speech reading using Kling TTS. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 483 次。

如何安装 Dlazy Keling Tts?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dlazy-keling-tts」即可一键安装,无需额外配置。

Dlazy Keling Tts 是免费的吗?

是的,Dlazy Keling Tts 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Dlazy Keling Tts 支持哪些平台?

Dlazy Keling Tts 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dlazy Keling Tts?

由 dlazy(@dlazyai)开发并维护,当前版本 v1.0.4。

💬 留言讨论