Skip to main content
POST
/
v3
/
nano-banana-pro-light-t2i
Nano Banana Pro Light I2I
curl --request POST \
  --url https://api.myrouter.ai/v3/nano-banana-pro-light-t2i \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "n": 123,
  "size": "<string>",
  "prompt": "<string>",
  "quality": "<string>",
  "response_format": "<string>"
}
'
{
  "data": [
    {
      "url": "<string>",
      "b64_json": "<string>",
      "revised_prompt": "<string>"
    }
  ],
  "created": 123
}
Generate images based on text descriptions.

Request Headers

Content-Type
string
required
Enum: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

n
integer
default:1
The number of images to generate. Must be between 1 and 10.Range: [1, 10]
size
string
default:"1x1"
The size of the generated imagePossible values: 1x1, 2x3, 3x2, 3x4, 4x3, 4x5, 5x4, 9x16, 16x9, 21x9
prompt
string
required
Text description of the desired image. Images can be uploaded via URL. Maximum length is 1000 characters.
quality
string
default:"1k"
Select image generation qualityPossible values: 1k, 2k, 4k
response_format
string
default:"url"
The format of the returned generated image. Must be one of url or b64_json.Possible values: url, b64_json

Response

data
array
required
List of generated images
created
integer
required
Creation timestamp