← 返回 Skills 市场
dlazyai

Dlazy Kling Image O1

作者 dlazy · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ 安全检测通过
474
总下载
0
收藏
1
当前安装
5
版本数
在 OpenClaw 中安装
/install dlazy-kling-image-o1
功能描述
Generate exquisite images with Kling o1 model. Supports text-to-image and image-to-image.
使用说明 (SKILL.md)

dlazy-kling-image-o1

English · 中文

Generate exquisite images with Kling o1 model. Supports text-to-image and image-to-image.

Trigger Keywords

  • kling o1
  • kling image
  • generate image, edit image
  • text to image, image to image

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 kling-image-o1 command to get results.

dlazy kling-image-o1 -h

Options:
  --prompt \x3Cprompt>                    Prompt
  --images \x3Cimages...>                 Images [image: url or local path] (max 10) [default: ]
  --clarity \x3Cclarity>                  Clarity [default: 2k] (choices: "2k", "4k")
  --aspect_ratio \x3Caspect_ratio>        Aspect Ratio [default: 16:9] (choices: "16:9", "9:16", "1:1", "4:3", "3:4", "3:2", "2:3", "21:9", "auto")
  --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 kling-image-o1 --prompt 'prompt text' --image '/path/to/image.png'

# complex call:
dlazy kling-image-o1 --prompt 'prompt text' --image 'https://oss.dlazy.com/image.png'

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 thin wrapper around the official dlazy CLI and is internally consistent, but take these precautions before installing/running it: 1) Review the linked GitHub repository and the @dlazy/cli npm package source if you plan a global install. Prefer `npx @dlazy/[email protected]` for one-off runs to avoid installing global binaries. 2) Be aware that any local files you pass (images, videos, audio) will be uploaded to dlazy's servers (oss.dlazy.com); do not pass sensitive images you don't want transmitted. 3) The CLI will store your API key at ~/.dlazy/config.json (user-readable file with restricted permissions per the doc); rotate/revoke the key if compromised. 4) Confirm billing/credit implications (the skill explicitly asks to inform users about insufficient_balance) before invoking generation-heavy requests.
功能分析
Type: OpenClaw Skill Name: dlazy-kling-image-o1 Version: 1.0.4 The skill is a functional wrapper for the dLazy CLI tool, designed to generate images via the Kling o1 model. It requires the installation of the `@dlazy/cli` npm package and manages authentication via an API key stored in `~/.dlazy/config.json`. The documented behavior, including uploading local media to `oss.dlazy.com` for processing, is consistent with its stated purpose, and the instructions to the agent are focused on error handling and usage guidance without any signs of malicious intent or prompt injection.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description match the instructions: the SKILL.md instructs the agent to run the dlazy CLI to call the Kling o1 model. Declared required binaries (npm, npx) are reasonable because the skill recommends installing or invoking the @dlazy/cli package. No unrelated services or credentials are requested.
Instruction Scope
Instructions appropriately tell the agent to run `dlazy kling-image-o1` and describe that local image/video/audio paths will be uploaded to dlazy's media storage. This is expected for a cloud image-generation client, but it does mean local files and prompts you provide may be transmitted to api.dlazy.com / oss.dlazy.com. The SKILL.md also instructs agents to prompt users to get or set an API key; it does not instruct the agent to read other system files or secrets.
Install Mechanism
The skill is instruction-only (no install spec in the registry), but metadata recommends installing a pinned npm package (@dlazy/[email protected]) or using npx. Relying on a published npm package is a common pattern; it is moderate risk compared with no install because it will run third‑party code. The skill pins a version and points to a GitHub repo, which is good practice—review the repo before installing.
Credentials
No unrelated environment variables or credentials are requested. The SKILL.md states the CLI uses a dLazy API key (DLAZY_API_KEY or stored via `dlazy auth set`) and saves that key to ~/.dlazy/config.json; that is proportionate to a SaaS CLI. Note: the skill does not require other credentials, and requiring the API key is normal for the stated purpose.
Persistence & Privilege
Skill is not always-enabled and does not request elevated platform privileges. It does not modify other skills or system-wide settings. The only persistence described is the CLI storing the API key in the user's config file (~/.dlazy/config.json), which the SKILL.md documents.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dlazy-kling-image-o1
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dlazy-kling-image-o1 触发
  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 agent instructions for handling missing API key: now instructs to save the key directly, removing the step to ask the user to send it. - Minor rewording in agent critical instructions for clarity. - No changes to core usage or features.
v1.0.1
- Updated dLazy CLI install version to 1.0.6. - Added a new "Authentication" section with instructions for obtaining and configuring the required API key. - Improved usage instructions by clearly explaining API key setup and linking to relevant documentation. - No changes to the core command options or output format.
v1.0.0
- Initial release of dlazy-kling-image-o1 (v1.0.0). - Enables image generation using the Kling o1 model. - Supports both text-to-image and image-to-image workflows. - Includes flexible options for clarity and aspect ratio. - Provides detailed error handling and user guidance for common issues (API key, balance, file errors). - Easy command-line usage with examples and clear output format.
元数据
Slug dlazy-kling-image-o1
版本 1.0.4
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 5
常见问题

Dlazy Kling Image O1 是什么?

Generate exquisite images with Kling o1 model. Supports text-to-image and image-to-image. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 474 次。

如何安装 Dlazy Kling Image O1?

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

Dlazy Kling Image O1 是免费的吗?

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

Dlazy Kling Image O1 支持哪些平台?

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

谁开发了 Dlazy Kling Image O1?

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

💬 留言讨论