smithery/cnemri

nano-banana-build

Generate and edit high-quality images using Gemini 2.5 Flash Image and Gemini 3 Pro Image (Nano Banana). Supports Text-to-Image, Style Transfer, Virtual Try-On, and Character Consistency.

Installation

$ npx skills add smithery/cnemri --skill nano-banana-build

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/cnemri.

npx skills add smithery/cnemri

Browse all from smithery/cnemri

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,134 B
  • docs SUMMARY.md 212 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Nano Banana Image Generation Skill

Use this skill to generate and edit images using the google-genai Python SDK with Gemini's specialized image models (Nano Banana).

Quick Start Setup

from google import genai
from google.genai import types
from PIL import Image
import io

client = genai.Client()

Reference Materials

  • [Model Capabilities](references/model_capabilities.md): Comparison of Gemini 2.5 vs 3 Pro, resolutions, and token costs.
  • [Image Generation](references/image_generation.md): Text-to-Image, Interleaved Text/Image.
  • [Image Editing](references/image_editing.md): Subject Customization, Style Transfer, Multi-turn Editing.
  • [Thinking Process](references/thinking_process.md): Understanding thoughts and signatures (Gemini 3 Pro).
  • [Recipes](references/recipes.md): Extensive collection of examples (Logos, Stickers, Mockups, Comics, etc.).
  • [Source Code](references/source_code.md): Deep inspection of SDK internals.

Available Models

  • gemini-2.5-flash-image (Nano Banana): Fast, high-quality generation and editing. Best for most use cases.
  • gemini-3-pro-image-preview (Nano Banana Pro): Highest fidelity, supports 2K and 4K resolution, complex prompt adherence, and grounding.

Common Workflows

1. Fast Generation

response = client.models.generate_content(
    model='gemini-2.5-flash-image',
    contents='A cute robot eating a banana',
    config=types.GenerateContentConfig(
        response_modalities=['IMAGE']
    )
)

2. High-Quality Editing

response = client.models.generate_content(
    model='gemini-3-pro-image-preview',
    contents=[
        types.Part.from_uri(file_uri='gs://.../shoe.jpg', mime_type='image/jpeg'),
        "Change the color of the shoe to neon green."
    ],
    config=types.GenerateContentConfig(response_modalities=['IMAGE'])
)