Skip to main content
POST
/
generation
/
google
/
nano-banana
Nano Banana
curl --request POST \
  --url https://open.ppt.video/api/v1/generation/google/nano-banana \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>"
}
'
{
  "id": "<string>",
  "status": "starting"
}
Nano Banana image generation model

Authorizations

Authorization
string
header
required

API Key for API endpoints

Body

application/json
prompt
string
required

A text description of the image you want to generate

webhook
string<uri>

Webhook URL for receiving updates

image_input
string<uri>[]

Input images to transform or use as reference (supports multiple images)

aspect_ratio
enum<string>
default:match_input_image

Aspect ratio of the generated image

Available options:
match_input_image,
1:1,
2:3,
3:2,
3:4,
4:3,
4:5,
5:4,
9:16,
16:9,
21:9
output_format
enum<string>
default:jpg

Format of the output image

Available options:
jpg,
png

Response

Generation status

id
string
required

Generation id.

status
enum<string>
required

Generation status

Available options:
starting,
processing,
succeeded,
failed,
canceled