← 返回 Skills 市场
yazelin

Nanobanana Pro

作者 yazelin · GitHub ↗ · v0.4.4
cross-platform ✓ 安全检测通过
2577
总下载
4
收藏
6
当前安装
8
版本数
在 OpenClaw 中安装
/install nanobanana-pro-fallback
功能描述
Nano Banana Pro with auto model fallback — generate/edit images via Gemini Image API. Run via: uv run {baseDir}/scripts/generate_image.py --prompt 'desc' --filename 'out.png' [--resolution 1K|2K|4K] [-i input.png]. Supports text-to-image + image-to-image (up to 14); 1K/2K/4K. Fallback chain: gemini-2.5-flash-image → gemini-2.0-flash-exp. MUST use uv run, not python3.
安全使用建议
This skill appears coherent and implements an image-generation wrapper around the Gemini API. Before installing, confirm you trust the GEMINI API endpoint and the author: the script will send prompts and (optionally) user-supplied image bytes to Google’s Gemini service using the GEMINI_API_KEY. Keep your API key private (avoid passing it on shared CLI history), and consider setting limited-scope credentials if the provider supports them. Review the public repo (homepage) if you want further assurance. Installing 'uv' via Homebrew is expected; inspect what 'uv' will install on your platform. If you plan to supply local images, ensure you only pass files you intend to upload to the remote API.
功能分析
Type: OpenClaw Skill Name: nanobanana-pro-fallback Version: 0.4.4 The skill bundle is benign. Its purpose is to generate and edit images using the Gemini Image API, with model fallback. The `scripts/generate_image.py` script correctly handles API key retrieval, loads user-provided input images, makes calls to the Google Gemini API, and saves the resulting image to a user-specified path. All file system and network operations are directly aligned with the stated purpose. The `SKILL.md` instructions for the agent are clear and include a benign safety instruction ('Do not read the image back; report the saved path only'), with no evidence of malicious prompt injection or other harmful behaviors.
能力评估
Purpose & Capability
Name/description (image generation/editing via Gemini) match the actual files and declared requirements. The script uses the Gemini client, accepts an API key, and requires the 'uv' runner as described. Requiring GEMINI_API_KEY and the uv binary is proportional to the stated functionality.
Instruction Scope
SKILL.md and the included script instruct the agent to run the bundled script with 'uv run', operate on user-supplied input images, and save an output file (printing a MEDIA: line). The instructions do not request unrelated files, extra credentials, or exfiltration endpoints. The script only reads input image paths provided by the user and writes the specified output file.
Install Mechanism
Install uses a Homebrew formula to install 'uv', a known runner. There are no downloads from arbitrary/personal URLs or extract steps that write unknown code to disk. 'uv' will manage Python dependencies at runtime (expected for this project).
Credentials
Only GEMINI_API_KEY is required (primaryEnv). An optional env var (NANOBANANA_FALLBACK_MODELS) is documented for configuration. No unrelated secrets or excessive environment access are requested.
Persistence & Privilege
The skill is not always-included and does not request elevated or cross-skill config changes. It does not modify other skills' settings or request persistent system-wide privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nanobanana-pro-fallback
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nanobanana-pro-fallback 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.4.4
Improve description for search
v0.4.3
Fix: image_size param only for gemini-3 models, prevents 400 INVALID_ARGUMENT on gemini-2.5-flash
v0.4.2
Rich description with full usage command for agent system prompt
v0.4.1
Added bash wrapper script (scripts/generate) that forces uv run
v0.4.0
Based on official nano-banana-pro: same script structure, only added model fallback
v0.3.0
Single-file design: uv run auto-installs deps, merged generate/edit/restore into one script
v0.2.0
Zero dependencies: pure stdlib, no pip/uv needed
v0.1.0
Initial release of nanobanana-pro, an AI image generation tool with automatic fallback. - Generate, edit, or restore images using Gemini image models. - Automatic fallback through multiple models if one fails (configurable via environment variable). - Supports resolutions: 1K (default), 2K, and 4K. - Command-line scripts for generation, editing (including multi-image), and restoration. - Requires GEMINI_API_KEY environment variable. - OpenClaw integration with special outputs and config options.
元数据
Slug nanobanana-pro-fallback
版本 0.4.4
许可证
累计安装 6
当前安装数 6
历史版本数 8
常见问题

Nanobanana Pro 是什么?

Nano Banana Pro with auto model fallback — generate/edit images via Gemini Image API. Run via: uv run {baseDir}/scripts/generate_image.py --prompt 'desc' --filename 'out.png' [--resolution 1K|2K|4K] [-i input.png]. Supports text-to-image + image-to-image (up to 14); 1K/2K/4K. Fallback chain: gemini-2.5-flash-image → gemini-2.0-flash-exp. MUST use uv run, not python3. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2577 次。

如何安装 Nanobanana Pro?

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

Nanobanana Pro 是免费的吗?

是的,Nanobanana Pro 完全免费(开源免费),可自由下载、安装和使用。

Nanobanana Pro 支持哪些平台?

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

谁开发了 Nanobanana Pro?

由 yazelin(@yazelin)开发并维护,当前版本 v0.4.4。

💬 留言讨论