Nano Banana Illustrator
Generate images using Google's Gemini Image models.
Setup
pip install google-genai
export GOOGLE_API_KEY=your_key_here
Usage
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, 4Kflash: Fast generation
Aspect Ratios
landscape(default): 16:9portrait: 9:16square: 1:1cinematic: 21:9
Scan to join WeChat group