Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYYesYour Google Gemini API key
IMAGEN_OUTPUT_DIRNoDirectory for generated images./generated-images

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_image

Generate an image from a text prompt using Google Gemini's image generation.

Models available:

  • nano-banana (gemini-2.5-flash-image): Fast, efficient, 1024px resolution. Best for high-volume tasks.

  • nano-banana-pro (gemini-3-pro-image-preview): Advanced, up to 4K resolution, with thinking mode. Best for professional assets.

Tips for better results:

  • Describe the scene narratively, don't just list keywords

  • Be specific about lighting, camera angles, and styles

  • Use photography terms for photorealistic images

  • Specify aspect ratio based on your use case

edit_image

Edit an existing image using text prompts. Supports:

  • Adding/removing elements

  • Style transfer

  • Inpainting (changing specific parts)

  • Combining multiple images

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:

  • Product mockups

  • Fashion photos (dress on model)

  • Creative collages

  • Style transfer from multiple references

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pgarciapg/mcp-nano-banana'

If you have feedback or need assistance with the MCP directory API, please join our Discord server