gemini_generate_image
Generate images from text prompts using Gemini's AI, and maintain style consistency across sessions by using reference images and conversation history.
Instructions
Generate images using Gemini's image generation capabilities. Supports session-based image consistency for maintaining style/character across multiple generations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Description of the image to generate | |
| output_path | No | Optional path where to save the generated image. If not provided, saves to ~/Documents/nanobanana_generated/ | |
| aspect_ratio | No | Aspect ratio for the generated image. Overrides session setting if provided. | |
| conversation_id | No | Session ID for maintaining image history and consistency across generations | |
| reference_images | No | Array of file paths to reference images for style/character consistency | |
| use_image_history | No | If true, includes previous generated images from this session for style/character consistency | |
| enable_google_search | No | Enable Google Search for real-world reference grounding |