nanobanana-skill

Generate and edit AI images with Gemini models via nanobanana.py.

1|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/devkeni/Skills --skill nanobanana-skill-devkeni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nanobanana-skill
Source: https://github.com/devkeni/Skills/tree/main/media-creative/nanobanana-skill
Command: npx skills add https://github.com/devkeni/Skills --skill nanobanana-skill-devkeni

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generating and editing high-quality images is time-consuming and requires specialized tools; this Skill provides a Gemini-powered wrapper to streamline image creation, editing, and consistency across references.

Core Features & Use Cases

  • Multi-reference composition: combine several input images into a cohesive output with consistent style.
  • Grounded generation: leverage live web search grounding for up-to-date visuals and factual accuracy.
  • Flexible workflow: choose models, resolutions, and aspect ratios; save outputs, text notes, and metadata for auditing.
  • Use cases include marketing visuals, product mockups, illustration concepts, and social assets.

Quick Start

Run the nanobanana.py script with a prompt to generate or edit images, optionally providing input images for composition.

Frequently Asked Questions about nanobanana-skill

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

FAQPage Schema
How do I generate AI images using Gemini models?

To generate AI images using Gemini models, you run the provided Python script with a text prompt to produce and save high-quality visuals. This approach wraps Gemini image generation models to streamline single-prompt outputs for marketing assets and mockups.

Can I combine multiple reference images into one generated picture?

You can combine multiple reference images into one cohesive output using multi-reference composition. By providing several input images alongside your prompt, the tool merges them while maintaining a consistent style across the generated visual.

Does Gemini image generation support live web search grounding?

Gemini image generation supports live web search grounding to ensure up-to-date visuals and factual accuracy. This grounded generation feature leverages live Google search data during the creation process to produce relevant, context-aware image outputs.

Do I need a Gemini API key to run multi-reference image editing workflows?

You need a GEMINI_API_KEY configured in your environment to run multi-reference image editing workflows. The tool also requires dependencies from requirements.txt and the executable Python script present in your working directory to process prompts and save outputs.

What's the best way to create product mockups with adjustable aspect ratios?

The best way to create product mockups with adjustable aspect ratios is using a flexible Gemini-powered wrapper that lets you select models and resolutions. It saves the generated images alongside optional text notes and metadata for auditing.

Why are my Gemini generated images not saving during batch processing?

If generated images are not saving, check the debugging logs produced by the executable script. The tool outputs saved images, optional text, metadata, and logs specifically to help trace file path issues or API failures during batch generation.