Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEFAULT_OUTPUT_DIRNoThe default directory where generated images will be saved../generated_images
OPENROUTER_API_KEYYesYour OpenRouter API key. Can also be provided via the --api-key command line argument or a .env file.
DEFAULT_IMAGE_MODELNoThe default model to use for image generation and editing on OpenRouter.google/gemini-3.1-flash-image

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageA

Generates an image from a detailed text prompt using the Gemini 3.1 Flash Image model via OpenRouter. Saves the image locally and returns the absolute path and metadata.

edit_imageA

Edits or transforms an existing image from a local file and natural language instructions (add elements, change backgrounds, alter style, etc.).

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/fabiojbg/GenImgMCP'

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