
Nano Banana 2
This wraps Google's Gemini 3.1 Flash Image Preview model through the inference.sh CLI, giving you text-to-image generation, image editing with up to 14 input images, and Google Search grounding for real-time info. It's the sequel to the original nano-banana skill, updated for the newer Gemini model. You get options for aspect ratios, resolution up to 4K, and multi-image outputs. The grounding feature is interesting if you want current weather or news data baked into generated images. Requires the belt CLI and an inference.sh account, but once set up it's just bash commands or Python SDK calls. Good pick if you're already in the inference.sh ecosystem and want quick access to Google's image models without dealing with their API directly.
- skills.sh installs
- 1.1K
- GitHub stars
- 804
- last updated
- Aug 21, 2026
Install
$ npx -y skills add inference-sh/skills --skill nano-banana-2 --agent claude-codeInstalls into .claude/skills of the current project.
Files
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 --input '{"prompt": "a banana in space, photorealistic"}'
Examples
Basic Text-to-Image
belt app run google/gemini-3-1-flash-image --input '{
"prompt": "A futuristic cityscape at sunset with flying cars"
}'
Multiple Images
belt app run google/gemini-3-1-flash-image --input '{
"prompt": "Minimalist logo design for a coffee shop",
"num_images": 4
}'
Custom Aspect Ratio
belt app run google/gemini-3-1-flash-image --input '{
"prompt": "Panoramic mountain landscape with northern lights",
"aspect_ratio": "16:9"
}'
Image Editing (with input images)
Sponsors
Details
- Repository
- github.com/inference-sh/skills
- Categories
- CLI & Terminal, Generative Media
- First seen
- Jun 3, 2026
More from inference-sh/skills
All 80- Text To Speech1.1K
- Ai Voice Cloning1.1K
- Background Removal1.1K
- Ai Product Photography1.1K
- Image Upscaling1.1K
- Ai Music Generation1.1K
- Python Sdk1.1K
- Javascript Sdk1.1K
- Speech To Text1.1K
- Video Prompting Guide1.1K
- Google Veo1.1K
- Data Visualization1.1K
- Customer Persona1.1K
- Seo Content Brief1.1K
- Flux Image1.1K
- Logo Design Guide1.1K
- Ai Automation Workflows1.1K
- Chat Ui1.1K
- Ai Marketing Videos1.1K
- Ai Content Pipeline1.1K
- Prompt Engineering1.1K
- Case Study Writing1.1K
- Llm Models1.1K
- Widgets Ui1.1K