Skip to main content
POST
Nano Banana Light Image-to-Image
Generate a new image based on an input image and text description.

Request Headers

string
required
Enum value: application/json
string
required
Bearer authentication format: Bearer {{API key}}.

Request Body

string
Mask image URL or Base64 encoding
string
default:"1x1"
Size of the generated imageOptional values: 1x1, 2x3, 3x2, 3x4, 4x3, 4x5, 5x4, 9x16, 16x9, 21x9
string[]
required
List of input images to processArray length: 1 - 10Image URL or Base64 encoding
string
required
Text description of the desired image. Maximum length is 1000 characters.
string
default:"1k"
Select the image generation qualityOptional values: 1k, 2k, 4k
string
default:"url"
Format in which the generated image is returned.Optional values: url, b64_json

Response Information

object[]
required
List of generated images
integer
required
Creation timestamp