nano-banana-2

Generate and edit images with Google Gemini 3.1 Flash Image Preview via the inference.sh CLI.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mthang1801/go-domain-driven-design --skill nano-banana-2-mthang1801
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nano-banana-2
Source: https://github.com/mthang1801/go-domain-driven-design/tree/main/.claude/skills/nano-banana-2
Command: npx skills add https://github.com/mthang1801/go-domain-driven-design --skill nano-banana-2-mthang1801

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate images and edit visuals using Google Gemini 3.1 Flash Image Preview via the inference.sh CLI.

Core Features & Use Cases

  • Text-to-image generation
  • Image editing using input references
  • Support for multiple input images (up to 14) and grounding via Google Search
  • Triggered by phrases like nano banana 2, nanobanana 2, gemini 3.1 flash image, gemini 3 1 flash image preview, google image generation

Quick Start

Run the inference.sh CLI to generate or edit images with Gemini 3.1 Flash Image Preview.

Frequently Asked Questions about nano-banana-2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate images using Google Gemini 3.1 Flash via CLI?

Generate images using Google Gemini 3.1 Flash by executing the inference.sh CLI with your creative text prompts to produce visual assets directly from the command line.

Can I edit multiple images at once with Gemini 3.1 Flash Image Preview?

Yes, Gemini 3.1 Flash Image Preview supports multi-image editing, allowing you to input and edit up to 14 images simultaneously via the inference.sh CLI.

Does the Gemini 3.1 Flash CLI support Google search grounding for image generation?

Yes, the inference.sh CLI supports optional Google search grounding to provide contextual accuracy when generating or editing images with Gemini 3.1 Flash.

How do I set aspect ratio and resolution options for CLI image generation?

The inference.sh CLI provides configurable aspect ratio and resolution options for text-to-image generation, allowing you to customize output dimensions through command line parameters.

What is the best way to use input references for image editing in the CLI?

Use input references for image editing by passing image files through the inference.sh CLI, which leverages Gemini 3.1 Flash Image Preview to apply modifications based on your provided visuals.

Are there limitations when generating images with Gemini 3.1 Flash Image Preview?

Limitations include a maximum of 14 input images for multi-image editing tasks and dependency on the inference.sh CLI environment to execute Gemini 3.1 Flash Image Preview commands.