generate_image_gemini
Generate images from text descriptions using Google's Gemini AI for contextual understanding, editing, composition, and iterative refinement.
Instructions
Generate images using Gemini 2.5 Flash Image (Nano Banana). Best for contextual understanding, image editing, multi-image composition, and iterative refinement. Free tier available.
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_gemini"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the image to generate (in English, max 480 tokens) | |
| numberOfImages | No | Number of images to generate (1-4, default: 1) |