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

nano-banana-skills纳米香蕉技能

Agent Skill

nano-banana-skills 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,151

周安装

87

GitHub Stars

公开资料未说明

下载量

675
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install nano-banana-skills

简介

nano-banana-skills 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于使用 Google Gemini 模型(Nano Banana 2 / gemini-3-pro-image-preview)生成图像。
  • 通过 clawhub 安装并使用 openclaw skills install nano-banana-skills 命令部署。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 可结合来源仓库和原始 README 继续核验具体用法和功能细节。

SKILL.md

name
gemini-image
description
Generate images using Google Gemini models (Nano Banana 2 / gemini-3-pro-image-preview). Use when the user asks to create, generate, or make an image, picture, photo, or visual from a text description. Also supports image-to-image generation (modify/edit existing images). Supports multiple aspect ratios (1:1, 16:9, 9:16, 4:3, 3:4) and resolutions up to 4K. Triggers on phrases like "generate an image", "create a picture", "make me a photo", "draw", "visualize", "edit this image", "modify this picture", or any request to produce or transform visual content.

Gemini Image Generation

Generate images from text descriptions or modify existing images using Google's Gemini models via the Wisdom Gate API.

Quick Usage

Text-to-Image

python scripts/generate_image.py "your prompt here" [--aspect-ratio RATIO] [--size SIZE] [--output PATH]

Image-to-Image (Single or Multiple)

# Single image
python scripts/generate_image.py "modification prompt" --input input.jpg [--output PATH]

# Multiple images (up to 14)
python scripts/generate_image.py "combine these people in an office photo" --input person1.jpg person2.jpg person3.jpg

Multi-Turn Refinement

# First turn: Generate initial image (auto-selects Nano Banana 2)
python scripts/refine_image.py "Create a vibrant infographic about photosynthesis" --reset

# Second turn: Refine with quality priority
python scripts/refine_image.py "Make it more colorful and add more visual elements" --quality

# Third turn: Further refinement with specific model
python scripts/refine_image.py "Add labels to each component" --model nano-banana-pro

# Start a new conversation with budget model
python scripts/refine_image.py "New prompt here" --reset --model nano-banana

Parameters (generate_image.py):

  • prompt (required): Text description of the image to generate or modification to apply
  • --input: Input image path(s) for image-to-image generation - supports up to 14 images (optional)
  • --aspect-ratio: Image aspect ratio (text-to-image only) - 1:1 (default), 16:9, 9:16, 21:9, 4:3, 3:4, 5:4, 4:5, 2:3, 3:2, 1:4, 4:1, 1:8, 8:1
  • --size: Image resolution (text-to-image only) - 0.5K, 1K (default), 2K, 4K
  • --output: Output file path (default: generated_image.png)
  • --model: Force specific model - nano-banana, nano-banana-2, nano-banana-pro (auto-select if not specified)
  • --quality: Prioritize quality over cost (uses Nano Banana Pro when possible)

Parameters (refine_image.py):

  • prompt (required): Refinement instruction or initial prompt
  • --history: Conversation history file (default: conversation.json)
  • --output: Output file path (default: refined_image.png)
  • --reset: Reset conversation history and start fresh
  • --model: Force specific model - nano-banana, nano-banana-2, nano-banana-pro (auto-select if not specified)
  • --quality: Prioritize quality over cost (uses Nano Banana Pro)

Environment:

  • Requires WISGATE_KEY environment variable
  • Alternative: Set Authorization: Bearer YOUR_KEY header (modify script if needed)

Examples

Text-to-Image

# Basic generation (auto-selects Nano Banana 2 for best balance)
python scripts/generate_image.py "A serene mountain landscape at sunset"

# High quality mode (uses Nano Banana Pro)
python scripts/generate_image.py "Futuristic city skyline" --quality --aspect-ratio 16:9 --size 4K

# Budget mode (force cheapest model)
python scripts/generate_image.py "Simple illustration" --model nano-banana --size 2K

# Portrait orientation with specific model
python scripts/generate_image.py "Portrait of a wise old wizard" --aspect-ratio 9:16 --model nano-banana-pro

Image-to-Image

# Modify an existing image (auto-selects appropriate model)
python scripts/generate_image.py "make it look like a watercolor painting" --input photo.jpg

# Style transfer with quality priority
python scripts/generate_image.py "Van Gogh style" --input portrait.png --quality

# Multiple reference images (auto-uses Nano Banana Pro for best quality)
python scripts/generate_image.py "group photo of these people at a party" --input person1.jpg person2.jpg person3.jpg person4.jpg

# Budget multi-image (force cheaper model)
python scripts/generate_image.py "combine these items" --input item1.jpg item2.jpg --model nano-banana-2

Models

ModelAliasDescriptionResolutionsCost
gemini-2.5-flash-imagenano-bananaCheapest, fast & economical1K, 2K💰 Low
gemini-3.1-flash-image-previewnano-banana-2Best value, recommended0.5K, 1K, 2K, 4K💰💰 Medium
gemini-3-pro-image-previewnano-banana-proBest performance, high quality1K, 2K, 4K💰💰💰 High

Smart Model Selection (Default Behavior):

  • Multiple image input (>1 image) → Automatically uses Nano Banana Pro (best quality)
  • 4K resolution → Nano Banana 2 or Pro (depends on --quality flag)
  • 0.5K resolution → Nano Banana 2 (only supported model)
  • Other scenarios → Nano Banana 2 (best value)

Manual Model Override: Use the --model parameter to force a specific model:

python scripts/generate_image.py "prompt" --model nano-banana  # Cheapest
python scripts/generate_image.py "prompt" --model nano-banana-2  # Best value
python scripts/generate_image.py "prompt" --model nano-banana-pro  # Best quality

Quality Priority Mode: Use the --quality flag to prefer Nano Banana Pro when possible:

python scripts/generate_image.py "prompt" --quality

API Endpoint Format:

https://api.wisgate.ai/v1beta/models/{model}:generateContent

Authentication:

  • Header: x-goog-api-key: YOUR_WISGATE_KEY
  • Or: Authorization: Bearer YOUR_WISGATE_KEY

Workflow

One-Shot Generation (generate_image.py)

  1. Check if WISDOM_GATE_KEY is set in environment
  2. For text-to-image: Run script with prompt and desired parameters
  3. For image-to-image: Run script with prompt and --input pointing to the source image(s)
  4. Save the generated image to the specified output path
  5. Show the image to the user or confirm the save location

Multi-Turn Refinement (refine_image.py)

  1. First turn: Use --reset to start a new conversation
  2. Subsequent turns: Run without --reset to refine based on previous results
  3. Conversation history is automatically saved to conversation.json (or custom path)
  4. Each turn generates a new image based on the full conversation context
  5. Use --reset again to start a completely new conversation

Notes

  • Images are returned as base64-encoded PNG data
  • Text-to-image includes Google Search grounding by default for better results
  • Image-to-image supports JPEG, PNG, and WebP input formats
  • Aspect ratio and size parameters only apply to text-to-image generation
  • Multi-image limits: Up to 14 reference images total (recommended: up to 6 objects or up to 5 people for best quality)
  • Force image output: Set responseModalities: ["IMAGE"] (without TEXT) to ensure image generation
  • Model differences: Different models support different resolutions and aspect ratios - consult the table above
  • Multi-turn editing: Use refine_image.py for iterative refinement with conversation history
  • Conversation persistence: History is saved to JSON file and can be resumed across sessions
  • Safety settings: API supports content filtering via safetySettings parameter (not exposed in scripts by default)
  • Token usage: Check usageMetadata in API response for prompt/candidate/total token counts
  • Finish reasons: API returns finishReason (STOP, MAX_TOKENS, SAFETY, RECITATION, OTHER)

适合场景

01

文本生成图片

02

图片风格化

03

产品图和创意图

04

需要 FLUX 模型时

能力概览

能力 1

调用 FLUX 图像模型

能力 2

支持文本生图和图像改写

能力 3

覆盖 LoRA 或风格适配

能力 4

适合创意视觉生成

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

平台分布

OpenClaw

75.95%
按下载量换算513

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills