nano-banana-skill

Generate and edit images via Google Gemini's Nano Banana API using a CLI workflow.

Updated Dec 17, 2025
One-click install
npx skills add https://github.com/noobmastercn/claude-skills --skill nano-banana-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nano-banana-skill
Source: https://github.com/noobmastercn/claude-skills/tree/main/nano-banana-skill
Command: npx skills add https://github.com/noobmastercn/claude-skills --skill nano-banana-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, jq, base64, realpath, and includes scripts (resource) components.

What problem does it solve?

Generates and edits images efficiently using Google Gemini's Nano Banana API via the undyapi.com proxy, enabling quick visual content creation without complex local model setup.

Core Features & Use Cases

  • Text-to-image generation with the Flash and Pro Gemini models and optional aspect-ratio control.
  • Image editing and style transfer by describing desired changes.
  • End-to-end CLI workflow with automated output saving and endpoint failover.

Quick Start

To start, run a prompt-driven image generation or edit flow using the nano-banana-skill script.

Frequently Asked Questions about nano-banana-skill

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

FAQPage Schema
How do I generate images using the Gemini API via a CLI workflow?

Generate images using the Gemini API by executing script requests with curl, parsing responses with jq, and saving base64 outputs locally. This CLI workflow supports Flash and Pro models for text-to-image generation without local setup.

Can I edit existing images and apply style transfers with the Gemini API?

Edit images and apply style transfers by describing desired changes in the prompt. The script sends the original image and text instructions to the Gemini API, returning modified visual content for design exploration or marketing assets.

Do I need a specific API key and command line tools to use this image generation script?

You need a Nano Banana API key and CLI tools including curl, jq, base64, and realpath. These utilities construct API requests, handle responses, and manage file paths for saving generated outputs.

What is the best way to automate product visual creation without complex local model setup?

Automate product visual creation by calling the Nano Banana API proxy through command line scripts. It provides endpoint failover and aspect ratio control, avoiding complex local model configurations.

Does the image generation script support custom aspect ratios and model choices?

The image generation script supports custom aspect ratios and model choices using Flash and Pro Gemini models. You specify these parameters in the API request to control output dimensions and generation quality.

Why does the CLI image generation fail during endpoint connection or response parsing?

CLI image generation fails if the API key is invalid or network issues occur, but the script includes endpoint failover. Response parsing fails if jq is missing or returned base64 data is corrupted.