nano-image-generator
Generate images using Nano Banana Pro (Gemini 3 Pro Preview). Use when creating app icons, logos, UI graphics, marketing banners, social media images, illustrations, diagrams, or any visual assets. Supports reference images for style transfer and character consistency. Triggers include phrases like 'generate an image', 'create a graphic', 'make an icon', 'design a logo', 'create a banner', 'same style as', 'keep the style', or any request needing visual content.
Best use case
nano-image-generator is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Generate images using Nano Banana Pro (Gemini 3 Pro Preview). Use when creating app icons, logos, UI graphics, marketing banners, social media images, illustrations, diagrams, or any visual assets. Supports reference images for style transfer and character consistency. Triggers include phrases like 'generate an image', 'create a graphic', 'make an icon', 'design a logo', 'create a banner', 'same style as', 'keep the style', or any request needing visual content.
Generate images using Nano Banana Pro (Gemini 3 Pro Preview). Use when creating app icons, logos, UI graphics, marketing banners, social media images, illustrations, diagrams, or any visual assets. Supports reference images for style transfer and character consistency. Triggers include phrases like 'generate an image', 'create a graphic', 'make an icon', 'design a logo', 'create a banner', 'same style as', 'keep the style', or any request needing visual content.
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "nano-image-generator" skill to help with this workflow task. Context: Generate images using Nano Banana Pro (Gemini 3 Pro Preview). Use when creating app icons, logos, UI graphics, marketing banners, social media images, illustrations, diagrams, or any visual assets. Supports reference images for style transfer and character consistency. Triggers include phrases like 'generate an image', 'create a graphic', 'make an icon', 'design a logo', 'create a banner', 'same style as', 'keep the style', or any request needing visual content.
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/nano-image-generator/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How nano-image-generator Compares
| Feature / Agent | nano-image-generator | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Generate images using Nano Banana Pro (Gemini 3 Pro Preview). Use when creating app icons, logos, UI graphics, marketing banners, social media images, illustrations, diagrams, or any visual assets. Supports reference images for style transfer and character consistency. Triggers include phrases like 'generate an image', 'create a graphic', 'make an icon', 'design a logo', 'create a banner', 'same style as', 'keep the style', or any request needing visual content.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Nano Image Generator Generate images using Nano Banana Pro (Gemini 3 Pro Preview) for any visual asset needs. Supports **reference images** for style transfer and character consistency. ## Quick Start ```bash # Basic generation python scripts/generate_image.py "A friendly robot mascot waving" --output ./mascot.png # With style reference (keep same visual style) python scripts/generate_image.py "Same style, new content" --ref ./reference.jpg --output ./new.png ``` ## Script Usage ```bash python scripts/generate_image.py <prompt> --output <path> [options] ``` **Required:** - `prompt` - Image description - `--output, -o` - Output file path **Options:** - `--aspect, -a` - Aspect ratio (default: `1:1`) - Square: `1:1` - Portrait: `2:3`, `3:4`, `4:5`, `9:16` - Landscape: `3:2`, `4:3`, `5:4`, `16:9`, `21:9` - `--size, -s` - Resolution: `1K`, `2K` (default), `4K` - `--ref, -r` - Reference image (can use multiple times, max 14) ## Reference Images Gemini supports up to **14 reference images** for: ### Style Transfer Keep the visual style (colors, textures, mood) from a reference: ```bash python scripts/generate_image.py "New scene with mountains, same visual style as reference" \ --ref ./style-reference.jpg --output ./styled-mountains.png ``` ### Character Consistency Maintain character appearance across multiple images: ```bash python scripts/generate_image.py "Same character now in a forest setting" \ --ref ./character.png --output ./character-forest.png ``` ### Multi-Image Fusion Combine elements from multiple references: ```bash python scripts/generate_image.py "Combine the style of first image with subject of second" \ --ref ./style.png --ref ./subject.png --output ./combined.png ``` ### Serial Image Generation (Batch Workflow) For generating a series with consistent style: 1. Generate first image 2. Use first image as `--ref` for subsequent images 3. Each new image inherits the established style ```bash # Generate cover python scripts/generate_image.py "Tech knowledge card cover" -o ./01-cover.png # Generate subsequent cards with style reference python scripts/generate_image.py "Card 2 content, same style" --ref ./01-cover.png -o ./02-card.png python scripts/generate_image.py "Card 3 content, same style" --ref ./01-cover.png -o ./03-card.png ``` ## Workflow 1. **Determine output location** - Place images where contextually appropriate: - App icons → `./assets/icons/` - Marketing → `./marketing/` - UI elements → `./src/assets/` - General → `./generated/` 2. **Craft effective prompts** - Be specific and descriptive: - Include style: "flat design", "3D rendered", "watercolor", "minimalist" - Include context: "for a mobile app", "website hero image" - Include details: colors, mood, composition - For references: mention "same style as reference" or "keep the visual style" 3. **Choose appropriate settings:** - Icons/logos → `--aspect 1:1` - Banners/headers → `--aspect 16:9` or `21:9` - Mobile screens → `--aspect 9:16` - Xiaohongshu cards → `--aspect 3:4` - Photos → `--aspect 3:2` or `4:3` ## Examples **App icon:** ```bash python scripts/generate_image.py "Minimalist flat design app icon of a lightning bolt, purple gradient background, modern iOS style" \ --output ./assets/app-icon.png --aspect 1:1 ``` **Marketing banner:** ```bash python scripts/generate_image.py "Professional website hero banner for a productivity app, abstract geometric shapes, blue and white color scheme" \ --output ./public/images/hero-banner.png --aspect 16:9 ``` **Xiaohongshu knowledge card:** ```bash python scripts/generate_image.py "Tech knowledge card, dark blue purple gradient, neon cyan accents, code block style, Chinese text '标题'" \ --output ./xiaohongshu/card.png --aspect 3:4 ``` **Style transfer:** ```bash python scripts/generate_image.py "Transform this photo into watercolor painting style" \ --ref ./photo.jpg --output ./watercolor.png ``` **Character in new scene:** ```bash python scripts/generate_image.py "Same character from reference, now sitting in a cafe, warm lighting" \ --ref ./character.png --output ./character-cafe.png --aspect 3:2 ``` ## Prompt Tips - **Be specific** - "A red apple on a wooden table" vs "an apple" - **Include style** - "in the style of pixel art" or "photorealistic" - **Mention purpose** - "for a children's book" affects the output style - **Describe composition** - "centered", "rule of thirds", "close-up" - **Specify colors** - Explicit color palettes yield better results - **Reference prompts** - Use "same style as reference", "keep the visual aesthetic", "match the color palette" - **Avoid** - Don't ask for complex text in images (use overlays instead) ## Limitations - Maximum 14 reference images per request - Text rendering may be imperfect (better to overlay text separately) - Very specific brand logos may not reproduce exactly
Related Skills
image-assistant
配图助手 - 把文章/模块内容转成统一风格、少字高可读的 16:9 信息图提示词;先定“需要几张图+每张讲什么”,再压缩文案与隐喻,最后输出可直接复制的生图提示词并迭代。
zimage-skill
Generate images using ModelScope Z-Image-Turbo API. Use when user asks to generate, create, or make images, pictures, or illustrations.
qwen-image
Generate and edit images with Alibaba Qwen-Image-2.0 models via inference.sh CLI. Models: Qwen-Image-2.0 (fast), Qwen-Image-2.0-Pro (professional text rendering). Capabilities: text-to-image, multi-image editing, complex text rendering. Triggers: qwen image, qwen-image, alibaba image, dashscope image, qwen image 2, qwen image pro
qwen-image-pro
Generate images with Alibaba Qwen-Image-2.0-Pro via inference.sh CLI. Professional text rendering, fine-grained realism, enhanced semantic adherence. Ideal for posters, banners, and text-heavy designs. Triggers: qwen image pro, qwen-image-pro, qwen 2 pro, alibaba image pro, dashscope pro, professional text rendering
game-test-case-generator
基于需求文档(xls/csv)生成专业游戏测试用例,支持完整用例和快速测试点两种模式。当用户提到"游戏测试"、"测试用例生成"、"需求转测试用例"、上传需求文档或原型时使用此技能。
viral-generator-builder
Expert in building shareable generator tools that go viral - name generators, quiz makers, avatar creators, personality tests, and calculator tools. Covers the psychology of sharing, viral mechanics, and building tools people can't resist sharing with friends. Use when: generator tool, quiz maker, name generator, avatar creator, viral tool.
nanobanana-ppt-skills
AI-powered PPT generation with document analysis and styled images
k8s-manifest-generator
Create production-ready Kubernetes manifests for Deployments, Services, ConfigMaps, and Secrets following best practices and security standards. Use when generating Kubernetes YAML manifests, creating K8s resources, or implementing production-grade Kubernetes configurations.
imagen
Generates images using Google Gemini's image generation model for frontend UIs, documentation, and visual representations.
fal-image-edit
AI-powered image editing with style transfer and object removal
azure-ai-vision-imageanalysis-py
Azure AI Vision Image Analysis SDK for captions, tags, objects, OCR, people detection, and smart cropping. Use for computer vision and image understanding tasks. Triggers: "image analysis", "computer vision", "OCR", "object detection", "ImageAnalysisClient", "image caption".
azure-ai-vision-imageanalysis-java
Build image analysis applications with Azure AI Vision SDK for Java. Use when implementing image captioning, OCR text extraction, object detection, tagging, or smart cropping.