Nano Banana Pro logo

Nano Banana Pro

OrganizationPopular
TokenRhythm
nano-banana-pro

Generate or edit a single image via OpenRouter (google/gemini-3.1-flash-image-preview by default). Accepts a text prompt and optional --input-image for image-to-image editing. Trigger when the user asks for an AI image, illustration, concept art, product render, or wants to modify an existing image.

Overview

PublisherTokenRhythm
Repositoryopensquilla
Skill namenano-banana-pro
Stars
7K
Forks
566
Bundled files
1
LicenseApache-2.0
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 TokenRhythm 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.
  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/TokenRhythm/opensquilla.git /tmp/opensquilla
mkdir -p .claude/skills
cp -r /tmp/opensquilla/src/opensquilla/skills/bundled/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 — single-image generator via OpenRouter

Generates one PNG from a text prompt (optionally seeded with an input image for editing). Used by meta-short-drama for per-shot first-frame generation, but standalone for any single-image request.

Inputs (with:)

keyrequireddefaultnotes
promptyesPlain English prompt. Append --ar 9:16 etc. as text.
filenameyesOutput path. Relative resolves against process cwd.
aspect_rationo1:1One of 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16.
image_sizeno1K1K, 2K, 4K. Higher = slower + costlier.
modelnogoogle/gemini-3.1-flash-image-previewAny OpenRouter image-capable model.
max_retriesno0Compatibility budget used only for a failure proven to occur before a paid submit. Provider responses and ambiguous transport failures always stop.
fallback_modelno""Compatibility fallback used only after a proven safe pre-submit failure. It is never selected in response to a provider result or ambiguous paid POST.
placeholder_on_failnonoyes / no. When every model refuses, write a 720x1280 solid-colour PNG with a "Scene placeholder" label so a downstream merge step still has a file in this slot.

To pass an input image for edit mode, invoke the script directly with --input-image PATH. The meta-skill engine does not route input images through with: by convention; for edit workflows call the script.

Auth

API-key resolution order (first hit wins):

  1. --api-key CLI argument (rarely used; meta-skills don't pass it)
  2. The parent-injected atomic connection OPENSQUILLA_META_CAPABILITY_PROVIDER, OPENSQUILLA_META_CAPABILITY_API_KEY, and OPENSQUILLA_META_CAPABILITY_BASE_URL. An optional OPENSQUILLA_META_CAPABILITY_PROXY applies only to requests to that matching provider API. These internal, volatile values are scoped to this bundled skill and are not written to argv, run inputs, or transcripts.
  3. OPENSQUILLA_META_OPENROUTER_API_KEY, retained for older parent runtimes and bound only to OpenRouter's official API origin.
  4. OPENROUTER_API_KEY environment variable for direct CLI use, also bound only to OpenRouter's official API origin.

The parent-injected generic key is accepted only when its provider and base URL are present as one tuple. --base-url may change the path for a parent or canonical credential but cannot change its scheme, hostname, or effective port. To intentionally use a different API origin from the direct CLI, pass both --api-key and --base-url. Authenticated requests reject URL userinfo, queries, fragments, malformed ports, and redirects before a key can be sent.

The child script never discovers or parses opensquilla.toml from its current working directory and never lets a workspace choose an arbitrary llm.api_key_env. Configure the active Gateway normally; the parent runtime performs that resolution before launching this bundled subprocess.

No Google Gemini key needed — OpenRouter routes the request to the Gemini image model on the user's behalf.

When a parent-resolved profile-pool credential receives an authentication, credit, or rate-limit failure, OpenSquilla parks that key for the next explicitly authorized run. It never repeats the current paid generation automatically.

Output

Prints the absolute path of the saved PNG, then an IMAGE_GENERATION_RECEIPT: {...} line on stdout. A matching sanitized receipt is saved as <filename>.receipt.json; it records provider, model, provider request id when available, and whether the file is a real model result or a local placeholder. It never contains the API key or prompt. Provider image MIME, decoded format, dimensions, and payload integrity are verified and supported formats are normalized to PNG before a generated receipt is written. Consumers must not report a placeholder receipt as a real image-generation success. A provider result without a request id is marked generated_unverified and likewise cannot satisfy verified E2E provenance. Non-zero exit on any hard error; stderr carries the diagnostic.

Image generation is a paid, non-idempotent operation. The script never submits a second paid request automatically after any provider response, timeout, lost connection, malformed response, policy refusal, or other ambiguous outcome. The retry/fallback inputs remain accepted for compatibility, but can advance only from an explicitly classified pre-submit failure.

Cost / latency

  • 1K ~ 4-8s
  • 2K ~ 8-15s
  • 4K ~ 20-40s
  • Use 1K for draft, 4K only when the prompt is locked.

Common failures

  • no OpenRouter API key found → for direct CLI use, set OPENROUTER_API_KEY or pass --api-key; for a meta-skill run, configure the Gateway's OpenRouter provider connection and retry from that Gateway.
  • OpenRouter returned no image → the model rejected the prompt (content moderation or unsupported request). Rewrite prompt; check IP-safety rules in ai-video-script.
  • OpenRouter HTTP 402 / 429 → out of credits / rate-limited.

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?

Generate or edit a single image via OpenRouter (google/gemini-3.1-flash-image-preview by default). Accepts a text prompt and optional --input-image for image-to-image editing. Trigger when the user asks for an AI image, illustration, concept art, product render, or wants to modify an existing 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/TokenRhythm/opensquilla/tree/main/src/opensquilla/skills/bundled/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 TokenRhythm under the Apache-2.0 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 👇