← 返回 Skills 市场
Nano Banana 2 — Gemini Image Generation
作者
frank-bot07
· GitHub ↗
· v0.1.0
593
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install nano-banana-2-gemini
功能描述
Gemini image generation, editing, and search-grounded image creation via gemini-3.1-flash-image-preview (Nano Banana 2). USE FOR: - Generating images from te...
安全使用建议
This skill appears to be what it says (a Gemini image-generation helper) and uses the Google generativelanguage API. Before installing or using it: (1) confirm the registry metadata is updated to declare GEMINI_API_KEY so you know what credentials the skill needs; (2) do not hardcode the key into files you will commit — prefer an ephemeral session env or a secrets manager; if you must use ~/.zshrc or a .env file, add the file to .gitignore and understand the persistence risk; (3) verify the skill's owner/source (source/homepage are unknown here) — if you don't trust the publisher, don't supply high-privilege keys; (4) review billing/quota on your Google AI Studio project because image generation can incur charges. If you want a lower-risk approach, run the provided example code manually in an isolated environment rather than enabling any automatic invocation.
功能分析
Type: OpenClaw Skill
Name: nano-banana-2-gemini
Version: 0.1.0
The skill is classified as suspicious due to overly permissive `allowed-tools` in `SKILL.md`, specifically `Bash(curl *)` and `Bash(python3 *)`. While the provided Python scripts and instructions are benign and interact with the legitimate Gemini API, these broad permissions create a significant prompt injection vulnerability. An attacker could craft a malicious prompt to the agent, leveraging these tools for arbitrary shell command execution, data exfiltration, or other unauthorized actions, despite the skill's own code not demonstrating malicious intent.
能力评估
Purpose & Capability
The SKILL.md implements exactly what the description claims (text->image, image edit, and search-grounded generation using gemini-3.1-flash-image-preview). However, the registry metadata listed no required environment variables or primary credential while the SKILL.md clearly requires GEMINI_API_KEY. That metadata omission is an incoherence that should be corrected or explained.
Instruction Scope
The runtime instructions are narrowly scoped to making API calls to the Google generativelanguage endpoint, saving image files to .nano-banana/, and handling responses. The instructions do not ask the agent to read unrelated files or contact unexpected endpoints. They do instruct the user/agent to set and verify GEMINI_API_KEY and to write outputs to local files (and to add them to .gitignore).
Install Mechanism
This is an instruction-only skill with no install spec and no code files to write to disk; that minimizes install-time risk. Allowed-tools list includes bash and python, which matches the provided examples.
Credentials
The SKILL.md requires a GEMINI_API_KEY credential (used in an x-goog-api-key header) which is expected for this purpose. The concern is that the registry metadata did not declare this requirement, so the skill's manifest does not accurately advertise the secret it needs. The setup instructions also recommend persisting the key in shell rc or a project .env file — which is user-facing guidance that could lead to accidental key leakage if not handled carefully.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system configuration, and is user-invocable only. It does recommend writing the API key into user shell/profile or a .env file if the user chooses, but that is a user action rather than an autonomous modification performed by the skill itself.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install nano-banana-2-gemini - 安装完成后,直接呼叫该 Skill 的名称或使用
/nano-banana-2-gemini触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of nano-banana-2 with Gemini image generation and editing via gemini-3.1-flash-image-preview.
- Supports text-to-image, image editing, and search-grounded image creation workflows.
- Output images are organized and saved to a dedicated .nano-banana/ directory with timestamped, descriptive filenames.
- Provides setup, security, and API usage instructions including configuration options for resolution, aspect ratio, and "thinking" level.
- Usage examples and Bash/Python command templates included for each operation type.
元数据
常见问题
Nano Banana 2 — Gemini Image Generation 是什么?
Gemini image generation, editing, and search-grounded image creation via gemini-3.1-flash-image-preview (Nano Banana 2). USE FOR: - Generating images from te... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 593 次。
如何安装 Nano Banana 2 — Gemini Image Generation?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install nano-banana-2-gemini」即可一键安装,无需额外配置。
Nano Banana 2 — Gemini Image Generation 是免费的吗?
是的,Nano Banana 2 — Gemini Image Generation 完全免费(开源免费),可自由下载、安装和使用。
Nano Banana 2 — Gemini Image Generation 支持哪些平台?
Nano Banana 2 — Gemini Image Generation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Nano Banana 2 — Gemini Image Generation?
由 frank-bot07(@frank-bot07)开发并维护,当前版本 v0.1.0。
推荐 Skills