Skip to main content
Glama
tasopen

mcp-alphabanana

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYYesThe Google Gemini API key required for image generation.
MCP_FALLBACK_OUTPUTNoOptional: Set a custom fallback directory for write failures.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
logging
{}
completions
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_image

Generate image assets using Gemini AI with optional transparency and reference images.

[Model Guidance]

  • Flash3.1 (recommended): High quality, very fast, supports grounding and advanced features.

  • Pro3: Higher fidelity, but more costly and slower.

  • Flash2.5: Legacy, maintained for compatibility. Does not support 0.5K, 2K, or 4K resolutions.

[Aspect Ratios & Pixel Sizes] Gemini supports the following aspect ratios (model-dependent):

  • Common to all models: 1:1 (e.g. 512x512, 1024x1024), 2:3 (424x632, 848x1264), 3:2 (632x424, 1264x848), 3:4 (448x600, 896x1200), 4:3 (600x448, 1200x896), 4:5 (410x512, 820x1024), 5:4 (512x410, 1024x820), 9:16 (360x640, 720x1280), 16:9 (688x384, 1376x768), 21:9 (896x384, 1792x768)

  • Flash3.1 only: 1:4 (128x512, 256x1024), 4:1 (512x128, 1024x256), 1:8 (64x512, 128x1024), 8:1 (512x64, 1024x128) (0.5K/1K: see above, 2K/4K: double these sizes)

To avoid cropping or padding, set width and height to match a supported aspect ratio. If the requested size does not match, the image will be center-cropped or padded after generation. If you intentionally want to control the resizing/cropping behavior, use the 'resizeMode' parameter: 'crop' (default, center crop), 'letterbox' (fit with padding), 'contain' (trim transparent margins then fit), or 'stretch' (distort to fit).

[IMPORTANT] Always preserve the user's prompt as-is, including language and nuance. Do not translate or summarize.

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/tasopen/mcp-alphabanana'

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