Parameters
string
required
Natural-language instruction describing the edit.
string[]
required
One or more reference image URLs to edit. Must be publicly reachable HTTPS URLs. Google recommends three or fewer for best quality.
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
Encoding of the returned image. One of
image/png, image/jpeg, image/webp. Default: image/png.string
Webhook URL for completion notification.