nano-banana-pro

Generate or edit images via Google's Nano Banana Pro API with configurable resolution.

281|25|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/intellectronica/agent-skills --skill nano-banana-pro-intellectronica
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nano-banana-pro
Source: https://github.com/intellectronica/agent-skills/tree/main/plugins/nano-banana-pro/skills
Command: npx skills add https://github.com/intellectronica/agent-skills --skill nano-banana-pro-intellectronica

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

Core Features & Use Cases

  • Generate new images from descriptive prompts using Gemini 3 Pro Image capabilities.
  • Edit existing images by applying editing instructions or changing specific aspects like background, style, or colors.
  • Use-case example: If a user wants a 4K portfolio image, generate an original scene or modify an existing asset to fit branding.

Quick Start

Use the Gemini 3 Pro Image API to generate a new image from a prompt or to edit an existing image based on user instructions.

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 from text prompts using the Gemini 3 Pro API?

To generate images from text prompts using the Gemini 3 Pro API, provide a descriptive prompt and specify your desired resolution. You can configure the output to 1K, 2K, or 4K, and the generated image is saved directly to your current directory.

Can I edit an existing image file with Gemini 3 Pro?

Yes, you can edit an existing image file with Gemini 3 Pro by passing the file directly via the --input-image parameter. You should not read the image file first; simply provide the file path along with your specific editing instructions to modify aspects like background or style.

Do I need an API key to use the Gemini 3 Pro image generation API?

Yes, you need an API key to use the Gemini 3 Pro image generation API. You must provide it either by passing the --api-key flag in your command or by setting the GEMINI_API_KEY environment variable in your operating system.

What resolutions are supported for text-to-image generation?

Text-to-image generation supports configurable resolutions of 1K, 2K, or 4K for high-resolution outputs. The default resolution is set to 1K, but you can explicitly specify higher resolutions like 4K for detailed portfolio images or branding assets.

What is the best way to modify the background of an existing image?

The best way to modify the background of an existing image is to use image-to-image editing with Gemini 3 Pro. Provide the original file through the --input-image parameter and apply specific text instructions to replace or alter the background directly without reading the file beforehand.