Skip to main content
Glama

generate_and_download_video

Generate a video from text or image prompts and download it immediately. Supports various models, durations, and custom settings for instant video file retrieval.

Instructions

Generate a video and automatically download it. Polls for completion and returns the video file. Best for when you want the video data immediately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fpsNoCogVideoX-3 only: Frame rate
sizeNoVideo resolution
modelYesVideo generation model to use
styleNoVidu Q1 text-to-video only: Style
promptNoText description of the video (max 512 characters)
qualityNoCogVideoX-3 only: output mode
user_idNoUnique end user ID
durationNoVideo duration in seconds
max_waitNoMaximum seconds to wait for video generation (default: 300)
image_urlNoImage URL(s) for image-to-video generation
with_audioNoWhether to generate AI sound effects
file_outputNoAbsolute path to save the video file. Example: /path/to/video.mp4
aspect_ratioNoAspect ratio
poll_intervalNoSeconds to wait between polling (default: 10, videos take longer than images)
movement_amplitudeNoVidu models only: Motion amplitude
Behavior4/5

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

The description mentions polling behavior and returning the file, adding value beyond the schema. No annotations exist, so this is adequate disclosure.

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

Conciseness5/5

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

Two sentences with clear, front-loaded purpose. No redundant or empty phrasing.

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

Completeness3/5

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

With 15 parameters, no output schema, and no annotations, the description is too brief to fully guide the agent on handling failures, return format, or usage nuances.

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

Parameters3/5

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

Schema coverage is 100%, so baseline is 3. The description adds no parameter-specific information 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 the verb 'generate and download' and the resource 'video', and distinguishes from sibling tools by indicating it is for immediate retrieval.

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?

'Best for when you want the video data immediately' provides context for when to use, but does not explicitly state when not to use or name alternatives like generate_video/get_video_result.

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/GeorgH93/z_ai_image_gen_mcp'

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