← 返回 Skills 市场
liberalchang

nanobanana-openrouter

作者 chang · GitHub ↗ · v1.1.1 · MIT-0
cross-platform ⚠ suspicious
87
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install nanobanana-openrouter
功能描述
Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image) via OpenRouter. Use for image create/modify requests incl. edits. Supports text-to-image + ima...
安全使用建议
Before installing, be aware of three issues: (1) the skill actually requires an OpenRouter API key (OPENROUTER_KEY) and the 'uv' runner but the metadata does not declare them — ask the author to update the manifest so you know what credentials will be used; (2) the scripts will upload any file you point at with --input-image (it encodes the file as a data URL and sends it to openrouter.ai) — do not pass paths to sensitive local files; and (3) filenames are not sanitized against directory traversal (a crafted --filename or --output-dir could cause writes outside the skill folder). If you still want to use it, run it in a sandboxed environment, only provide a dedicated API key with limited quota/permissions, and request the author add explicit metadata and filename/path sanitization (reject '..' or absolute paths, enforce basename-only writes).
功能分析
Type: OpenClaw Skill Name: nanobanana-openrouter Version: 1.1.1 The skill bundle provides a legitimate interface for generating and editing images via the OpenRouter API (Google Gemini 3 Pro Image). The Python scripts (generate_image.py and generate_and_return.py) use standard libraries like requests and Pillow to handle API communication and image processing, and they employ safe subprocess execution patterns. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description match the included code (calls OpenRouter to generate/edit images). However the registry metadata declares no required environment variables or binaries while the SKILL.md and scripts require an OpenRouter API key (OPENROUTER_KEY) and the 'uv' runner. That mismatch is incoherent: a user or integrator would reasonably expect OPENROUTER_KEY to be declared as a required credential and 'uv' as a required binary.
Instruction Scope
SKILL.md instructs the agent to run the provided scripts for generation and edits, which is consistent. But the scripts convert any provided input image to a base64 data URL and POST it to openrouter.ai — meaning arbitrary local files supplied as --input-image will be uploaded to an external service. SKILL.md does not explicitly warn about uploading local files, and the code does not restrict which paths may be supplied.
Install Mechanism
This is instruction-plus-scripts only: there is no install spec or remote download. That minimizes supply-chain risk; dependencies are declared in script comments (requests, pillow) but nothing is fetched at install time by the skill bundle.
Credentials
The code requires an OpenRouter API key (OPENROUTER_KEY) or --api-key at runtime, but the skill metadata declares no required env vars and primary credential is 'none'. This is a clear mismatch. Requesting the single API key is proportional for this purpose, but it should be declared explicitly. No other credentials are requested.
Persistence & Privilege
The skill is not always-enabled and does not request special platform privileges. It writes output images to a local output_images directory under the skill by default (or to a user-specified output-dir).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nanobanana-openrouter
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nanobanana-openrouter 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.1
- Updated usage instructions to use `/path/to/this/skill/` instead of an absolute `.openclaw` or `.codex` path. - Changed the default output directory from `~/.openclaw/skills/nano-banana-pro-openrouter/output_images/` to `./output_images/` relative to the skill's root. - All example commands reflect the new path conventions. - No functional or code changes detected; documentation clarification only.
v1.1.0
- Adds detailed usage instructions for Nano Banana Pro image generation and editing via OpenRouter (Gemini 3 Pro Image). - Supports both text-to-image and image-to-image (edits) with multiple resolution options: 1K, 2K, and 4K. - Explains filename generation with timestamp and descriptive text, plus fallback to random identifiers. - Outlines API key configuration and error handling for common issues. - Provides prompt handling advice and ready-to-use templates for both generation and editing scenarios. - Documents default workflow for efficient image creation and iteration.
元数据
Slug nanobanana-openrouter
版本 1.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

nanobanana-openrouter 是什么?

Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image) via OpenRouter. Use for image create/modify requests incl. edits. Supports text-to-image + ima... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 87 次。

如何安装 nanobanana-openrouter?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install nanobanana-openrouter」即可一键安装,无需额外配置。

nanobanana-openrouter 是免费的吗?

是的,nanobanana-openrouter 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

nanobanana-openrouter 支持哪些平台?

nanobanana-openrouter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 nanobanana-openrouter?

由 chang(@liberalchang)开发并维护,当前版本 v1.1.1。

💬 留言讨论