Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FAL_KEYNoOptional API key that enables photorealistic image generation via FLUX and video generation via Kling.
GEMINI_API_KEYNoOptional API key that enables photorealistic image generation via Imagen 4 and video generation via Veo 3.
OPENAI_API_KEYNoOptional API key that enables photorealistic image generation via gpt-image-1 and video generation via Sora.
MEDIA_OUTPUT_DIRNoThe directory where generated media files are saved. Defaults to 'generated-media/'.generated-media/

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
render_imageA

Render SVG markup or a full HTML document (authored by you) to an image file on disk. Use for illustrations, diagrams, charts, UI mockups, typographic cards. Not photorealistic.

render_videoA

Render an MP4 from JavaScript canvas animation code you author. Provide draw(ctx, t, frame) as a pure function of time t in seconds (deterministic — no requestAnimationFrame, no Date.now). Optional setup(ctx) runs once. Use for motion graphics, animated diagrams, explainers. Returns file path plus sample frames.

list_providersA

List configured BYOK generation providers, their models and capabilities.

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/justapileofashes/media-gen'

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