← Back to Models
google/nano-banana
Google's Nano Banana (Gemini 2.5 Flash Image) text-to-image model that generates images from text descriptions.
image
text-to-image
Pricing
Base:
4 credits per image
Adjustments:
Example Pricing:
Base request:
5 credits
Range:
4 -
4 credits
Input Parameters
Prompt
required
string
The text prompt to generate an image from
Number of Images
integer
The number of images to generate
Default: 1
Aspect Ratio
string
The aspect ratio of the generated image
Default: 16:9
Options: 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:
Hidden Keys:
output_format
Raw JSON
{
"identifier": "google/nano-banana",
"fal_endpoint": "fal-ai/nano-banana",
"type": "image",
"category": "text-to-image",
"description": "Google's Nano Banana (Gemini 2.5 Flash Image) text-to-image model that generates images from text descriptions.",
"pricing": {
"version": 1,
"base": {
"unit": "image",
"credits": 4
},
"adjustments": [],
"display": {
"min_credits": 4,
"max_credits": 4
}
},
"directives": {
"advancedKeys": [],
"hiddenKeys": [
"output_format"
],
"inputTransforms": []
},
"fal": {
"input_transforms": [
{
"type": "set_default",
"key": "output_format",
"value": "png"
}
]
},
"inputSchema": {
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "The text prompt to generate an image from"
},
"num_images": {
"type": "integer",
"title": "Number of Images",
"default": 1,
"minimum": 1,
"x-order": 1,
"description": "The number of images to generate"
},
"aspect_ratio": {
"enum": [
"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": "16:9",
"x-order": 2
},
"output_format": {
"enum": [
"jpeg",
"png",
"webp"
],
"type": "string",
"title": "Output Format",
"description": "The format of the generated image",
"default": "png",
"x-order": 3
}
}
},
"outputSchema": {
"type": "array",
"title": "Output",
"description": "Array of output objects. Each object contains url, object_key, content_type, etc.",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"object_key": {
"type": "string"
},
"content_type": {
"type": "string"
}
}
}
}
}