This hooks you into Google's Gemini 3 Pro Image API, the production-grade version of their image generator. It handles the full flow: API setup, basic generation, iterative editing through chat sessions, and character consistency across multiple images. The code examples cover Python, TypeScript, and a Next.js API route, plus configuration for aspect ratios and image sizes up to 4K. Honestly, the text rendering and Google Search grounding features are what make this interesting compared to typical image models. If you're building anything that needs reliable text in images or factually grounded visuals, this is worth the higher cost over the Flash version.

skills.sh installs
189
GitHub stars
296
last updated
Aug 21, 2026

Install

$ npx -y skills add hoodini/ai-agents-skills --skill nano-banana-pro --agent claude-code

Installs into .claude/skills of the current project.

Files

Nano Banana Pro (Gemini 3 Pro Image)

Generate high-quality images with Google's Gemini 3 Pro Image API.

Overview

Nano Banana Pro is the marketing name for Gemini 3 Pro Image (gemini-3-pro-image-preview), Google's state-of-the-art image generation and editing model built on Gemini 3 Pro.

Quick Start

Get API Key

  1. Go to Google AI Studio
  2. Click "Get API Key"
  3. Store securely as environment variable

Basic Image Generation (Python)

from google import genai
from google.genai import types

client = genai.Client(api_key="YOUR_GEMINI_API_KEY")

response = client.models.generate_content(
    model="gemini-3-pro-image-preview",
    contents="A serene Japanese garden with cherry blossoms and a koi pond",
    config=types.GenerateContentConfig(
        response_modalities=['TEXT', 'IMAGE']
    )
)

Sponsors

Details

Repository
github.com/hoodini/ai-agents-skills
Categories
Backend & APIs, AI & Agent Building
First seen
Jun 3, 2026

More from hoodini/ai-agents-skills

All 37
1aiskillstore avatarhook-developmentaiskillstore/marketplaceThis skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", 188skills.sh installs
2bobmatnyc avatarmcp-builderbobmatnyc/claude-mpm-skillsMCP (Model Context Protocol) server build and evaluation guide, including local conventions for tool surfaces, config, and testing188skills.sh installs
3charleswiltgen avataraxiom-swiftui-layout-refcharleswiltgen/axiomReference — Complete SwiftUI adaptive layout API guide covering ViewThatFits, AnyLayout, Layout protocol, onGeometryChange, GeometryReader, size classes, and iO187skills.sh installs
40xsardius avatarviem0xsardius/onchain-typescript-skillsTypeScript patterns for low-level EVM blockchain interactions using Viem. Use when writing Node scripts, CLI tools, or backend services that read/write to Ether186skills.sh installs
5charleswiltgen avataraxiom-extensions-widgets-refcharleswiltgen/axiomUse when implementing widgets, Live Activities, Control Center controls, or app extensions - comprehensive API reference for WidgetKit, ActivityKit, App Groups,185skills.sh installs
6chandima avatarweatherchandima/agent-skillsGet current weather and forecasts (no API key required).184skills.sh installs