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.

Click to expand
Visual generation preview from source
Formula Content
{
"scene": "futuristic AI workspace with holographic screens showing code",
"resolution": "4K",
"aspect_ratio": "16:9",
"style": "cinematic lighting, cyberpunk aesthetic, ultra-detailed"
}