Nano Banana OpenRouter Skill

Generate images using Google's Nano Banana (Gemini 2.5 Flash Image) models via OpenRouter API.

modbender Updated 12 repo stars

File contents

Nano Banana OpenRouter Skill

Generate images using Google's Nano Banana (Gemini 2.5 Flash Image) models via OpenRouter API.

Configuration

Add the following to your openclaw.json (or set the env var OPENROUTER_API_KEY):

{
  "skills": {
    "entries": {
      "nano-banana-openrouter": {
        "enabled": true,
        "config": {
          "apiKey": "sk-or-v1-..."  
        },
        "env": {
          "OPENROUTER_API_KEY": "sk-or-v1-..."
        }
      }
    }
  }
}

Usage

Tool Name: nano_banana_generate

Examples:

  • "Generate a cyberpunk dragon using Nano Banana."
  • "Draw a landscape in 16:9 aspect ratio."
  • "Use the preview model to generate a logo for a coffee shop."

Models

  • Default: google/gemini-2.0-flash-exp:free (Free tier, robust text/code, experimental image support)
  • High Quality: google/gemini-2.5-flash-image-preview (The specific "Nano Banana" image model, paid/credits required)

Notes

  • OpenRouter requires the HTTP-Referer and X-Title headers (included in this skill).
  • modalities: ["image"] is sent automatically.

modbender/skill-library-mcp/tree/main/data/nano-banana-openrouter commit a69cc63ad8

Frequently asked questions

npx skillmds@latest add modbender/nano-banana-openrouter-skill