Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
21
Generate and edit images using Google's Gemini image generation models.
Sign in to like and favorite skills
Generate and edit images using Google's Gemini image generation models.
Use this skill when the user wants to:
cd ~/.claude/skills/nano-banana-image node scripts/nano_banana.js [options]
| Flag | Description | Default |
|---|---|---|
| Model to use: (fast) or (higher quality) | |
| Text prompt describing the image to generate | required |
| Path to input image for editing (flash only) | none |
| Output path for generated image | |
| Aspect ratio: , , , , | |
| Model | API Name | Features |
|---|---|---|
| | Fast, supports image editing, good quality |
| | Higher quality, text-to-image only |
Text to image:
node scripts/nano_banana.js \ --model flash \ --prompt "A clean minimalist ninja logo, bold outline, white background" \ --out outputs/logo.png
Widescreen background:
node scripts/nano_banana.js \ --model flash \ --aspect 16:9 \ --prompt "Abstract background with purple and blue gradients, geometric shapes" \ --out outputs/background.png
High quality generation:
node scripts/nano_banana.js \ --model pro \ --aspect 16:9 \ --prompt "A cinematic product photo of a smartwatch on a reflective surface" \ --out outputs/product.png
Edit existing image:
node scripts/nano_banana.js \ --model flash \ --input inputs/room.png \ --prompt "Restyle this room as modern Japanese minimalism" \ --out outputs/room_edited.png
responseModalities: ["TEXT", "IMAGE"]GEMINI_API_KEY environment variable (get one at Google AI Studio)cd ~/.claude/skills/nano-banana-image bun install export GEMINI_API_KEY="your-key-here"