Nano Banana Pro logo

Nano Banana Pro

Organization
open-deep-crew
nano-banana-pro

使用谷歌的 Nano Banana Pro(Gemini 3 Pro 图片)API 生成和编辑图片。当用户请求生成、创建、编辑、修改、修改、修改或更新图像时使用。当用户引用已有的图片文件并请求以任何方式修改时,也要使用(例如,“修改此图像”、“更改背景”、“用 Y 替换 X”)。支持文本生成和图像对图像编辑,分辨率可配置(默认 1K,高分辨率为 2K 或 4K)。千万不要先读图片文件——直接用这个技能配合 --input-image 参数。

Overview

Publisheropen-deep-crew
Repositorymarketplace
Skill namenano-banana-pro
Stars
26
Forks
15
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by open-deep-crew on GitHub. Read the source before you install it.

Installation

Install the Nano Banana Pro AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/open-deep-crew/marketplace/tree/main/atoms/skills/nano-banana-pro
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/open-deep-crew/marketplace.git /tmp/marketplace
mkdir -p .claude/skills
cp -r /tmp/marketplace/atoms/skills/nano-banana-pro .claude/skills/nano-banana-pro
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Nano Banana Pro in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Nano Banana Pro on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Nano Banana Pro is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Nano Banana Pro 图像生成与编辑

使用谷歌的 Nano Banana Pro API(Gemini 3 Pro 图片)生成新图片或编辑现有图片。

Usage

生成新图像:

bash
uv run <skill-path>/scripts/generate_image.py --prompt "your image description" --filename "output-name.png" [--resolution 1K|2K|4K] [--api-key KEY]

编辑现有图片:

bash
uv run <skill-path>/scripts/generate_image.py --prompt "editing instructions" --filename "output-name.png" --input-image "path/to/input.png" [--resolution 1K|2K|4K] [--api-key KEY]

重要提示: 始终从用户当前的工作目录运行,这样图片保存在用户正在工作的地方,而不是技能目录。

分辨率选项

Gemini 3 Pro 图像 API 支持三种分辨率(需要大写 K):

  • 1K (默认) - ~1024px 分辨率
  • 2K - ~2048px 分辨率
  • 4K - ~4096px 分辨率

将用户请求映射到 API 参数:

  • 没有提到 1K→分辨率
  • “低分辨率”、“1080”、“1080p”、“1K”→1K
  • “2K”、“2048”、“普通”、“中分辨率”→2K
  • “高分辨率”、“高分辨率”、“高分辨率”、“4K”、“超高分辨率”→4K

API 密钥

脚本按以下顺序检查 API 密钥:

  1. --api-key 参数(在聊天中使用用户提供密钥)
  2. GEMINI_API_KEY 环境变量

如果两者都不可用,脚本会以错误信息退出。

文件名生成

生成带有模式的文件名: yyyy-mm-dd-hh-mm-ss-name.png

形式: {timestamp}-{descriptive-name}.png

  • 时间戳:当前日期/时间,格式 yyyy-mm-dd-hh-mm-ss (24 小时格式)
  • 名称:带连字符的描述性小写文本
  • 描述部分保持简洁(通常1-5个单词)
  • 利用用户提示或对话中的上下文
  • 如果不清楚,使用随机标识符(例如 x9k2,a7b3)

示例:

  • 提示词“宁静的日本庭园” → 2025-11-23-14-23-05-japanese-garden.png
  • 提示词“山上的日落” → 2025-11-23-15-30-12-sunset-mountains.png
  • 提示词“创建一个机器人图像” → 2025-11-23-16-45-33-robot.png
  • 背景不明 → 2025-11-23-17-12-48-x9k2.png

图像编辑

当用户想要修改已有的图片时:

  1. 检查他们是否提供图片路径或当前目录中的图片引用。
  2. 使用与图像路径相符的 --input-image 参数
  3. 提示应包含编辑指令(例如,“让天空更具戏剧性”,“移除人物”,“切换为卡通风格”)
  4. 常见的编辑任务:添加/移除元素、更改样式、调整颜色、模糊背景等。

及时处理

关于生成: 直接把用户的图片描述直接传递给 --prompt. 只有在明显不够时才重做.

编辑方面: 在 --prompt 词中传递编辑指令(例如,“在天空中添加彩虹”、“让它看起来像水彩画”)

在这两种情况下都要保留用户的创作意图。

输出

  • 将 PNG 保存到当前目录(或如果文件名包含目录,则指定路径)
  • 脚本输出生成图像的完整路径
  • 不要回读图片 ——只需告知用户已保存的路径

示例

生成新图像:

bash
uv run <skill-path>/scripts/generate_image.py --prompt "A serene Japanese garden with cherry blossoms" --filename "2025-11-23-14-23-05-japanese-garden.png" --resolution 4K

编辑现有图片:

bash
uv run <skill-path>/scripts/generate_image.py --prompt "make the sky more dramatic with storm clouds" --filename "2025-11-23-14-25-30-dramatic-sky.png" --input-image "original-photo.jpg" --resolution 2K

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Nano Banana Pro AI skill do?

使用谷歌的 Nano Banana Pro(Gemini 3 Pro 图片)API 生成和编辑图片。当用户请求生成、创建、编辑、修改、修改、修改或更新图像时使用。当用户引用已有的图片文件并请求以任何方式修改时,也要使用(例如,“修改此图像”、“更改背景”、“用 Y 替换 X”)。支持文本生成和图像对图像编辑,分辨率可配置(默认 1K,高分辨率为 2K 或 4K)。千万不要先读图片文件——直接用这个技能配合 --input-image 参数。

Why use Nano Banana Pro on TypingMind?

Because you install it once and use it with any model. Nano Banana Pro is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Nano Banana Pro in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/open-deep-crew/marketplace/tree/main/atoms/skills/nano-banana-pro. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Nano Banana Pro?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Nano Banana Pro?

As many as you like. As long as a model supports skills, you can use Nano Banana Pro with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Nano Banana Pro AI skill free?

Yes. It is published on GitHub by open-deep-crew under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇