JSON Prompt Template for Defining Canvas Size
A JSON template and an example prompt demonstrating how to specify resolution and aspect ratio (canvas size) for image generation in Nano Banana Pro to ensure consistent output dimensions.
Prompt
{ "scene": "futuristic AI workspace with holographic screens showing code", "resolution": "4K", "aspect_ratio": "16:9", "style": "cinematic lighting, cyberpunk aesthetic, ultra-detailed" }
Runs on 18 models
- Flux
- Flux 2
- Flux Kontext
- GPT-4o Image
- GPT Image
- GPT Image 2
- GPT Image 2.5
- Grok Imagine
- Ideogram V3
- Imagen 4
- Midjourney
- Nano Banana
- +6 more