Introduction¶
When generating or editing images within an IDE or a conversational Agent, the common approach is to open a web console separately or write custom scripts to call HTTP APIs. Prompts, reference image paths, and aspect ratio parameters often require repetitive pasting across the toolchain, which also hinders the Agent’s ability to execute tasks step-by-step.
Below is an introduction to banana pro (coordinate @user_f95f21b8/dlazy-banana-pro, current version 1.0.9) on SkillHub. It encapsulates dLazy’s Nano Banana Pro capabilities into a standard SKILL.md file. Agents can perform text-to-image and image-to-image tasks via the dlazy banana-pro subcommand of the dLazy CLI. The Skill page indicates requires_api_key=true, so a dLazy API Key must be configured before use.
What is This¶
banana pro is a design-media community Skill (source: community, publisher: user_f95f21b8). The official description is: Use Nano Banana Pro to generate/edit images, supporting both text-to-image and image-to-image.
In terms of implementation, the Skill is a thin wrapper around the dLazy hosted API: prompts and parameters are sent to api.dlazy.com, local reference images are uploaded to files.dlazy.com by the CLI, and the resulting image URLs are also returned via the dLazy media domain. The CLI is maintained by dlazyai, and the npm package is @dlazy/cli (the Skill metadata pins the version to 1.0.9).
- SkillHub Page: https://www.skillhub.cn/skills/user_f95f21b8/dlazy-banana-pro
- API Resource Address: https://api.skillhub.cn/user_f95f21b8/dlazy-banana-pro
As of the time the data was retrieved, SkillHub shows a rating of 100000, 1517 downloads, and 5 installs (subject to real-time page data).
Core Features¶
Verified capabilities are as follows:
- Text-to-Image / Image-to-Image: Invoke Nano Banana Pro by combining
--promptwith--image(or--images, up to 14 images, supporting URLs or local paths). - Aspect Ratio & Resolution:
--aspectRatiosupportsauto,1:1,4:3,3:4,16:9,9:16,21:9;--imageSizesupports1K,2K,4K(default1K). - Pre-check & Async:
--dry-runprints the request body and cost estimate without actually calling the API;--no-waitreturns agenerateId, which can be polled usingdlazy status <generateId> --wait. - Trigger Words: The Skill documentation lists terms like
nano banana pro,generate image,text to image, etc., to help the Agent identify when to enable this Skill.
Environment dependencies: The Skill metadata requires npm and npx to be available on the local machine.
Installation & Activation¶
1. Install SkillHub CLI (if not already installed)¶
First, check if skillhub is available:
command -v skillhub && skillhub --version
If not installed, follow the official SkillHub instructions (full installation includes CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install the Skill to the current Agent’s skills directory¶
When installing, you must use --dir to point to the skills directory recognized by your current Agent; otherwise, it may default to ./skills/ and not be loaded. Common paths provided in SkillHub documentation include:
- Cursor:
~/.cursor/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project - Claude Code:
~/.claude/skills/
Taking Cursor as an example:
skillhub install dlazy-banana-pro --dir ~/.cursor/skills/
Alternatively, you can let the Agent handle it via the SkillHub installation instructions. An example prompt is: Please install @user_f95f21b8/dlazy-banana-pro according to https://skillhub.cn/install/skillhub.md.
3. Install dLazy CLI¶
The global installation command declared by the Skill (version matches the Skill):
npm install -g @dlazy/cli@1.0.9
If you prefer not to install globally, you can use it on a per-command basis:
npx @dlazy/cli@1.0.9 <command>
Source code and package info: https://github.com/dlazyai/cli, https://www.npmjs.com/package/@dlazy/cli.
4. Configure API Key¶
All requests require a dLazy API Key:
dlazy auth set YOUR_API_KEY
The key is written to the user configuration directory (Linux/macOS: ~/.dlazy/config.json). It can also be passed via the environment variable DLAZY_API_KEY for a single session. The Key can be obtained at dlazy.com/dashboard/organization/api-key.
After installing or updating the Skill, restart or refresh the skills loading according to your Agent’s conventions. Then, simply mention image generation/editing or Nano Banana requirements in natural language to trigger it.
Typical Usage¶
The core action for the Agent is to execute dlazy banana-pro. First, check the help:
dlazy banana-pro -h
Command examples from the official SKILL (parameter names follow the English CLI):
# Generation/Editing with a local reference image:
dlazy banana-pro --prompt 'prompt text' --image '/path/to/image.png'
# Image-to-Image using a remote image URL:
dlazy banana-pro --prompt 'prompt text' --image 'https://files.dlazy.com/image.png'
On success, the CLI returns JSON with image urls in outputs (hosted on files.dlazy.com). If --no-wait is used, you must use dlazy status to query the task status.
You can use --dry-run to verify parameters and estimated costs before calling; for long-running tasks, you can combine it with --timeout (default wait limit is 1800 seconds).
Scenarios & Precautions¶
Who is it for
- Users already using Agents like Cursor, Codex, or Claude Code that support SKILL.md, and want to generate or edit images directly within the conversation.
- Those willing to use a dLazy account and API quota, and accept the cloud inference and file upload pipeline.
Limitations & Precautions
- Billing & Quota: API calls consume dLazy organization credits; if
insufficient_balanceis returned, you need to top up in the console (the Skill doc points to the credits settings page). - Key Security: Do not hardcode the API Key into repositories; prioritize
dlazy auth setor environment variables. - Data Privacy: Prompts and uploaded local files will be transmitted to dLazy services; this must comply with your team’s data compliance requirements.
- Error Codes: 401 is usually a missing or invalid Key; 501 is usually a missing
--prompt; 502 is usually a non-existent local path. The Agent documentation requires clear guidance for unauthorized or insufficient balance errors.
Conclusion¶
banana pro integrates Nano Banana Pro’s text-to-image and image-to-image capabilities into the Agent workflow: SkillHub handles distribution and versioning (1.0.9), while the dLazy CLI handles authentication and API calls. If you are looking for a practical image generation Skill in SkillHub’s design-media category, you can install it from the official page, configure your Key, and perform a minimal closed-loop validation using dlazy banana-pro.
- SkillHub: https://www.skillhub.cn/skills/user_f95f21b8/dlazy-banana-pro
- API: https://api.skillhub.cn/user_f95f21b8/dlazy-banana-pro