← 返回 Skills 市场
dlazyai

Dlazy Image Generate

作者 dlazy · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ 安全检测通过
457
总下载
0
收藏
1
当前安装
6
版本数
在 OpenClaw 中安装
/install dlazy-image-generate
功能描述
Image generation skill. Automatically selects the best dlazy CLI image model based on the prompt.
使用说明 (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.

安全使用建议
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.
功能分析
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.
能力标签
requires-sensitive-credentials
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dlazy-image-generate
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dlazy-image-generate 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug dlazy-image-generate
版本 1.0.5
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 6
常见问题

Dlazy Image Generate 是什么?

Image generation skill. Automatically selects the best dlazy CLI image model based on the prompt. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 457 次。

如何安装 Dlazy Image Generate?

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

Dlazy Image Generate 是免费的吗?

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

Dlazy Image Generate 支持哪些平台?

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

谁开发了 Dlazy Image Generate?

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

💬 留言讨论