generate_image
Turn text prompts into images with Google Gemini. Supports batch generation (1-4) and customization of size, aspect ratio, and negative prompts.
Instructions
Generate an image from a text prompt using Google Gemini. Default model: gemini-3.1-flash-image-preview. Supports batch generation (n=1-4). Response contains a thumbnail preview; full-res image is saved to /root/nano-banana-output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Number of images to generate (1-4, default 1) | |
| size | No | Image size (512, 1K, 2K, 4K) | |
| prompt | Yes | Text description of the image to generate | |
| aspectRatio | No | Aspect ratio of the generated image | |
| negativePrompt | No | Things to exclude from the generated image | |
| systemInstruction | No | System instruction to guide the model's behavior |