Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LEMGEN_API_TOKENNoAPI key for generation tools (optional for free tools).
LEMGEN_OUTPUT_DIRNoLocal image output directory for future CLI workflows.
LEMGEN_API_BASE_URLNoBase URL for LemGen API. Defaults to https://lemgen.org.https://lemgen.org
LEMGEN_PREFERENCES_PATHNoLocal preferences JSON path.
LEMGEN_VIDEO_OUTPUT_DIRNoLocal video output directory for future CLI workflows.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_galleryA

Search the LemGen curated AI image/video prompt library. Results include preview URLs and LemGen source links. Free, no API key required.

get_inspirationA

Get the full prompt, preview media, metadata, and LemGen source link for one gallery entry. Free, no API key required.

enhance_promptA

Turn a short idea into a professional image/video prompt. Free, local, no API key required.

list_modelsA

List LemGen image and video models with strengths, ratios, resolutions, and reference limits. Free, no API key required.

prompt_toolsB

Translate, polish, or improve an AI image/video prompt. Free locally; if LEMGEN_API_TOKEN is configured, the LemGen prompt tool may be used by callers separately.

manage_preferencesA

Read or update local LemGen preferences for style, model, aspect ratio, resolution, and favorite prompt ids. Free, local, no API key required.

generate_imageB

Generate an AI image with LemGen. Requires LEMGEN_API_TOKEN. Use after the user approves a final prompt.

generate_videoA

Generate an AI video with LemGen. Requires LEMGEN_API_TOKEN. Videos are slow and should only be called after explicit user confirmation.

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/gptimage2prompts/lemgen-ai-design-mcp'

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