generate-image-nb

Generate and edit images with the Gemini Nano Banana API.

Updated Jan 27, 2026
One-click install
npx skills add https://github.com/PouriaRouzrokh/pr-claude-plugins --skill generate-image-nb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-image-nb
Source: https://github.com/PouriaRouzrokh/pr-claude-plugins/tree/main/pr/skills/generate-image-nb
Command: npx skills add https://github.com/PouriaRouzrokh/pr-claude-plugins --skill generate-image-nb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @google/genai, google-genai, Pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill streamlines the creation and editing of images by leveraging Gemini Nano Banana, consolidating generation and editing tasks into a single workflow.

Core Features & Use Cases

  • Text-to-image generation and image editing via the Gemini Nano Banana models (flash and pro) with optional image inputs and aspect-ratio controls.
  • Grounding and customization: supports Google Search grounding (pro model) and adjustable aspect ratios, image sizes, and optional input images for editing.
  • Use Case: Ideal for creating blog headers, thumbnails, logos, and infographics with iterative refinement.

Quick Start

Provide a clear prompt like "Create a modern blog header with a purple gradient background" to begin.

Frequently Asked Questions about generate-image-nb

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

FAQPage Schema
How do I generate images with Gemini using text prompts?

You can generate images with Gemini by providing a text prompt to direct the visual creation, such as a modern blog header with a specific background. The skill uses the Gemini Nano Banana API to translate your text descriptions into generated visuals.

Can I edit an existing image using the Gemini Nano Banana API?

Yes, image editing is supported by accepting optional input images alongside your text prompt. This allows you to modify existing pictures and apply iterative refinements directly through the Gemini Nano Banana API workflow.

Does this image generation skill support both Python and Node environments?

Yes, the image generation skill supports both Python and Node environments for development. It relies on Google GenAI dependencies to function properly within your preferred coding setup.

How do I control aspect ratio and size when generating images with Google GenAI?

You can control aspect ratio and image size by using the configurable options exposed during image generation. These adjustable parameters allow you to tailor the output dimensions for specific use cases like thumbnails or infographics.

What is Google Search grounding in the Gemini pro model for image generation?

Google Search grounding in the Gemini pro model enhances image generation by anchoring prompts with real-time web search results. This optional feature helps produce more accurate and contextually relevant visuals.

What types of visuals can I create using text-to-image generation?

You can create various visuals such as blog headers, thumbnails, logos, and infographics using text-to-image generation. The skill streamlines creating these visual assets by leveraging the Gemini Nano Banana models.