← Back to Skills Marketplace
dlazyai

Dlazy Image Generate

by dlazy · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ Security Clean
457
Downloads
0
Stars
1
Active Installs
6
Versions
Install in OpenClaw
/install dlazy-image-generate
Description
Image generation skill. Automatically selects the best dlazy CLI image model based on the prompt.
README (SKILL.md)

dlazy-image-generate

English · 中文

Image generation skill. Automatically selects the best dlazy CLI image model based on the prompt.

Trigger Keywords

  • generate image
  • draw picture
  • text 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

This skill handles all image generation requests by selecting the best dlazy image model.

Available Image Models

  • dlazy seedream-4.5: High-quality realism/posters.
  • dlazy seedream-5.0-lite: Fast, low-cost sketches.
  • dlazy banana2, dlazy banana-pro: General text-to-image.
  • dlazy grok-4.2: Minimalist.
  • dlazy recraft-v3: Stylized (illustration).
  • dlazy recraft-v3-svg: SVG/vector.
  • dlazy mj.imagine: Midjourney style.
  • dlazy kling-image-o1, dlazy viduq2-t2i, dlazy jimeng-t2i: High-fidelity generation.

CRITICAL INSTRUCTION FOR AGENT:

  1. Select the most appropriate image model.
  2. Run `dlazy \x3Cmodel_name> -h` to check parameters.
  3. Execute the command.

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 what it says: a thin wrapper that runs the dlazy CLI and sends prompts/files to dLazy's hosted API. Before installing or using it: 1) Understand that you need a dLazy API key (the SKILL metadata omitted listing required env vars) and that the key will be stored in ~/.dlazy/config.json or can be provided via DLAZY_API_KEY — treat that key like any secret. 2) Any local image/video/audio files you pass will be uploaded to oss.dlazy.com; avoid sending sensitive local files. 3) Prefer running via npx to avoid a global install, or review the @dlazy/cli GitHub repo and npm package before installing. 4) If you have concerns, confirm you trust dlazy.com and its storage policy; you can rotate/revoke the API key from the dlazy dashboard at any time.
Capability Analysis
Type: OpenClaw Skill Name: dlazy-image-generate Version: 1.0.5 The skill is a standard wrapper for the dLazy CLI tool (@dlazy/cli) used for image generation. It facilitates interaction with the dLazy API (api.dlazy.com) and media storage (oss.dlazy.com). The instructions in SKILL.md and SKILL-cn.md correctly guide the agent on model selection, error handling, and authentication via local configuration (~/.dlazy/config.json), showing no signs of malicious intent or unauthorized data access.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description match the instructions: the skill is an instruction-only wrapper that selects a dlazy CLI model and runs the dlazy CLI. Declared required binaries (npm, npx) are appropriate because the metadata references installing @dlazy/cli via npm/npx. The CLI endpoints and config location in metadata align with the stated purpose.
Instruction Scope
SKILL.md explicitly instructs the agent to run dlazy <model> -h and execute dlazy commands. It states prompts and any local file paths you supply will be uploaded to api.dlazy.com / oss.dlazy.com by the dlazy CLI. That behavior is expected for a cloud image-generation client, but be aware the agent will upload any local files you provide — the skill does not instruct the agent to read arbitrary system files beyond those the user explicitly supplies.
Install Mechanism
This is instruction-only (no install spec executed by the platform). The metadata recommends either a global npm install or npx invocation of @dlazy/[email protected]. Those are standard package sources (npm/GitHub). No download-from-arbitrary-URL or extracted archives are present in the skill bundle itself.
Credentials
Registry metadata shows no required env vars, but SKILL.md makes it clear an API key is required (dlazy auth set or DLAZY_API_KEY). This is functionally expected for the service, but it's an inconsistency: the skill will rely on a dLazy API key (stored in ~/.dlazy/config.json or passed via DLAZY_API_KEY). The skill does not request unrelated credentials. Users should be aware that supplying a key via env var or CLI causes that secret to be available to the CLI process and/or persisted to the local config file.
Persistence & Privilege
always:false and user-invocable:true. The skill itself does not require platform-wide persistence. Installing the recommended CLI globally (npm install -g) would add a binary and create/modify ~/.dlazy/config.json to store the API key — expected behavior for a CLI tool, not a platform privilege escalation. The skill does not request modifications to other skills or system-wide agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dlazy-image-generate
  3. After installation, invoke the skill by name or use /dlazy-image-generate
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.5
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.4
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.3
- Improved agent instructions for handling API key errors: agent should now save the user's key using the CLI and resume the task automatically. - Clarified error handling steps in documentation. - Updated SKILL.md, SKILL-en.md, and SKILL-cn.md for better guidance and consistency.
v1.0.2
- Updated required dlazy CLI version to 1.0.6 in installation instructions. - No other functional or documentation changes.
v1.0.1
- Added explicit API key authentication instructions, including CLI setup and key retrieval steps. - Updated documentation to clarify all requests require API key configuration. - No changes to command usage or available image models.
v1.0.0
Initial release of dlazy-image-generate skill. - Adds automated selection of optimal dlazy CLI image model based on prompt. - Supports multiple styles: realism, sketch, general text-to-image, minimalist, stylized illustration, SVG/vector, Midjourney, and high-fidelity models. - Includes detailed error handling with user guidance for authorization and balance issues. - Installation via npm (`@dlazy/[email protected]`) required. - Provides usage instructions and model-specific trigger keywords.
Metadata
Slug dlazy-image-generate
Version 1.0.5
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 6
Frequently Asked Questions

What is Dlazy Image Generate?

Image generation skill. Automatically selects the best dlazy CLI image model based on the prompt. It is an AI Agent Skill for Claude Code / OpenClaw, with 457 downloads so far.

How do I install Dlazy Image Generate?

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

Is Dlazy Image Generate free?

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

Which platforms does Dlazy Image Generate support?

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

Who created Dlazy Image Generate?

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

💬 Comments