nano-banana-pro

Generate and edit images via Gemini 3 Pro Image API at 1K/2K/4K resolutions.

8|1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Tugoukezhang/workbuddy-skills --skill nano-banana-pro-tugoukezhang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nano-banana-pro
Source: https://github.com/Tugoukezhang/workbuddy-skills/tree/main/skills/AI%E7%BB%98%E5%9B%BE
Command: npx skills add https://github.com/Tugoukezhang/workbuddy-skills --skill nano-banana-pro-tugoukezhang

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?

Generate new images or edit existing ones using Nano Banana Pro (Gemini 3 Pro Image). Supports text-to-image and image-to-image workflows at 1K/2K/4K resolutions, with optional input-image editing.

Core Features & Use Cases

  • Text-to-image and image-to-image generation with support for 1K, 2K, and 4K resolutions.
  • Edit existing images by providing an input image and an editing prompt.
  • Save generated images as PNG to the current working directory and return the full path.

Quick Start

Run the script with a prompt to generate a new image or provide an input image plus editing instructions to modify an existing 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 high-resolution images using the Gemini API?

To generate high-resolution images, use this Skill to send text prompts or input images to the Gemini 3 Pro Image API. It supports text-to-image and image-to-image workflows at 1K, 2K, and 4K resolutions, saving outputs as PNG files.

Do I need a Gemini API key to edit existing images with AI?

Yes, editing existing images requires a Gemini API key, which you must provide via the --api-key command line argument or the GEMINI_API_KEY environment variable. The API key authenticates your requests to the Gemini 3 Pro Image service.

Can I control the output resolution when generating images from text prompts?

Yes, you can control the output resolution when generating images from text prompts. The Skill explicitly supports 1K, 2K, and 4K resolution settings, allowing you to match the image quality to your specific creative workflow requirements.

What is the best way to modify an existing image using an AI prompt?

The best way to modify an existing image is to provide the input image alongside an editing prompt. The Skill processes both inputs through the Gemini 3 Pro Image API, applies the requested changes, and saves the refined visual as a PNG file.

What file formats are supported for AI-assisted image generation and saving?

AI-assisted image generation and saving support PNG file format for outputs. The Skill saves the generated or edited high-resolution images directly to your current working directory and returns the full file path.

Does this image generation workflow require installing specific Python dependencies?

Yes, this workflow requires installing specific Python dependencies, namely the google-genai and pillow libraries. These packages handle the Gemini API communication and image processing required for the generation and editing tasks.