Parameters
string
required
Natural-language instruction describing the edit.
string[]
required
One to fourteen reference image URLs to edit. Must be publicly reachable HTTPS URLs.
string
Output aspect ratio. One of
1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9. Default: 1:1.string
Output resolution. One of
1K, 2K, 4K. Default: 1K.string
Webhook URL for completion notification.
Unlike the other Gemini image endpoints, Nano Banana Pro edit does not
accept an
output_format parameter — omit it.