Token导航 LogoToken导航TokenDH.com
研究检索敏感数据unknown未标认证来源可访问许可证需确认审计未展示

nano-bananaNano Banana 图像生成

Agent Skill

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

总安装

546

周安装

23

下载量

191
Local Agent

安装说明

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

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:nano-banana(Nano Banana 图像生成)
来源仓库:https://smithery.ai
仓库路径:nano-banana
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

简介

nano-banana 用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 它支持根据关键词、任务场景或来源线索进行信息匹配。
  • 使用时可结合来源仓库和原始 README 核验具体用法。
  • 安装前需确认权限范围、维护状态及是否触发联网操作。
  • 建议检查命令执行与数据读写的影响后再部署。nano-banana 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Nano Banana Pro - AI Image Generation

Generate stunning 4K images, edit photos, and create graphics with perfect text rendering using Google's latest Gemini 3 Pro Image model via MCP.

When to Use

Invoke when user:

  • Asks to "generate an image" or "create a picture"
  • Wants to "edit this photo" or "modify this image"
  • Needs graphics with text (logos, infographics, diagrams)
  • Requests "consistent characters" across multiple images
  • Says "visualize this" or "make me a [visual thing]"

Prerequisites

1. Gemini API Key

Get a free API key from Google AI Studio:

  1. Sign in with Google account
  2. Click "Get API Key" → "Create API Key"
  3. Copy and save securely

2. MCP Server Setup

Recommended: NanoBanana-MCP (uses Gemini 3 Pro for highest quality)

# Quick install via Claude Code CLI
claude mcp add nano-banana --env GEMINI_API_KEY=your-key-here -- npx -y nanobanana-mcp

Or add to ~/.claude/settings.json manually:

{
  "mcpServers": {
    "nano-banana": {
      "command": "npx",
      "args": ["-y", "nanobanana-mcp"],
      "env": {
        "GEMINI_API_KEY": "your-api-key-here"
      }
    }
  }
}

Alternative: Nano-Banana-MCP by ConechoAI (Gemini 2.5 Flash - faster, lower cost)

{
  "mcpServers": {
    "nano-banana": {
      "command": "npx",
      "args": ["nano-banana-mcp"],
      "env": {
        "GEMINI_API_KEY": "your-api-key-here"
      }
    }
  }
}

Available Tools

Once MCP is configured, these tools become available:

Core Tools

ToolPurposeKey Parameters
gemini_generate_imageCreate new images from text promptsprompt, model, aspectRatio, imageSize
gemini_edit_imageModify existing images with instructionsimagePath, instructions, model
continue_editingRefine the last generated imageinstructions
get_image_historyList all generated images in session-

Model Options

Model IDDescription
gemini-3-pro-image-previewDefault. Highest quality, 4K support, best text rendering
gemini-2.0-flash-expFaster generation, good quality, lower cost
gemini-2.0-flash-preview-image-generationAlternative 2.0 model

Image Size (Gemini 3 only)

SizeUse Case
4KFinal assets, print, marketing materials
2KBalanced quality and speed
1KFast iteration, prototyping

Advanced Features

FeatureCapability
4K OutputUp to 5632×3072 pixels
Text RenderingAccurate text in images (signs, labels, UI)
Multi-Image CompositionCombine up to 14 reference images
Character ConsistencyMaintain same character across 5+ images
Google Search GroundingReal-world accurate imagery

Prompting Best Practices

Structure Your Prompts

[Subject] + [Style] + [Details] + [Technical Specs]

Example:

"A cozy coffee shop interior, watercolor illustration style, warm lighting, wooden furniture, steaming cup on table, 4K resolution, soft morning light through windows"

For Best Results

  1. Be Specific - Include colors, materials, lighting, mood
  2. Specify Style - "photorealistic", "oil painting", "3D render", "anime"
  3. Add Context - Time of day, weather, setting
  4. Request Resolution - "4K", "high resolution", "detailed"

Precision Mode (JSON Prompting)

For high-stakes work requiring exact reproducibility, use structured JSON schemas.

When to Activate

Trigger phrases:

  • "I need exact control over..."
  • "Create a product shot for [brand]..."
  • "Generate a UI mockup..."
  • "Make an infographic showing..."
  • "I want to iterate on just the lighting..."
  • "A/B test different versions..."

Three Schema Types

TypeUse CaseKey Controls
marketing_imageProduct shots, hero imagessubject, props, lighting, camera, brand locks
ui_builderApp screens, dashboardstokens, screens, containers, components
diagram_specFlowcharts, infographicsnodes, edges, data constraints

The Translator Workflow

  1. Describe - User explains what they want in plain English
  2. Clarify - Claude asks targeted questions for missing fields
  3. Generate - Claude outputs structured JSON schema
  4. Review - User checks key fields match intent
  5. Render - JSON converts to precise prompt for Nano Banana Pro
  6. Iterate - Modify specific fields, re-render (scoped changes)

Example: Product Shot

User: "I need a hero shot for Aurora Lime seltzer"

Claude asks: "For the Aurora Lime hero shot:

  1. Can size? (12oz standard?)
  2. Props? (lime slices, ice, condensation?)
  3. Background style? (solid color, gradient, bokeh?)
  4. Lighting mood? (bright/refreshing or moody/premium?)"

Result: Structured JSON with exact specifications that can be iterated field-by-field.

Scoped Edits (The Key Unlock)

JSON enables changing ONE thing without regenerating everything:

ChangeWhat Stays Fixed
Swap lighting directionSubject, props, background
Try different camera angleLighting, props, environment
Change background colorSubject geometry, lighting setup
Add/remove propsEverything else

Reference Docs

  • references/json-prompting.md - Full JSON prompting guide
  • references/translator-prompt.md - Translator system prompt
  • references/schemas/ - Template schemas for each type
  • references/examples-json.md - Filled-out examples

Text in Images

Nano Banana Pro excels at text rendering:

"A vintage movie poster for 'COSMIC ADVENTURE' with bold retro typography, starfield background, astronaut silhouette, 1970s sci-fi aesthetic"

Character Consistency

For consistent characters across images:

  1. Generate initial character with detailed description
  2. Use history:0 reference in subsequent prompts
  3. Describe scene changes while referencing original
First: "A young woman with red curly hair, freckles, green eyes, wearing a blue jacket"
Then: "The same woman from history:0, now sitting at a café, reading a book"

Workflow Examples

Basic Image Generation

User: "Create an image of a futuristic city at sunset"

Claude uses: gemini_generate_image
Prompt: "Futuristic cityscape at golden hour sunset, towering glass skyscrapers with holographic advertisements, flying vehicles, warm orange and purple sky, photorealistic, 4K resolution, cinematic lighting"

Photo Editing

User: "Edit this photo to make it look like winter"

Claude uses: gemini_edit_image
Input: [user's image path]
Instructions: "Transform to winter scene: add snow on ground and surfaces, frost on windows, visible breath, overcast sky, cool blue color grading"

Iterative Refinement

User: "Make the lighting warmer"

Claude uses: continue_editing
Instructions: "Adjust lighting to warmer tones, add golden hour glow, enhance orange/yellow highlights, softer shadows"

Output Management

Images save to: ~/Documents/nanobanana_generated/

Naming format: generated-[timestamp]-[id].png

Security Notes

  • API keys stored locally in environment variables
  • Never committed to version control
  • Images processed locally, not stored on external servers
  • Use .env files for key management in projects

Model Comparison

ModelSpeedQualityCostBest For
gemini-3-pro-image-previewSlowerHighest (4K)HigherFinal assets, print, marketing
gemini-2.0-flash-expFastGoodLowerPrototyping, iteration, drafts

Troubleshooting

IssueSolution
"API key invalid"Verify key at AI Studio
"Rate limited"Wait 60s, or upgrade API tier
"MCP not connected"Restart Claude Code, check config syntax
"Image not saving"Check write permissions on output directory

Integration

Works well with:

  • Artifacts Builder - Generate images for HTML artifacts
  • Process Mapper - Create diagram visuals
  • Research to Essay - Add illustrations to content

References

  • references/prompting-guide.md - Detailed prompting techniques
  • references/examples.md - Sample prompts by category

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

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

平台分布

Local Agent

84.79%
按下载量换算162

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills