gemini_generate_image
Generate an image from a text prompt using Google Gemini and save it to assets/images. Optionally override the model or set a custom filename for the saved output.
Instructions
Generate an image with Google Gemini (Nano Banana) and save to assets/images.
Args: prompt: Text description of the image to generate. model: Override the model id (default from GEMINI_IMAGE_MODEL / gemini-2.5-flash-image). Newer option: a Nano Banana 2 / Gemini 3.x Flash Image id if enabled on your key. filename: Optional base filename (without extension).
Returns: A human-readable summary listing the saved file path(s).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| prompt | Yes | ||
| filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |