Nano Banana Illustrator
Generate images using Google's Gemini Image models.
Setup
bash
pip install google-genai export GOOGLE_API_KEY=your_key_here
Usage
bash
python generate_image.py "A sunset over mountains" -o sunset.jpg python generate_image.py "A robot" -o robot.jpg -a portrait -m flash
Models
- •
pro(default): High quality, 4K - •
flash: Fast generation
Aspect Ratios
- •
landscape(default): 16:9 - •
portrait: 9:16 - •
square: 1:1 - •
cinematic: 21:9