Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

nano-banana-pro-openrouternano banana 专业版 OpenRouter

Agent Skill

nano-banana-pro-openrouter 用于处理图像、截图、视觉识别或图片素材相关工作,适合在 OpenClaw 中需要让 Agent 分析图片、整理视觉素材或辅助图像流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

71,454

周安装

3,038

GitHub Stars

1

下载量

25,033
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:nano-banana-pro-openrouter(nano banana 专业版 OpenRouter)
来源仓库:https://github.com/duffycoder/nano-banana-pro-openrouter
安装命令:
openclaw skills install nano-banana-pro-openrouter
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install nano-banana-pro-openrouter

简介

通过 OpenRouter 使用 Nano Banana Pro 生成图像。当用户要求生成图像时使用,提及 Nano Banana Pro、Gemini 3 Pro Image 或 OpenRouter 图像生成。

SKILL.md

name
nano-banana-pro-openrouter
description
Generate images with Nano Banana Pro via OpenRouter. Use when the user asks for image generation, mentions Nano Banana Pro, Gemini 3 Pro Image, or OpenRouter image generation.

Nano Banana Pro Image Generation

Generate new images using OpenRouter's Nano Banana Pro (Gemini 3 Pro Image Preview).

Usage

Run the script using an absolute path (do NOT cd to the skill directory first):

Generate new image:

sh ~/.openclaw/workspace/skills/nano-banana-pro-openrouter/scripts/generate_image.sh --prompt "your image description" [--filename "output-name.png" | --filename auto] [--resolution 1K|2K|4K] [--api-key KEY]

Note: the shell version currently supports generation only (no input image editing).

Important:

  • Images are always saved under ~/.openclaw/workspace/outputs/nano-banana-pro-openrouter
  • If --filename contains a path, only the basename is used

Default Workflow (draft -> iterate -> final)

Goal: fast iteration without burning time on 4K until the prompt is correct.

  • Draft (1K): quick feedback loop

- sh ~/.openclaw/workspace/skills/nano-banana-pro-openrouter/scripts/generate_image.sh --prompt "<draft prompt>" --filename auto --resolution 1K

  • Iterate: adjust prompt in small diffs; keep filename new per run
  • Final (4K): only when prompt is locked

- sh ~/.openclaw/workspace/skills/nano-banana-pro-openrouter/scripts/generate_image.sh --prompt "<final prompt>" --filename auto --resolution 4K

Resolution Options

The Gemini 3 Pro Image API supports three resolutions (uppercase K required):

  • 1K (default) - ~1024px resolution
  • 2K - ~2048px resolution
  • 4K - ~4096px resolution

Map user requests to API parameters:

  • No mention of resolution -> 1K
  • "low resolution", "1080", "1080p", "1K" -> 1K
  • "2K", "2048", "normal", "medium resolution" -> 2K
  • "high resolution", "high-res", "hi-res", "4K", "ultra" -> 4K

API Key and Base URL

The script checks for the API key in this order:

  1. --api-key argument (use if user provided a key in chat)
  2. OPENROUTER_API_KEY environment variable

The API base URL must be set via OPENROUTER_BASE_URL. Use the full chat completions endpoint (for OpenRouter: https://openrouter.ai/api/v1/chat/completions).

The script also loads .env files automatically (if present):

  • Current working directory .env
  • Skill directory .env

Important: If a .env file exists, do not ask the user for the key up front. Just run the script and only ask if it errors with "No API key provided."

OpenClaw Chat Execution Rules

  • OpenClaw does NOT auto-source the skill .env file
  • If ~/.openclaw/workspace/skills/nano-banana-pro-openrouter/.env exists:

1. Use the read tool to read .env 2. Extract OPENROUTER_API_KEY and OPENROUTER_BASE_URL 3. Always pass the key via --api-key when running the script

  • Only ask the user if .env is missing or the key cannot be read
  • If the user asks for a timestamped filename, prefer --filename auto (do not handwrite dates)

If neither is available, the script exits with an error message.

Preflight and Common Failures (fast fixes)

Preflight:

  • command -v sh (must exist)
  • command -v curl (must exist)
  • command -v base64 (must exist)

Common failures:

  • Error: No API key provided. -> read .env and retry with --api-key; if still failing, ask the user to set OPENROUTER_API_KEY
  • Error: No API base URL provided. -> ensure OPENROUTER_BASE_URL is set to a full chat completions endpoint
  • Error loading input image: -> wrong path or unreadable file; verify --input-image points to a real image
  • "quota/permission/403" style API errors -> wrong key, no access, or quota exceeded; try a different key/account

Filename Generation

Generate filenames with the pattern: yyyy-mm-dd-hh-mm-ss-name.png

Format: {timestamp}-{descriptive-name}.png

  • Timestamp: Current date/time in format yyyy-mm-dd-hh-mm-ss (24-hour format)
  • Name: Descriptive lowercase text with hyphens
  • Keep the descriptive part concise (1-5 words typically)
  • Use context from the user's prompt or conversation
  • If unclear, use image

Examples:

  • Prompt "A serene Japanese garden" -> 2025-11-23-14-23-05-japanese-garden.png
  • Prompt "sunset over mountains" -> 2025-11-23-15-30-12-sunset-mountains.png
  • Prompt "create an image of a robot" -> 2025-11-23-16-45-33-robot.png
  • Unclear context -> 2025-11-23-17-12-48-image.png

Tip: To avoid incorrect timestamps, pass --filename auto and let the script generate the filename using the system clock.

Image Editing (Not Supported in Shell Version)

The shell script only supports generating new images. Editing an input image is not available in this version.

Prompt Handling

For generation: pass the user's image description as-is to --prompt. Only rework if clearly insufficient.

Prompt Templates (high hit-rate)

Use templates when the user is vague or when edits must be precise.

Generation template:

  • "Create an image of: <subject>. Style: <style>. Composition: <camera/shot>. Lighting: <lighting>. Background: <background>. Color palette: <palette>. Avoid: <list>."

Output

  • Saves PNG to ~/.openclaw/workspace/outputs/nano-banana-pro-openrouter
  • If --filename includes a path, only the basename is used
  • Script outputs the full path to the generated image
  • Script also outputs MEDIA_URL=file:///absolute/path for each image

Show the image in the reply

  • Use the MEDIA_URL value to attach the image in the model response
  • In OpenClaw, prefer sending a message with mediaUrl set to that file:// URL
  • Also include the file path in text for reference

Examples

Generate new image:

sh ~/.openclaw/workspace/skills/nano-banana-pro-openrouter/scripts/generate_image.sh --prompt "A serene Japanese garden with cherry blossoms" --filename auto --resolution 4K

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

82.94%
按下载量换算20,762

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills