Loading...
Loading...
REQUIRED for all image generation requests. Generate and edit images using Nano Banana (Gemini CLI). Handles blog featured images, YouTube thumbnails, icons, diagrams, patterns, illustrations, photos, visual assets, graphics, artwork, pictures. Use this skill whenever the user asks to create, generate, make, draw, design, or edit any image or visual content.
npx skill4agent add nicepkg/ai-workflow nano-bananagemini extensions list | grep nanobananagemini extensions install https://github.com/gemini-cli-extensions/nanobanana[ -n "$GEMINI_API_KEY" ] && echo "API key configured" || echo "Missing GEMINI_API_KEY"| User Request | Command |
|---|---|
| "make me a blog header" | |
| "create an app icon" | |
| "draw a flowchart of..." | |
| "fix this old photo" | |
| "remove the background" | |
| "create a repeating texture" | |
| "make a comic strip" | |
--yolo| Command | Use Case |
|---|---|
| Text-to-image generation |
| Modify existing image |
| Repair damaged photos |
| App icons, favicons, UI elements |
| Flowcharts, architecture diagrams |
| Seamless textures and patterns |
| Sequential/narrative images |
| Natural language interface |
--yolo--count=N--preview--styles="style1,style2"--format=grid|separate| Use Case | Dimensions | Notes |
|---|---|---|
| YouTube thumbnail | 1280x720 | |
| Blog featured image | 1200x630 | Social preview friendly |
| Square social | 1080x1080 | Instagram, LinkedIn |
| Twitter/X header | 1500x500 | Wide banner |
| Vertical story | 1080x1920 | |
gemini-2.5-flash-imageexport NANOBANANA_MODEL=gemini-3-pro-image-preview# Modern illustration style
gemini --yolo "/generate 'modern flat illustration of developer coding at laptop, purple and blue gradient background, minimalist style, no text' --preview"
# Professional photography style
gemini --yolo "/generate 'professional editorial photo of coffee cup next to laptop on wooden desk, morning sunlight, shallow depth of field, no text' --count=3"
# Tech/abstract
gemini --yolo "/generate 'abstract visualization of neural network connections, dark background with glowing blue nodes, futuristic style' --preview"gemini --yolo "/icon 'minimalist app logo for productivity tool' --sizes='64,128,256,512' --type='app-icon' --corners='rounded'"gemini --yolo "/diagram 'user authentication flow with OAuth' --type='flowchart' --style='modern'"./nanobanana-output/./nanobanana-output/--count=3gemini --yolo "/edit nanobanana-output/filename.png 'adjustment'"--styles="requested_style"| Problem | Solution |
|---|---|
| |
| Extension not found | Run install command from setup section |
| Quota exceeded | Wait for reset or switch to flash model |
| Image generation failed | Check prompt for policy violations, simplify request |
| Output directory missing | Will be created automatically on first run |