lxfater

Nano Image Generator Skill — Development skill for Claude Code

Development community intermediate

A Claude Code skill for generating images using Gemini 3 Pro Preview (Nano Banana Pro).

How to install Nano Image Generator Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open lxfater/nano-image-generator-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Nano Image Generator Skill does

(110 ⭐): A Claude Code skill for generating images using Gemini 3 Pro Preview (Nano Banana Pro).

Alternatives in Development

  • Imagegen — Generate and edit images using OpenAI's Image API for projects 14.6k ★
  • Earnings Preview — 财报前预览 — 一致预期对照 + 行业观察指标 + Bull/Base/Bear 三情景 + 催化剂清单 + 预期波幅 6.6k ★
  • Nano Banana Pro Prompts Recommend Skill — Claude Code / Cursor skill to recommend from 6000+ Nano Banana Pro image prompts 1.3k ★

README

Nano Image Generator Skill

[简体中文](./README_CN.md)

A Claude Code skill for generating images using Gemini 3 Pro Preview (Nano Banana Pro).

Features

  • Text-to-image generation - Describe what you want, get an image
  • Reference image support - Style transfer, character consistency (up to 14 images)
  • Multiple aspect ratios - Square, portrait, landscape, cinematic
  • Resolution options - 1K, 2K, 4K output

Differences from [livelabs-ventures/nano-skills](https://github.com/livelabs-ventures/nano-skills)

Feature Original This Version
Reference images ❌ Not supported ✅ Up to 14 images
API key config Environment variable Direct code edit

Setup

1. Get Gemini API Key

Visit: https://aistudio.google.com/apikey

2. Configure API Key

Edit `scripts/generate_image.py`, find the `get_api_key()` function (around line 37):

def get_api_key():
    """
    Get API key.

    ⚠️ SETUP REQUIRED: Replace the placeholder below with your Gemini API key.

    Get your API key from: https://aistudio.google.com/apikey
    """
    return "YOUR_GEMINI_API_KEY_HERE"  # <-- Replace this with your API key

Replace `YOUR_GEMINI_API_KEY_HERE` with your actual API key:

    return "AIzaSy..."  # Your actual key

Installation

From Local Path

git clone https://github.com/YOUR_USERNAME/nano-image-generator-skill.git

Add to your `~/.claude/settings.json`:

{
  "skills": [
    "/path/to/nano-image-generator-skill"
  ]
}

From GitHub

claude skill add github:YOUR_USERNAME/nano-image-generator-skill

Plugin Structure

nano-image-generator-skill/
├── SKILL.md                    # Skill definition for Claude Code
├── README.md                   # This file
├── README_CN.md                # Chinese documentation
└── scripts/
    └── generate_image.py       # Image generation script (edit API key here)

Usage

...