Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NANOBANANA_API_KEYYesAPI key for the image generation service.
NANOBANANA_BASE_URLYesBase URL of the API (e.g., https://openrouter.ai/api).
NANOBANANA_OUTPUT_DIRYesDirectory where generated images will be saved.
NANOBANANA_DEFAULT_MODELNoDefault model for image generation.google/gemini-2.5-flash-image-preview
NANOBANANA_DEFAULT_IMAGE_SIZENoDefault image size (e.g., 1K, 2K, 4K).1K
NANOBANANA_DEFAULT_ASPECT_RATIONoDefault aspect ratio for generated images.1:1

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageA

生成 AI 图片(OpenAI 兼容协议)。

参数说明:

  • prompt: 图片描述(必填)

  • aspectRatio: 宽高比,可选值: 1:1, 16:9, 9:16, 4:3, 3:4, 2:3, 3:2, 4:5, 5:4, 21:9。默认: 1:1

  • imageSize: 图片尺寸,可选值: 1K, 2K, 4K。默认: 1K

  • model: 模型名称。默认: google/gemini-2.5-flash-image-preview

edit_imageA

基于参考图片生成新图片(图生图)。

参数说明:

  • prompt: 图片描述(必填)

  • referenceImageUrl: 参考图片的 URL(必填)

  • aspectRatio: 宽高比

  • imageSize: 图片尺寸

  • model: 模型名称

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 2 tools

Disambiguation5/5

The two tools are clearly distinct: generate_image creates from a text prompt, while edit_image uses a reference image. Their purposes do not overlap, and the parameter differences (prompt + aspectRatio vs. prompt + referenceImageUrl) make selection unambiguous.

Naming Consistency5/5

Both tools follow the exact same verb_noun pattern with underscores: generate_image and edit_image. This is perfectly consistent and predictable.

Tool Count3/5

With only 2 tools, the server feels thin for a general image generation service, but it is tightly scoped to the two core generation workflows. It is borderline but not unreasonable for a specialized server.

Completeness4/5

The server covers the primary image generation operations: text-to-image and image-to-image editing. Minor gaps exist (e.g., no upscaling or variation tools), but for the stated purpose, the surface is mostly complete.

Maintenance

ActivityInactive
ResponsivenessNo issues