Nano Banana 2 multimodal model in image-to-image mode. Requires a base64 data URI image input. Supports multiple aspect ratios and resolutions.
API Key authentication. Format: Bearer YOUR_API_KEY.
Editing instruction describing the desired transformation
1"Transform this into a watercolor painting"
Input image in data URI format (e.g. data:image/png;base64,...)
"data:image/jpeg;base64,/9j/4AAQSkZJRg..."
Output image aspect ratio
1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9, 21:9 "16:9"
Output image resolution
512, 1K, 2K, 4K "1K"