Skip to main content
POST
Nano Banana Pro Light Text-to-Image (reverse)
Generate images from a text description.

Request Headers

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

Request Body

integer
default:1
The number of images to generate. Must be between 1 and 10.Value range: [1, 10]
string
default:"1x1"
The size of the generated image.Optional values: 1x1, 2x3, 3x2, 3x4, 4x3, 4x5, 5x4, 9x16, 16x9, 21x9
string
required
The text description of the desired image.
string
default:"1k"
Select the image generation quality.Optional values: 1k, 2k, 4k
string
default:"url"
The format in which the generated image is returned. Must be one of url or b64_json.Optional values: url, b64_json

Response Information

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