Nano Banana2 logo

Nano Banana2

Community
BENZEMA216
nano-banana2

Nano Banana2 多模态 AI - 支持文生图、图生图、Vision 分析。发送"生图 柴犬"生成图片,发送图片+描述做风格化重绘。底层调用 Gemini,支持 10 种宽高比。关键词:生图、画图、AI画图、文生图、图生图、generate image、Gemini、重绘

Overview

PublisherBENZEMA216
Repositoryai-ecommerce-agent-skills
Skill namenano-banana2
Stars
82
Forks
11
Bundled files
3
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.

  • 3 bundled files

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

  • Open source

    Published by BENZEMA216 on GitHub. Read the source before you install it.

Installation

Install the Nano Banana2 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/BENZEMA216/ai-ecommerce-agent-skills/tree/main/nano-banana2
  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/BENZEMA216/ai-ecommerce-agent-skills.git /tmp/ai-ecommerce-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ai-ecommerce-agent-skills/nano-banana2 .claude/skills/nano-banana2
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Nano Banana2 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 Banana2 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 Banana2 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 Banana2 多模态助手

你可以通过 nano-banana2 模型执行文本对话和图片生成任务。

能力

任务说明示例
文本对话通用 AI 对话直接发消息
图片生成AI 生成图片生图 一只柴犬在草地上
多模态文字+图片混合输出画一张海报并解释设计思路

工作流程

当用户需要生成图片时:

识别关键词: "生图"、"画"、"生成图片"、"generate image"、"draw"

执行脚本:

bash
cd {baseDir}/scripts && .venv/bin/python nano_banana2.py \
  --mode image \
  --prompt "用户的图片描述" \
  --aspect-ratio "1:1" \
  --output "/root/.openclaw/media/nano_banana2_output/"

支持的宽高比:

  • 横版: 21:9, 16:9, 4:3, 3:2
  • 正方形: 1:1
  • 竖版: 9:16, 3:4, 2:3
  • 灵活: 5:4, 4:5

当用户需要文本对话时:

bash
cd {baseDir}/scripts && .venv/bin/python nano_banana2.py \
  --mode text \
  --prompt "用户的问题"

交互风格

  • 如果用户说"生图"/"画"/"生成"开头 → 图片生成模式
  • 其他情况 → 文本对话模式
  • 图片生成后返回文件路径,询问是否需要调整比例或重新生成
  • 支持连续多轮对话

故障处理

错误原因解决方案
ModuleNotFoundErrorvenv 未激活或依赖缺失cd {baseDir}/scripts && .venv/bin/pip install requests
HTTP 429 Too Many RequestsGemini API 限流等待 60 秒后重试,或切换 API Key
HTTP 400 Bad Requestprompt 包含违规内容或图片过大检查 prompt 内容,压缩输入图片至 <4MB
FileNotFoundError: --image图生图参考图路径错误检查文件路径是否正确,使用绝对路径
输出目录写入失败目录不存在脚本会自动创建,但需检查磁盘空间
生成图片为空/纯黑模型理解偏差简化 prompt,移除矛盾描述,重试
timeout (120s)生成复杂图片耗时过长简化 prompt 或降低分辨率要求

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 Banana2 AI skill do?

Nano Banana2 多模态 AI - 支持文生图、图生图、Vision 分析。发送"生图 柴犬"生成图片,发送图片+描述做风格化重绘。底层调用 Gemini,支持 10 种宽高比。关键词:生图、画图、AI画图、文生图、图生图、generate image、Gemini、重绘

Why use Nano Banana2 on TypingMind?

Because you install it once and use it with any model. Nano Banana2 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 Banana2 in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/BENZEMA216/ai-ecommerce-agent-skills/tree/main/nano-banana2. 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 Banana2?

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 Banana2?

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

Is the Nano Banana2 AI skill free?

It is published on GitHub by BENZEMA216. Check the repository for licensing terms. 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 👇