nano-banana-pro

Generate or edit images via CLI using Gemini 3 Pro Image with configurable resolutions.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/joeleung0122/testing --skill nano-banana-pro-joeleung0122
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nano-banana-pro
Source: https://github.com/joeleung0122/testing/tree/main/skills/nano-banana-pro
Command: npx skills add https://github.com/joeleung0122/testing --skill nano-banana-pro-joeleung0122

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-genai>=1.0.0, pillow>=10.0.0, and includes scripts (resource) components.

What problem does it solve?

Nano Banana Pro provides a straightforward way to generate or edit images using Google's Gemini 3 Pro Image API via a CLI script, reducing manual image creation effort.

Core Features & Use Cases

  • Generate images from natural language prompts with configurable resolutions (1K, 2K, 4K).
  • Edit existing images by supplying an input image and a prompt to guide modifications.
  • Manage API keys securely via GEMINI_API_KEY env var or --api-key argument and leverage the uv tooling for setup.

Quick Start

Invoke the generate_image.py script with a prompt and an output filename to create an image.

Frequently Asked Questions about nano-banana-pro

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

FAQPage Schema
How do I generate images using the Gemini Pro API from a Python CLI script?

Generate images using the Gemini Pro API from a Python CLI script by executing the generate_image.py file with a natural language prompt and an output filename. The skill processes the text prompt to produce images at 1K, 2K, or 4K resolutions.

Can I edit existing images with Gemini Pro through a command line interface?

Edit existing images with Gemini Pro through a command line interface by supplying an input image file alongside a text prompt. The script uses the google-genai library and Pillow to process and apply modifications based on your prompt.

Do I need a GEMINI_API_KEY to run the Python image generation script?

A GEMINI_API_KEY is required to run the Python image generation script. You can provide the API key securely either by setting the GEMINI_API_KEY environment variable or by passing it directly using the --api-key argument during execution.

What is the best way to automate image generation tasks locally with Gemini 3 Pro?

Automate image generation tasks locally with Gemini 3 Pro by integrating the CLI script into your automation pipelines. The tool handles configurable 1K, 2K, and 4K outputs, making it suitable for batch processing and local image generation workflows.

Does the Gemini Pro image editing CLI script support 4K resolution outputs?

The Gemini Pro image editing CLI script supports 4K resolution outputs along with 1K and 2K options. You can configure the desired output resolution when invoking the script to match your specific image generation requirements.

What Python dependencies are needed to run the Gemini Pro image generation CLI?

Python dependencies needed to run the Gemini Pro image generation CLI include the google-genai library version 1.0.0 or higher and Pillow version 10.0.0 or higher. The tool also leverages uv tooling for environment setup.