← Back to Skills Marketplace
dlazyai

Dlazy Banana2

by dlazy · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ Security Clean
461
Downloads
0
Stars
1
Active Installs
6
Versions
Install in OpenClaw
/install dlazy-banana2
Description
Generate/edit high-quality images with Nano Banana 2.0. Supports text-to-image and image-to-image.
README (SKILL.md)

dlazy-banana2

English · 中文

Generate/edit high-quality images with Nano Banana 2.0. Supports text-to-image and image-to-image.

Trigger Keywords

  • nano banana 2.0
  • nano banana
  • 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 banana2 command to get results.

dlazy banana2 -h

Options:
  --prompt \x3Cprompt>                    Prompt
  --images \x3Cimages...>                 Images [image: url or local path] (max 1) [default: ]
  --aspectRatio \x3CaspectRatio>          Aspect Ratio [default: auto] (choices: "auto", "1:1", "4:3", "3:4", "16:9", "9:16", "21:9")
  --imageSize \x3CimageSize>              Image Size [default: 512] (choices: "512", "1K", "2K", "4K")
  --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 banana2 --prompt 'prompt text' --image '/path/to/image.png'

# complex call:
dlazy banana2 --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
Before installing or running this skill: - Review the upstream GitHub repository and the @dlazy/cli npm package to confirm the code matches your expectations (the SKILL metadata pins 1.0.6 but other version fields differ). - Prefer running with npx (npx @dlazy/[email protected] ...) instead of a global npm -g install if you don't want to persist a binary. - Understand the privacy/billing implications: the CLI uploads any local images you pass to oss.dlazy.com and sends prompts to api.dlazy.com; usage will consume credits on your dLazy account. - Know where your API key will be stored (~/.dlazy/config.json) and that the key can also be supplied via DLAZY_API_KEY. Keep that key secret and rotate/revoke via the dLazy dashboard if needed. - If you are uncomfortable trusting the npm package or the dLazy service, do not install/run the CLI from this skill.
Capability Analysis
Type: OpenClaw Skill Name: dlazy-banana2 Version: 1.0.5 The skill is a legitimate wrapper for the dLazy CLI tool (@dlazy/cli) used for image generation via the Nano Banana 2.0 model. It follows standard SaaS patterns, requiring an API key stored in ~/.dlazy/config.json and uploading local media to oss.dlazy.com for processing. The instructions for the AI agent are focused on error handling (e.g., insufficient balance or missing API keys) and do not contain any malicious prompt injections or unauthorized data exfiltration commands.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The name/description (Nano Banana 2.0 image generation) aligns with the declared requirements: npm/npx and the @dlazy/cli npm package. The skill is a thin client over dLazy's API and does not request unrelated services. Minor provenance inconsistency: the SKILL header shows version 1.0.3, registry lists 1.0.5, while the install pin in metadata uses @dlazy/[email protected] — this is a bookkeeping/versioning mismatch but does not change the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run the dlazy CLI and to provide an API key via dlazy auth or DLAZY_API_KEY; it explicitly states local files passed as inputs will be uploaded to oss.dlazy.com. The instructions do not ask the agent to read unrelated files or credentials beyond the CLI config or the optional env var. The skill includes specific agent behaviors (e.g., inform users on insufficient balance) which are prescriptive but within scope.
Install Mechanism
No install spec is enforced by the registry (instruction-only), but metadata recommends installing a pinned npm package or using npx. Installing via npx/npm will fetch code from the public npm registry — appropriate for this use case but you should review the package/source (GitHub repo) before installing or prefer npx to avoid a global install.
Credentials
The registry does not require any environment variables, and the skill only references a service-specific API key (DLAZY_API_KEY) and a user config file (~/.dlazy/config.json) for storing the key. That level of access (one service key saved to the user's config) is proportional to a cloud image-generation CLI.
Persistence & Privilege
always:false and user-invocable:true (with normal autonomous invocation allowed) — standard for skills. The skill does not request permanent platform-level presence or attempt to modify other skills or global agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dlazy-banana2
  3. After installation, invoke the skill by name or use /dlazy-banana2
  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
- Updated to version 1.0.3. - Clarified instructions for handling missing API key: now instructs to save the provided API key and resume the task. - Minor improvements to agent guidance for user credit and error handling messages. - General documentation consistency enhancements across all language files.
v1.0.2
- Updated CLI dependency to use @dlazy/[email protected] (was 1.0.5). - Incremented skill version to 1.0.2. - Documentation files updated; no changes to commands or usage.
v1.0.1
- Added an "Authentication" section with detailed steps for obtaining and setting the dLazy API key via the CLI. - Clarified that all requests require API key configuration. - No changes made to command options, example usage, or error handling. - Documentation updated in SKILL.md, SKILL-en.md, and SKILL-cn.md for improved onboarding and clarity.
v1.0.0
dlazy-banana2 1.0.0 – Initial release - Generate or edit high-quality images with Nano Banana 2.0; supports text-to-image and image-to-image. - Provides detailed CLI usage instructions and argument options. - Includes guidance for handling common errors (e.g., unauthorized, insufficient balance). - Adds agent-specific instructions for API key setup and balance recharge support. - Output provided as JSON with image/video URLs.
Metadata
Slug dlazy-banana2
Version 1.0.5
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 6
Frequently Asked Questions

What is Dlazy Banana2?

Generate/edit high-quality images with Nano Banana 2.0. Supports text-to-image and image-to-image. It is an AI Agent Skill for Claude Code / OpenClaw, with 461 downloads so far.

How do I install Dlazy Banana2?

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

Is Dlazy Banana2 free?

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

Which platforms does Dlazy Banana2 support?

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

Who created Dlazy Banana2?

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

💬 Comments