Skip to main content
Glama
MSWEIMZ
by MSWEIMZ

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGNES_API_KEYYesYour Agnes AI API key
AGNES_API_BASENoAPI base URLhttps://apihub.agnes-ai.com/v1
AGNES_DEFAULT_SIZENoDefault image size1024x768
AGNES_DEFAULT_MODELNoDefault image modelagnes-image-2.1-flash

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
text_to_imageA

Generate images from text using Agnes AI.

Supports two models:

  • agnes-image-2.0-flash: Standard quality

  • agnes-image-2.1-flash: Enhanced quality (recommended)

Args: prompt: Text description of the image to generate. model: Model name (agnes-image-2.0-flash or agnes-image-2.1-flash). size: Output size (e.g. 1024x768, 1024x1024, 768x1024). n: Number of images to generate (1-4). Default: 1. images: Optional list of reference image URLs for multi-image composition. output_dir: Directory to save the downloaded image(s). Defaults to ~/agnes_output. return_mode: 'url' for image URL, 'b64' for base64 + local save.

Returns: dict with url, local_path, model, size, n, images.

image_to_imageA

Generate new image(s) based on reference image(s) and a text prompt.

This is image-to-image generation: provide one or more reference images (as URLs) along with a text prompt describing the desired output.

Args: prompt: Text description guiding the generation. images: List of reference image URLs (at least one required). model: Model name (agnes-image-2.0-flash or agnes-image-2.1-flash). size: Output size (e.g. 1024x768, 1024x1024, 768x1024). n: Number of images to generate (1-4). Default: 1. output_dir: Directory to save the downloaded image(s). Defaults to ~/agnes_output. return_mode: 'url' for image URL, 'b64' for base64 + local save.

Returns: dict with url, local_path, model, size, n, images.

text_to_videoA

Generate a video from text (and optional image(s)) using Agnes AI.

This is an async operation that polls until completion (may take several minutes).

Args: prompt: Text description of the video content. model: Model name. Default: agnes-video-v2.0 width: Video width. Default: 1152 height: Video height. Default: 768 num_frames: Total frames (8n+1 rule, max 441). Common values: 81(~3s), 121(~5s), 241(~10s), 441(~18s) frame_rate: FPS, 1-60. Default: 24 image: Optional single image URL for image-to-video. images: Optional list of image URLs for multi-image video / keyframe animation. When provided, 'image' is ignored. negative_prompt: Optional negative prompt to exclude from generation. seed: Optional random seed (-1 for random). mode: Generation mode (e.g. 'ti2vid', 'keyframes'). Optional. num_inference_steps: Number of inference steps. Optional. output_dir: Directory to save the downloaded video. Defaults to ~/agnes_output.

Returns: dict with video_id, status, video_url, local_path, seconds, size.

image_to_videoA

Animate a static image into a video using Agnes AI.

Provide a single image URL (or Data URI base64) and a text prompt describing the desired motion/animation.

This is an async operation that polls until completion (may take several minutes).

Args: prompt: Text description of the desired motion/animation. image: Input image URL or Data URI base64 (required). model: Model name. Default: agnes-video-v2.0 width: Video width. Default: 1152 height: Video height. Default: 768 num_frames: Total frames (8n+1 rule, max 441). Common values: 81(~3s), 121(~5s), 241(~10s), 441(~18s) frame_rate: FPS, 1-60. Default: 24 negative_prompt: Optional negative prompt to exclude from generation. seed: Optional random seed (-1 for random). num_inference_steps: Number of inference steps. Optional. output_dir: Directory to save the downloaded video. Defaults to ~/agnes_output.

Returns: dict with video_id, status, video_url, local_path, seconds, size.

keyframe_animationA

Generate a smooth video transitioning between multiple keyframe images.

Provide 2+ image URLs as keyframes. The model generates a video that smoothly transitions between them, guided by the text prompt.

This is an async operation that polls until completion (may take several minutes).

Args: prompt: Text description guiding the animation and transitions. images: List of keyframe image URLs (at least 2 recommended). model: Model name. Default: agnes-video-v2.0 width: Video width. Default: 1152 height: Video height. Default: 768 num_frames: Total frames (8n+1 rule, max 441). Common values: 81(~3s), 121(~5s), 241(~10s), 441(~18s) frame_rate: FPS, 1-60. Default: 24 negative_prompt: Optional negative prompt to exclude from generation. seed: Optional random seed (-1 for random). num_inference_steps: Number of inference steps. Optional. output_dir: Directory to save the downloaded video. Defaults to ~/agnes_output.

Returns: dict with video_id, status, video_url, local_path, seconds, size.

check_video_statusA

Check the status of a video generation task.

Args: video_id: The video_id returned from text_to_video. task_id: The task_id returned from text_to_video (alternative).

Returns: dict with task_id, video_id, status, progress, video_url, seconds, size, error.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
get_agnes_configShow current Agnes MCP configuration (API key masked).

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/MSWEIMZ/agnes-mcp'

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