← Back to Skills Marketplace
dlazyai

Dlazy Kling Image O1

by dlazy · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ Security Clean
474
Downloads
0
Stars
1
Active Installs
5
Versions
Install in OpenClaw
/install dlazy-kling-image-o1
Description
Generate exquisite images with Kling o1 model. Supports text-to-image and image-to-image.
README (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.

Usage Guidance
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.
Capability Analysis
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.
Capability Tags
requires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dlazy-kling-image-o1
  3. After installation, invoke the skill by name or use /dlazy-kling-image-o1
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug dlazy-kling-image-o1
Version 1.0.4
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 5
Frequently Asked Questions

What is Dlazy Kling Image O1?

Generate exquisite images with Kling o1 model. Supports text-to-image and image-to-image. It is an AI Agent Skill for Claude Code / OpenClaw, with 474 downloads so far.

How do I install Dlazy Kling Image O1?

Run "/install dlazy-kling-image-o1" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Dlazy Kling Image O1 free?

Yes, Dlazy Kling Image O1 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Dlazy Kling Image O1 support?

Dlazy Kling Image O1 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Dlazy Kling Image O1?

It is built and maintained by dlazy (@dlazyai); the current version is v1.0.4.

💬 Comments