← Back to Skills Marketplace
350
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install nano-banana-2-image-gen
Description
图片生成技能,当用户需要生成图片、视觉信息图、创建图像、编辑/修改/调整已有图片时使用此技能。基于中国的API易代理站(https://api.apiyi.com/)的NanoBanana2模型的图片生成服务,无需访问外网。支持14种宽高比的图片比例(`1:1`、`16:9`、`9:16`、`4:3`、`3:4`...
Usage Guidance
Before installing or using this skill: (1) Be aware it WILL upload your prompt text and any input images (base64) to api.apiyi.com — do not provide sensitive images or prompts you don't want transmitted. (2) The skill requires an API key (APIYI_API_KEY or --api-key) but the registry metadata incorrectly listed no required env vars; expect to provide and protect that key. (3) Verify you trust api.apiyi.com and understand their privacy/retention policies. (4) If you need stronger guarantees (no external upload), do not use this skill. (5) Prefer running the provided scripts locally and inspect them (they are small and readable); confirm the API endpoint and key handling meet your policy before giving the key to the environment.
Capability Analysis
Type: OpenClaw Skill
Name: nano-banana-2-image-gen
Version: 0.1.1
The skill bundle provides image generation and editing capabilities using the Gemini 3.1 Flash model via a third-party API proxy (api.apiyi.com). The included Node.js and Python scripts (generate_image.js and generate_image.py) implement standard API interaction logic, including base64 encoding for image-to-image tasks and local file writing for results. No evidence of malicious behavior, data exfiltration, or harmful prompt injection was found; the code is transparent and aligns with its stated purpose.
Capability Tags
Capability Assessment
Purpose & Capability
The name/description (image generation via NanoBanana2 on api.apiyi.com) match the included scripts and instructions. However the registry metadata lists no required environment variables or primary credential, while SKILL.md and both scripts clearly require an API key (APIYI_API_KEY or --api-key). That metadata mismatch is incoherent and could mislead users about what secrets they must provide.
Instruction Scope
SKILL.md and the scripts are consistent: they take a prompt and optional input images, base64-encode images and POST a JSON payload to https://api.apiyi.com/...generateContent. The instructions do not attempt to read unrelated system paths or other credentials. Important operational behavior: user prompts and any input images (encoded as base64) are transmitted to an external API service — this is expected for an image-editing/generation skill but has privacy/security implications that are not emphasized in the registry metadata.
Install Mechanism
No install spec or remote downloads are present; this is an instruction-only skill with included Python/Node scripts. Nothing in the files attempts to fetch or execute arbitrary third-party code during install.
Credentials
The code requires an API key (APIYI_API_KEY or command-line -k) to call the api.apiyi.com service. The skill registry, however, declared 'Required env vars: none' and 'Primary credential: none' — that contradicts the actual need to supply a secret. The requested credential (single API key) is proportional to the stated purpose, but the metadata omission is misleading.
Persistence & Privilege
The skill does not request persistent presence (always: false). It does not modify other skills or system-wide settings. Autonomous invocation is allowed by default (disable-model-invocation: false) which is normal for skills; this combined with the metadata mismatch raises no new privilege concerns beyond the usual caution about granting API keys.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install nano-banana-2-image-gen - After installation, invoke the skill by name or use
/nano-banana-2-image-gen - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.1
nano-banana-2-image-gen v0.1.1
- 修正了服务描述中的API易官网地址,由 https://apiyi.com/ 更新为 https://api.apiyi.com/
- 其余说明、功能与使用方式保持不变
v0.1.0
Initial release of nano-banana-2-image-gen, an image generation and editing skill based on Google's NanoBanana2 model, accessible via API易中国代理。
- Supports both text-to-image and image-to-image (editing) via domestic API proxy; no external Internet required.
- Offers 14 aspect ratio options (such as 1:1, 16:9, 9:16, etc.) and 3 resolutions (1K, 2K, 4K), with 2K as default.
- Keeps user input as-is for prompts, asking clarifying questions before appending extra details.
- Runs via Node.js (preferred, zero-dependency) or Python command-line scripts; fallbacks handled automatically.
- Guides users on environment setup and API key management, with detailed usage examples and error handling.
- Includes clear documentation for typical scenarios, parameters, and best practices.
Metadata
Frequently Asked Questions
What is Nano Banana 2 Image Gen(基于API易代理站)?
图片生成技能,当用户需要生成图片、视觉信息图、创建图像、编辑/修改/调整已有图片时使用此技能。基于中国的API易代理站(https://api.apiyi.com/)的NanoBanana2模型的图片生成服务,无需访问外网。支持14种宽高比的图片比例(`1:1`、`16:9`、`9:16`、`4:3`、`3:4`... It is an AI Agent Skill for Claude Code / OpenClaw, with 350 downloads so far.
How do I install Nano Banana 2 Image Gen(基于API易代理站)?
Run "/install nano-banana-2-image-gen" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Nano Banana 2 Image Gen(基于API易代理站) free?
Yes, Nano Banana 2 Image Gen(基于API易代理站) is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Nano Banana 2 Image Gen(基于API易代理站) support?
Nano Banana 2 Image Gen(基于API易代理站) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Nano Banana 2 Image Gen(基于API易代理站)?
It is built and maintained by 无处不在 (@wuchubuzai2018); the current version is v0.1.1.
More Skills