Skip to main content
Glama
MSWEIMZ
by MSWEIMZ

text_to_video

Generate a video from a text description using Agnes AI. Optionally include images for image-to-video or keyframe animation.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
seedNo
imageNo
modelNoagnes-video-v2.0
widthNo
heightNo
imagesNo
promptYes
frame_rateNo
num_framesNo
output_dirNo
negative_promptNo
num_inference_stepsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

In the absence of annotations, the description discloses the async polling behavior and the return format (dict with keys). It does not mention potential side effects, but writes are not expected. It could add more on error handling or timeouts.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with sections for Args and Returns, but it is somewhat lengthy. Every sentence adds value, though some parameter details could be tighter. Still, it is appropriately front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (13 parameters, async behavior, output schema), the description covers purpose, parameters, behavior, and return format adequately. It is complete enough for an agent to select and invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description bears full responsibility. It explains all 13 parameters with defaults, constraints (e.g., num_frames formula), precedence (image vs images), and common values, adding substantial meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Generate a video from text (and optional image(s))', which is a specific verb-resource pair. It also distinguishes from siblings like image_to_video and text_to_image by indicating the primary input modality.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It notes that the operation is async and polls until completion, giving temporal expectations. It does not explicitly state when not to use this tool or name alternatives, but the context of siblings and the parameter descriptions imply usage scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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