Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging level: error, warn, info, debug.info
CACHE_ENABLEDNoEnable caching of results.true
MAX_IMAGE_SIZENoMaximum image size in bytes (default 10MB).10485760
SEGMIND_API_KEYYesYour Segmind API key, required for authentication.
FILE_OUTPUT_LOCATIONNoDirectory to save generated files. Defaults to system temp directory.

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
{}
logging
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageB

Generate images from text prompts using various AI models. Returns base64-encoded image data with MIME type information.

list_modelsB

List available AI models by category

get_model_infoA

Get detailed information about a specific model

transform_imageA

Transform existing images using AI with various control methods. Accepts file paths directly (e.g. C:\photo.jpg), URLs, or base64. File paths are automatically processed without displaying the base64 string.

generate_videoA

Generate videos from text prompts or animate static images

enhance_imageC

Enhance images with upscaling, restoration, background removal, and more. Accepts file paths directly (e.g. C:\photo.jpg), URLs, or base64. File paths are automatically processed without displaying the base64 string.

generate_audioA

Generate speech audio from text using TTS models

generate_musicC

Generate music from text descriptions

estimate_costB

Estimate the credit cost and time for image/video generation operations

check_creditsA

Check remaining API credits

prepare_imageA

RECOMMENDED: Prepare a local image file for use with other tools. Returns a short ID instead of the full base64 string, avoiding display slowdowns. Always use this instead of read_local_image for image transformation tasks.

read_local_imageA

Read a local image file and convert it to base64. WARNING: Returns the full base64 string which can be very large and slow to display. Use prepare_image instead for better performance.

Prompts

Interactive templates invoked by user choice

NameDescription
art_stylesGenerate images in specific art styles

Resources

Contextual data attached and managed by the client

NameDescription
All Available ModelsList all available Segmind models
TEXT2IMG ModelsList models in the text2img category
IMG2IMG ModelsList models in the img2img category
TEXT2VIDEO ModelsList models in the text2video category
IMG2VIDEO ModelsList models in the img2video category
TEXT2AUDIO ModelsList models in the text2audio category
TEXT2MUSIC ModelsList models in the text2music category
ENHANCEMENT ModelsList models in the enhancement category
API CreditsCheck remaining API credits

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/bratcliffe909/segmind-mcp'

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