← 返回 Skills 市场
dlazyai

Dlazy Keling Sfx

作者 dlazy · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ 安全检测通过
454
总下载
0
收藏
1
当前安装
5
版本数
在 OpenClaw 中安装
/install dlazy-keling-sfx
功能描述
Generate matching scene sound effects based on text descriptions or video frames using Kling SFX.
使用说明 (SKILL.md)

dlazy-keling-sfx

English · 中文

Generate matching scene sound effects based on text descriptions or video frames using Kling SFX.

Trigger Keywords

  • kling sfx
  • generate sound effects
  • video dubbing

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-sfx command to get results.

dlazy keling-sfx -h

Options:
  --prompt \x3Cprompt>                    Prompt [default: ] [only when videos is empty]
  --videos \x3Cvideos...>                 Videos [video: url or local path] (max 1) [default: ]
  --duration \x3Cduration>                Duration (s) [default: 5] (choices: "3", "4", "5", "6", "7", "8", "9", "10") [only when videos is empty]
  --prompt_mode \x3Cprompt_mode>          Prompt Mode [default: 音效] (choices: "音效", "配乐", "无") [only when videos non-empty]
  --sound_effect_prompt \x3Csound_effect_prompt>Sound Effect Prompt [default: ] [only when videos non-empty && !(prompt_mode!="音效")]
  --bgm_prompt \x3Cbgm_prompt>            BGM Prompt [default: ] [only when videos non-empty && !(prompt_mode!="配乐")]
  --asmr_mode \x3Casmr_mode>              ASMR Mode [default: false] [only when videos non-empty]
  --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-sfx --prompt 'prompt text'

# complex call:
dlazy keling-sfx --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.

安全使用建议
Before installing or invoking this skill: (1) Know that any local video/audio files you pass will be uploaded to dlazy's OSS domain — do not send sensitive or private files. (2) The service requires a dLazy API key (can be set via dlazy auth or DLAZY_API_KEY); the registry metadata does not list this required key, so supply it manually. (3) Prefer using npx for one-off runs to avoid globally installing a third-party CLI; if you install globally, review the GitHub repo and npm package source first. (4) The CLI will store your API key in ~/.dlazy/config.json (or %USERPROFILE%\.dlazy\config.json on Windows) — ensure that file permissions are appropriate and rotate keys if needed. (5) Review dLazy's terms and the CLI source if you run it in a shared or production environment. If you want stronger assurance, ask the skill author to declare the API key in the metadata and provide a link to a reproducible audit (SHA sums or source commit) for the npm package version pinned in the skill.
功能分析
Type: OpenClaw Skill Name: dlazy-keling-sfx Version: 1.0.4 The skill is a legitimate CLI wrapper for the dLazy Kling SFX API, used for generating sound effects. It follows standard SaaS patterns, including API key management in a local config file (~/.dlazy/config.json) and uploading media to a designated storage endpoint (oss.dlazy.com) for processing. No malicious intent, obfuscation, or unauthorized data access was detected in SKILL.md or the metadata.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description match the behavior: the skill is a thin client for the dLazy Kling SFX service and requires the dLazy CLI (npm/npx). Declared required binaries (npm, npx) are appropriate. The skill relies on networked API and media uploads to api.dlazy.com / oss.dlazy.com as expected.
Instruction Scope
SKILL.md limits actions to running the dlazy CLI and uploading any user-supplied media; it does not instruct the agent to read unrelated system files or exfiltrate arbitrary data. It does reference the CLI's config path (~/.dlazy/config.json) only to explain where the API key is stored, not to instruct reading other local state.
Install Mechanism
This is an instruction-only skill (no install spec in registry), but the README recommends using npm install -g @dlazy/[email protected] or npx @dlazy/[email protected]. Installing/running from npm is a common pattern; npx executes code from the npm registry (moderate risk). The recommended package is on npm and points to a GitHub repo—review source before installing globally.
Credentials
The service requires a dLazy API key (can be set with dlazy auth or via DLAZY_API_KEY). That credential is proportional to the skill's purpose, but the top-level registry metadata lists no required env vars or primary credential — a minor inconsistency that could confuse users or automation expecting required env declarations.
Persistence & Privilege
The skill is not always-enabled, does not claim elevated persistence, and does not request changes to other skills or system-wide settings. Installing the CLI globally would write a binary to the system (normal for npm installs) but this is a user action.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dlazy-keling-sfx
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dlazy-keling-sfx 触发
  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 wording in agent instructions related to saving the API key. - No changes to core functionality or CLI options.
v1.0.1
- Add explicit authentication instructions, including how to set and obtain the dLazy API key. - Update CLI installation version in metadata (now requires @dlazy/[email protected]). - Documentation improvements for usage and authentication clarity.
v1.0.0
Initial release of dlazy-keling-sfx. - Generate scene sound effects from text descriptions or video frames using Kling SFX. - Command-line usage via dlazy keling-sfx with detailed options for prompts, videos, duration, and sound effect modes. - Includes comprehensive error handling and user guidance for common issues (e.g., insufficient credits, missing API key). - Output format provides generated audio/video URLs. - Installation instructions and usage tips included.
元数据
Slug dlazy-keling-sfx
版本 1.0.4
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 5
常见问题

Dlazy Keling Sfx 是什么?

Generate matching scene sound effects based on text descriptions or video frames using Kling SFX. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 454 次。

如何安装 Dlazy Keling Sfx?

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

Dlazy Keling Sfx 是免费的吗?

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

Dlazy Keling Sfx 支持哪些平台?

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

谁开发了 Dlazy Keling Sfx?

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

💬 留言讨论