simplengat_generate_image
Create images from text prompts or reference images. Select a nano-banana model, set quantity and aspect ratio, and produce up to 4 images per request.
Instructions
Generate images (text-to-image or image-to-image). Models: nano-banana-pro, nano-banana-2, nano-banana-2-lite. Cost 0.25 credit/image. POST /api/v1/generate/image
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": "simplengat_generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | 1-4, default 1 | |
| model | No | Default nano-banana-pro | |
| prompt | Yes | Description of the image you want to generate | |
| aspectRatio | No | Default portrait | |
| referenceImages | No | Reference image URLs (max 10). If provided -> image-to-image mode |