Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | Yes | Your Google Gemini API key | |
| IMAGEN_OUTPUT_DIR | No | Directory for generated images | ./generated-images |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_image | Generate an image from a text prompt using Google Gemini's image generation. Models available:
Tips for better results:
|
| edit_image | Edit an existing image using text prompts. Supports:
Provide the path to an existing image and describe the changes you want. |
| compose_images | Combine multiple images into a new composition. nano-banana supports up to 3 input images. nano-banana-pro supports up to 14 input images (up to 5 humans, 6 objects). Great for:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |