← Back to Models
google/nano-banana-edit
Google's Nano Banana image-to-image / image editing model. Edit one or more input images based on a prompt.
image
image-to-image
Pricing
Base:
4 credits per image
Adjustments:
Example Pricing:
Base request:
5 credits
Range:
6 -
6 credits
Input Parameters
Prompt
required
string
The prompt for image editing.
Image URLs
required
array
The URLs of the images to use for image-to-image generation or image editing.
Number of Images
integer
The number of images to generate.
Default: 1
Aspect Ratio
string
The aspect ratio of the generated image.
Default: auto
Options: auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16
Output Format
string
The format of the generated image.
Default: png
Options: jpeg, png, webp
Directives
Advanced Keys:
num_images
aspect_ratio
output_format
Hidden Keys:
output_format
Raw JSON
{
"identifier": "google/nano-banana-edit",
"fal_endpoint": "fal-ai/nano-banana/edit",
"type": "image",
"category": "image-to-image",
"description": "Google's Nano Banana image-to-image / image editing model. Edit one or more input images based on a prompt.",
"pricing": {
"version": 1,
"base": {
"unit": "image",
"credits": 4
},
"adjustments": [],
"display": {
"min_credits": 6,
"max_credits": 6
}
},
"directives": {
"advancedKeys": [
"num_images",
"aspect_ratio",
"output_format"
],
"hiddenKeys": [
"output_format"
],
"imageArrayKeys": [
"image_urls"
],
"preRunLogs": [
"Tip: set input_key=image_urls to pass uploaded images to this model"
]
},
"fal": {
"input_transforms": [
{
"type": "set_default",
"key": "output_format",
"value": "png"
}
]
},
"inputSchema": {
"type": "object",
"title": "Input",
"required": [
"prompt",
"image_urls"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "The prompt for image editing."
},
"image_urls": {
"type": "array",
"title": "Image URLs",
"x-order": 1,
"description": "The URLs of the images to use for image-to-image generation or image editing.",
"items": {
"type": "string",
"format": "uri"
}
},
"num_images": {
"type": "integer",
"title": "Number of Images",
"default": 1,
"minimum": 1,
"x-order": 2,
"description": "The number of images to generate."
},
"aspect_ratio": {
"enum": [
"auto",
"21:9",
"16:9",
"3:2",
"4:3",
"5:4",
"1:1",
"4:5",
"3:4",
"2:3",
"9:16"
],
"type": "string",
"title": "Aspect Ratio",
"description": "The aspect ratio of the generated image.",
"default": "auto",
"x-order": 3
},
"output_format": {
"enum": [
"jpeg",
"png",
"webp"
],
"type": "string",
"title": "Output Format",
"description": "The format of the generated image.",
"default": "png",
"x-order": 4
}
}
},
"outputSchema": {
"type": "object",
"title": "Output",
"properties": {
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"file_name": {
"type": "string"
},
"content_type": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"file_size": {
"type": "integer"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
}
}
},
"description": {
"type": "string"
}
}
}
}