nano-banana-2
Installation
Summary
Text-to-image and image editing with Google Gemini 3.1 Flash, supporting up to 14 input images and real-time search grounding.
- Generates single or multiple images with customizable aspect ratios (1:1, 16:9, 9:16, 4:3, 3:4) and resolutions up to 4K
- Edits existing images by accepting up to 14 input images (JPEG, PNG, WebP) alongside a text prompt
- Enables Google Search grounding to incorporate real-time information like weather and news into generated imagery
- Accessible via inference.sh CLI (
infsh) with Python SDK support for streaming live progress updates
SKILL.md
Install the belt CLI skill:
npx skills add belt-sh/cli
Nano Banana 2 - Gemini 3.1 Flash Image Preview
Generate images with Google Gemini 3.1 Flash Image Preview via inference.sh CLI.
Quick Start
Requires inference.sh CLI (
belt). Install instructions
belt login
belt app run google/gemini-3-1-flash-image-preview --input '{"prompt": "a banana in space, photorealistic"}'
Examples
Related skills