Nano Banana Pro

Generate or edit images with Google's Nano Banana Pro

POST https://api.apiframe.pro/nano-banana-pro

Headers

Name
Value

Content-Type

application/json

Authorization*

Your APIFRAME API Key

Body

Name
Type
Description

prompt*

string

The text prompt for generating or editing images

images

[string]

Array of image URLs or Base64 of the images to edit

aspect_ratio

string

aspect_ratio should be one of: match_input_image, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9! By default, it is match_input_image

resolution

string

resolution should be one of: 1K, 2K, 4K! By default, it is 2K

Response

// Success, the task has been submitted
{
  "task_id": "34f439ce-b545-4c57-a5bd-a3xxxxxxxx",
  "image_urls": [
    "https://cdn.apiframe.pro/images/xxxxxxxxxxxxxxxxxxxx.png"
  ],
  "status": "finished",
  "task_type": "nano-banana-pro"
}

Last updated

Was this helpful?