SkillsReviewed · glebis

Nano Banana (glebis/claude-skills)

Nano-banana is a Gemini image-generation skill for creators and developers, and it requires an API key and local command-line setup. Its bundled Python tool supports image editing, style references, reusable visual presets, platform sizing and parallel variants. Prompts and supplied images go to Google's API. Output quality, live model availability and current API costs are unassessed.

Researched 25 Nov 2026

In short.

Nano-banana is a Gemini image-generation skill for creators and developers, and it requires an API key and local command-line setup. It combines eight style templates, nine platform sizes, editing and reference images, parallel variants, contact sheets and local history. The captured default model is gemini-3.1-flash-image-preview. Important details emerge from the code: initialization checks key accessibility without validating it, dry runs still require a key, and --no-metadata leaves local history enabled. Runtime behavior, image quality and API costs have not been tested or established.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes all eight captured files under nano-banana: SKILL.md, .claude-plugin/plugin.json, scripts/nano_banana.py, scripts/generate_image.sh, presets.yaml, platforms.yaml, references/api_reference.md and secrets.enc.yaml. The repository-level LICENSE supplies the related notice. Other repository skills, repository-wide installation material and any parent-level secrets file are outside the supplied scope. Original-source links and the captured commit are preserved. No execution, API testing or generated-image inspection occurred; live compatibility, quality, performance, prices, quotas and provider terms remain unassessed.

The overview

Identity

Nano-banana is a skill by Gleb Kalinin in the glebis/claude-skills repository. It includes assistant instructions, a Claude plugin manifest, a Python command-line tool, a Bash compatibility wrapper, configuration templates and an API reference.

The original resource is available at [https://github.com/glebis/claude-skills/tree/main/nano-banana]. The image generation comes from Google's hosted Gemini models; the skill supplies instructions and supporting automation.

Assessment

The strongest fit is recurring image work where reusable styles, standard output dimensions and organized variations save manual effort. The implementation provides concrete support for those tasks, including configurable templates and a contact sheet for comparing variants.

Adoption requires managing a working Gemini API key and local dependencies. The supplied material does not establish successful operation, image quality, editing fidelity, text accuracy or performance. The model quality and speed descriptions are author guidance without supporting measurements.

Users

Content creators preparing thumbnails, presentation illustrations, blog images and social assets are the clearest audience. Developers can use the Python interface in scripted workflows and customize the YAML style and sizing definitions.

Beginners need enough command-line knowledge to install dependencies, supply credentials and locate output files. The skill includes an onboarding wizard and examples, but the supplied files do not describe a graphical application or establish a host-specific plugin installation procedure.

Capabilities

The CLI supports text-to-image generation, natural-language editing of an existing image and repeatable --reference arguments for supplying aesthetic examples. Its eight styles are editorial, blueprint, ink, risograph, wireframe, constellation, brutalist and grain. These are editable prompt templates.

Nine sizing presets cover YouTube, YouTube Shorts, slides, blog previews, X, square posts, LinkedIn carousels, stories and Pinterest. For example, YouTube targets 1280×720, slides 1920×1080 and LinkedIn carousels 1080×1350.

--n repeats the same prompt with up to four concurrent generation jobs and creates a contact sheet from successful outputs. Different prompts require separate invocations. Other features include project folders, JSON sidecars, generation history, an again command and a prompt preview through --dry-run.

Using it

Requirements

Core requirements are Python 3, PyYAML, network access and a working Gemini API key. The implementation reads GEMINI_API_KEY from the environment first, then attempts SOPS decryption of a local or parent-level secrets.enc.yaml.

SOPS and an appropriate decryption identity are needed for the encrypted-key route. The bundled secrets file contains an encrypted Gemini API key and an age public recipient, but no plaintext API key or private decryption identity. ImageMagick's magick command is required for platform cropping and contact sheets; the plain single-image path does not invoke it.

Exact supported Python versions and operating systems are not established. The setup guidance uses Homebrew installation suggestions and includes macOS/zsh examples.

Mechanism

For ordinary generation, the CLI substitutes the subject into a selected YAML prompt template. Edit mode uses the edit instruction directly. It sends the text and any supplied images to [https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent], authenticating through the x-goog-api-key header.

Edit and reference images are both packaged as base64-encoded inlineData in the same request. The code saves the first inline image found in the first response candidate. Platform dimensions are applied afterward through ImageMagick resizing and center-cropping; those dimensions are not included in the generation request.

The retry loop allows four total attempts, with waits of 2, 4 and 8 seconds between attempts. Retryable conditions include HTTP 429, selected server errors, network errors and some responses without an image. An entirely empty candidate list is treated as permanent failure.

Setup

Obtain the complete folder from the original source. The captured revision is available at [https://github.com/glebis/claude-skills/tree/4d37d3b0af1f98cb4ac820d9abbce95e38e909fb/nano-banana]. Preserve its relative layout so the Python script can find presets.yaml and platforms.yaml. SKILL.md alone does not provide the complete tool.

Install PyYAML, add ImageMagick for cropping or contact sheets, and supply your own GEMINI_API_KEY. From the nano-banana directory, python3 scripts/nano_banana.py init opens the configuration wizard and saves defaults to ~/.config/nano-banana/config.yaml.

Initialization checks whether tools and an accessible key exist; it does not send an API request to validate the key or install missing tools. On first setup, leaving the platform blank avoids a default crop. The literal value none is not a defined platform preset.

Example

An illustrative command from inside the nano-banana directory is: python3 scripts/nano_banana.py --preset editorial --platform youtube --n 4 "interconnected nodes" ./nodes.png

If all four requests succeed, the code is designed to save nodes-01.png through nodes-04.png, corresponding JSON sidecars and nodes-contact.png. Each generated image is resized and center-cropped to 1280×720. The editorial template requests thin gray and orange line art on black, with no text or labels. These are expected behaviors from the source; no images were generated or inspected.

Assessment & evidence

Limitations

Seven of the eight style templates explicitly request no text. Those templates need adjustment for lettering-heavy assets. Platform fitting uses center-cropping, which can remove important content near image edges.

Input packaging identifies .png files as PNG and labels every other extension as JPEG. Other formats are not handled explicitly. An edit or reference path is checked for existence, without explicit image-format validation.

--no-metadata disables image-adjacent JSON sidecars only. Full prompts and file paths still appear in ~/.config/nano-banana/history.jsonl and ~/.config/nano-banana/last.json. Prompts and supplied images are also transmitted to Google's API.

An explicit output path takes precedence over project-based folder organization. A multi-variant request can finish with fewer images than requested when some jobs fail. The dry-run path still requires an accessible API key, even though it makes no generation request.

Reasoning

The practical value is the automation around repeated image requests: shared prompt templates, named dimensions, capped parallelism, comparison sheets and saved settings. These features fit a creator producing several assets with a common visual direction or a developer incorporating image requests into scripts.

The architecture depends on a hosted model and retains local prompt records. Reference images and templates provide guidance, but the evidence does not establish consistent style, exact lettering or repeatable outputs. The again command submits another request using stored settings; no fixed-seed control is exposed.

Alternatives

The included API reference documents direct generateContent requests. That approach lets developers manage requests themselves, while leaving templates, cropping, batching and history to their own implementation.

Within the skill, --model pro selects gemini-3-pro-image-preview and --model flash-2.5 selects gemini-2.5-flash-image. The author's speed and quality descriptions are not supported by comparative results. The Bash wrapper offers legacy positional usage through the same Python implementation. No independent comparison with other image tools is supplied.

Evidence

The source material comprises SKILL.md, the plugin manifest, Python CLI, Bash wrapper, style presets, platform presets, API reference, encrypted configuration file and repository LICENSE. The Python implementation establishes request construction, key lookup, retry behavior, output handling and local logging; the YAML files establish the actual preset definitions.

The supplied folder contains no generated examples, benchmark results, test suite or runtime logs. No code was executed and no API requests were made. Successful authentication, host integration, image quality and operational reliability remain unassessed.

Access & freshness

Costs

No software purchase price or current Google API pricing is established by the supplied files. The MIT license permits reuse, but it does not establish the cost of running Google's service.

Each variant makes a separate generation request, and retries can add requests. Charges per request, failed-request billing, quotas and eligibility for free use are unknown. The API reference mentions a free tier and an approximate rate limit without an authoritative pricing or quota source, so those statements do not establish current terms.

Rights

The repository LICENSE is MIT, copyright 2025-2026 Gleb Kalinin, and the plugin manifest also identifies MIT. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. The software is supplied without warranty.

That license covers the software and associated documentation. It does not establish Google's service terms, rights in generated images or permission to use reference and edit images. Those matters are not resolved by the supplied evidence.

Freshness

The supplied snapshot is commit 4d37d3b0af1f98cb4ac820d9abbce95e38e909fb, captured on 17 November 2026. The plugin manifest does not specify a release version. Later upstream changes and current Google model availability are unknown.

Documentation is uneven within this snapshot. SKILL.md and the code identify gemini-3.1-flash-image-preview as the default, while the API reference lists only the older Flash and Pro choices. The guide describes four retries with a possible 16-second delay and retryable empty candidates; the code instead makes four total attempts, stops its waits at 8 seconds and treats an empty candidate list as permanent failure.

Actions

Obtain the complete original folder, supply your own key and confirm the desired model's current availability, prices and quotas with Google. With a key configured, use --dry-run to inspect the composed prompt before requesting an image.

For initial use, request a small batch and inspect lettering, crop boundaries and the number of saved outputs. Omit an explicit output path when you want project-based folders. Review the local history behavior before using sensitive prompts, and retain the MIT notices when sharing the software or instructions.

Evidence for this report

LICENSEnotice · checked 2026-11-17
nano-banana/.claude-plugin/plugin.jsonselected · checked 2026-11-17
nano-banana/SKILL.mdselected · checked 2026-11-17
nano-banana/platforms.yamlselected · checked 2026-11-17
nano-banana/presets.yamlselected · checked 2026-11-17
nano-banana/references/api_reference.mdselected · checked 2026-11-17
nano-banana/scripts/generate_image.shselected · checked 2026-11-17
nano-banana/scripts/nano_banana.pyselected · checked 2026-11-17
nano-banana/secrets.enc.yamlselected · checked 2026-11-17