Skip to main content
Glama
krystian-ai

AI Image-Gen MCP Server

by krystian-ai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CACHE_DIRNoDirectory for caching generated images/tmp/ai-image-gen-cache
MODEL_DEFAULTNoDefault model to use (dall-e-3, dall-e-2, or gpt-image-1)dall-e-3
OPENAI_API_KEYYesYour OpenAI API key

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
generate_imageA

Generate images from text descriptions using AI models.

Args: prompt: Text description of the desired image style: Style preset (default, photorealistic, illustration) size: Image dimensions (1024x1024, 1792x1024, 1024x1792) n: Number of images to generate (currently only 1 supported) model: Specific model to use (dalle-3, dalle-2, gpt-image-1)

Returns: ImageGenerationResponse with image URLs and metadata

Prompts

Interactive templates invoked by user choice

NameDescription
product_mockupGenerate a product mockup prompt. Args: product_name: Name of the product style: Visual style background: Background description Returns: Formatted prompt for product mockup generation
concept_artGenerate a concept art prompt. Args: subject: Main subject of the artwork art_style: Artistic style mood: Mood or atmosphere Returns: Formatted prompt for concept art generation

Resources

Contextual data attached and managed by the client

NameDescription
list_modelsList available image generation models. Returns: Dictionary containing available models and their capabilities

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/krystian-ai/ai-image-gen-mcp'

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