nano-banana-pro

Automate image generation and editing via Google's Nano Banana 2 API.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/Khang5687/agent-scripts --skill nano-banana-pro-khang5687
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nano-banana-pro
Source: https://github.com/Khang5687/agent-scripts/tree/main/skills/nano-banana-pro
Command: npx skills add https://github.com/Khang5687/agent-scripts --skill nano-banana-pro-khang5687

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-genai, pillow, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the creation and editing of images using Google's Nano Banana 2 API, offering a convenient way to generate or modify images without manual intervention.

Core Features & Use Cases

  • Image Generation: Create new images with text/image input and various workflows.
  • Image Editing: Edit existing images using specific editing instructions.
  • Use Case: Ideal for designers and artists looking to quickly generate or modify visual content for social media, presentations, or other creative projects.

Quick Start

Generate a new image with a description: Generate an image of a futuristic cityscape and save it as 'futuristic-city.png' at 4K resolution.

Frequently Asked Questions about nano-banana-pro

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

FAQPage Schema
How do I automate image generation and editing with Python scripting?

You can automate image generation and editing using Python scripting by integrating the Google Nano Banana 2 API. This allows you to programmatically handle text and image inputs to generate or modify visual content without manual intervention.

Can I generate 4K resolution images using the Nano Banana 2 API?

Yes, the Nano Banana 2 API supports generating and editing images across various resolutions from 512 pixels up to 4K. You can explicitly specify your desired resolution when providing the text or image input instructions.

Do I need a Google API key to edit existing images with Python?

Yes, you need a Google Nano Banana 2 API key to edit existing images. The Skill uses this key to authenticate your requests when sending editing instructions and image data through the Python scripts.

What is the best way to modify visual content for social media using an API?

The best way to modify visual content for social media is by using an API like Nano Banana 2 to automate image editing. This streamlines creating and updating visual assets quickly by processing specific editing instructions programmatically.

Does the Nano Banana 2 API work with Pillow for image processing workflows?

Yes, the Nano Banana 2 API works alongside Pillow for image processing workflows. While the API handles the core image generation and editing, Pillow acts as a dependency to support handling and managing the image assets.

What are the limitations of using Python scripts for automated image generation?

Limitations of using Python scripts for automated image generation include dependency on the Google Nano Banana 2 API for processing and the requirement of managing API keys. You must also ensure your Python environment has the necessary libraries installed.