Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AWS_REGIONNoAWS region (default: us-east-1)us-east-1
ENABLE_AWSNoEnable AWS Bedrock provider (true/false, default: false)false
AWS_PROFILENoAWS profile name (default, SSO, or named profile)
ENABLE_GEMININoEnable Google Gemini provider (true/false, default: false)false
ENABLE_OPENAINoEnable OpenAI provider (true/false, default: false)false
GEMINI_API_KEYNoGoogle Gemini API key (required if ENABLE_GEMINI is true)
OPENAI_API_KEYNoOpenAI API key (required if ENABLE_OPENAI is true)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_modelsA

List available image generation models from all enabled providers.

Returns a formatted list of model IDs that can be used with generate_image and transform_image. Models are fetched dynamically from each provider's API.

generate_imageA

Generate an image from a text prompt using the specified model.

Args: prompt: Detailed text description of the image to generate. Be specific about subject, style, lighting, colors, composition, and mood. Example: "A fluffy orange cat sitting on a windowsill, golden hour lighting, watercolor style" model_id: Model identifier from list_models(). Examples: "amazon.nova-canvas-v1:0", "gpt-image-1.5", "models/gemini-2.5-flash-image" output_path: Absolute or relative file path where the generated image will be saved. Supports PNG, JPEG formats. Parent directories are created automatically. reference_image: Optional. Path to an existing image to use as style/content reference. The model will generate a new image influenced by this reference. width: Optional. Image width in pixels. Default: 1024. Common values: 512, 768, 1024, 1280. Note: Some models only support specific sizes. Max: 4096px. height: Optional. Image height in pixels. Default: 1024. Common values: 512, 768, 1024, 1280. Note: Some models only support specific sizes. Max: 4096px.

Returns: Success message with output path, or error description.

transform_imageA

Transform an existing image based on a text prompt.

Args: image_path: Path to the source image to transform. Supports common formats (PNG, JPEG, etc.) prompt: Text description of the desired transformation. Examples: "Make it black and white", "Add a rainbow in the sky", "Convert to watercolor painting style" model_id: Model identifier from list_models(). Examples: "amazon.nova-canvas-v1:0", "gpt-image-1.5", "models/gemini-2.5-flash-image" output_path: File path where the transformed image will be saved. Parent directories are created automatically.

Returns: Success message with output path, or error description.

prompt_guideA

Get best practices and examples for writing effective image generation prompts.

Returns guidelines for crafting detailed prompts that produce better results.

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/manu-mishra/universal-image-mcp'

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