← Back to Skills Marketplace
dlazyai

Dlazy Gpt Image 2

by dlazy · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ Security Clean
66
Downloads
0
Stars
1
Active Installs
5
Versions
Install in OpenClaw
/install dlazy-gpt-image-2
Description
GPT Image 2 model for text-to-image and image editing. Supports generating images from text as well as editing and synthesizing images with reference inputs....
README (SKILL.md)

dlazy-gpt-image-2

English · 中文

GPT Image 2 model for text-to-image and image editing. Supports generating images from text as well as editing and synthesizing images with reference inputs. GPT Image 2 图像生成与编辑模型。支持文生图,以及通过提供参考图进行图像编辑和合成。

Trigger Keywords

  • gpt-image-2

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: Execute dlazy gpt-image-2 to get the result.

dlazy gpt-image-2 -h

Options:
  --prompt \x3Cprompt>                    Prompt
  --images \x3Cimages...>                 Images [image: url or local path] (max 5)
  --size \x3Csize>                        Size [default: auto] (choices: "1024x1024", "1536x1024", "1024x1536", "2048x2048", "2048x1152", "3840x2160", "2160x3840", "auto")
  --format \x3Cformat>                    Format [default: jpeg] (choices: "jpeg", "png", "webp")
  --quality \x3Cquality>                  Quality [default: medium] (choices: "low", "medium", "high")
  --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"
    ]
  }
}

Examples

dlazy gpt-image-2 --prompt 'prompt content' 

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 is a thin client for the dLazy image API and appears coherent. Before installing or using it: (1) review the upstream GitHub/npm package (@dlazy/[email protected]) if you plan to globally install it; (2) be aware that any local images you pass will be uploaded to dLazy's oss.dlazy.com storage and generated outputs are hosted there — do not upload sensitive or private images you don't want sent to a third party; (3) you will need an API key (stored under ~/.dlazy/config.json or provided via DLAZY_API_KEY); rotate/revoke that key from the dLazy dashboard if needed. The only small inconsistency is that the registry metadata lists no required env vars while the docs reference DLAZY_API_KEY and a config file, which is informational rather than malicious.
Capability Analysis
Type: OpenClaw Skill Name: dlazy-gpt-image-2 Version: 1.0.5 The skill provides a legitimate interface for the dLazy GPT Image 2 model using the '@dlazy/cli' NPM package. It facilitates text-to-image generation and image editing by communicating with 'api.dlazy.com' and 'oss.dlazy.com'. While it involves uploading local files and storing API keys in '~/.dlazy/config.json', these behaviors are transparently documented and essential for the service's stated purpose. The instructions for the AI agent in 'SKILL.md' are functional, focusing on command execution and guiding users through standard error scenarios like insufficient credits or missing authentication.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description match the runtime instructions: the skill tells the agent to run the dlazy CLI to call dLazy's image API. Declared required binaries (npm, npx) align with the provided install / npx usage in the docs and the stated provenance (GitHub / npm).
Instruction Scope
SKILL.md instructs only to run the dlazy CLI, pass prompts and optionally local image paths, and to handle standard API responses. It explicitly states local files will be uploaded to oss.dlazy.com and outputs will be hosted there — this is expected for a cloud image generation client. There is no instruction to read unrelated files or exfiltrate arbitrary data.
Install Mechanism
This is an instruction-only skill (no install spec executed by the platform). The skill's metadata suggests installing a specific npm package or using npx, which is reasonable for a CLI client. No third‑party download URLs, extract steps, or nonstandard install locations are present.
Credentials
The document correctly requires an API key for use, explains dlazy auth and optional DLAZY_API_KEY per-invocation, and points to the config file location (~/.dlazy/config.json). The registry's declared required env vars list is empty; this is not harmful but is a mild discrepancy because the instructions do reference DLAZY_API_KEY and a stored config file — users should expect to provide an API key to use the skill.
Persistence & Privilege
Skill is not marked always:true and has no install-time persistence imposed by the platform. The CLI itself stores a user API key in the user's home config directory, which is normal for a CLI that needs credentials.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dlazy-gpt-image-2
  3. After installation, invoke the skill by name or use /dlazy-gpt-image-2
  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
- Bumped version to 1.0.3. - Clarified agent instructions for handling missing or invalid API keys. - Improved guidance for saving API keys during authentication. - No changes to core functionality or CLI usage.
v1.0.2
- Updated CLI installation command to use @dlazy/[email protected]. - No other changes to usage or behavior.
v1.0.1
- Added detailed CLI instructions and API key authentication steps. - Expanded usage documentation with command options and error handling guidance. - Included sample output format and error code explanations. - Provided explicit agent instructions for handling insufficient balance and missing API key scenarios. - Added examples and troubleshooting tips for users.
Metadata
Slug dlazy-gpt-image-2
Version 1.0.5
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 5
Frequently Asked Questions

What is Dlazy Gpt Image 2?

GPT Image 2 model for text-to-image and image editing. Supports generating images from text as well as editing and synthesizing images with reference inputs.... It is an AI Agent Skill for Claude Code / OpenClaw, with 66 downloads so far.

How do I install Dlazy Gpt Image 2?

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

Is Dlazy Gpt Image 2 free?

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

Which platforms does Dlazy Gpt Image 2 support?

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

Who created Dlazy Gpt Image 2?

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

💬 Comments