Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IMAGE2_API_KEYYesRequired. API key for the relay.
IMAGE2_BASE_URLYesRequired. Relay root URL, without /images/...
IMAGE2_ENV_FILENoPath to an extra `.env` (useful for multi-environment setups)
IMAGE2_EDIT_FIELDNomultipart field name for `edit_image`image
IMAGE2_OUTPUT_DIRNoOutput directory; relative paths resolve against server root./output
IMAGE2_TIMEOUT_MSNoPer-request timeout (ms); max 2147483647300000
IMAGE2_DEFAULT_SIZENoDefault size1024x1024
IMAGE2_DEFAULT_MODELNoModel used when `model` is omitted — set this to a model your relay servesgpt-image-2
IMAGE2_MODEL_ALIASESNoYour own shorthands, `alias=model-id,alias2=id2`. Replaces the built-in aliases
IMAGE2_DEFAULT_QUALITYNoDefault qualityhigh

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources