generate_image_nano_banana
Generate an image with Google's Nano Banana (Gemini 3 Pro Image) — best for photorealism, legible text in the image, and following complex/compositional prompts. Returns the image inline. SLOW: usually ~30-40 seconds. Tell the user it is generating and will take about half a minute BEFORE you call this, so the wait is expected rather than looking like a hang.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "generate_image_nano_banana"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the image to generate | |
| aspect_ratio | No | Aspect ratio (optional): 16:9, 9:16, 1:1, 4:3, 3:4 |