nano-banana-2
Generate images with Google Gemini 3.1 Flash Image Preview (Nano Banana 2) via inference.sh CLI. Capabilities: text-to-image, image editing, multi-image input (up to 14 images), Google Search grounding. Triggers: nano banana 2, nanobanana 2, gemini 3.1 flash image, gemini 3 1 flash image preview, google image generation
USE THIS SKILL
DOWNLOAD THE APP TO INSTALL AND USE /nano-banana-2 ON YOUR DEVICE
Scan to open on your device
Opens skill content in Expo Go
COMMAND
/nano-banana-2
CATEGORY
Design
REPOSITORY
inf-sh/skills
COMMIT
—
SKILL PROMPT
---
name: nano-banana-2
description: "Generate images with Google Gemini 3.1 Flash Image Preview (Nano Banana 2) via inference.sh CLI. Capabilities: text-to-image, image editing, multi-image input (up to 14 images), Google Search grounding. Triggers: nano banana 2, nanobanana 2, gemini 3.1 flash image, gemini 3 1 flash image preview, google image generation"
allowed-tools: Bash(infsh *)
---
# Nano Banana 2 - Gemini 3.1 Flash Image Preview
Generate images with Google Gemini 3.1 Flash Image Preview via [inference.sh](https://inference.sh) CLI.
## Quick Start
> Requires inference.sh CLI (`infsh`). Get installation instructions: `npx skills add inference-sh/skills@agent-tools`
```bash
infsh login
infsh app run google/gemini-3-1-flash-image-preview --input '{"prompt": "a banana in space, photorealistic"}'
```
## Examples
### Basic Text-to-Image
```bash
infsh app run google/gemini-3-1-flash-image-preview --input '{
"prompt": "A futuristic cityscape at sunset with flying cars"
}'
```
### Multiple Images
```bash
infsh app run google/gemini-3-1-flash-image-preview --input '{
"prompt": "Minimalist logo design for a coffee shop",
"num_images": 4
}'
```
### Custom Aspect Ratio
```bash
infsh app run google/gemini-3-1-flash-image-preview --input '{
"prompt": "Panoramic mountain landscape with northern lights",
"aspect_ratio": "16:9"
}'
```
### Image Editing (with input images)
```bash
infsh app run google/gemini-3-1-flash-image-preview --input '{
"prompt": "Add a rainbow in the sky",
"images": ["https://example.com/landscape.jpg"]
}'
```
### High Resolution (4K)
```bash
infsh app run google/gemini-3-1-flash-image-preview --input '{
"prompt": "Detailed illustration of a medieval castle",
"resolution": "4K"
}'
```
### With Google Search Grounding
```bash
infsh app run google/gemini-3-1-flash-image-preview --input '{
"prompt": "Current weather in Tokyo visualized as an artistic scene",
"enable_google_search": true
}'
```
## Input Options
|
[... prompt truncated for preview ...]