Skip to main content
Glama

generate_text_to_video

Create videos from text prompts using Vidu MCP's AI models, generating visual content with customizable duration, style, and resolution settings.

Instructions

Generate a video from a prompt.

COST WARNING: This tool makes an API call to Vidu which may incur costs. Only use when explicitly requested by the user.

 Args:
    model (str, required): The model to use. Values range ["viduq1","vidu1.5"], with "viduq1" being the default.
    prompt (str, required): A textual description for video generation, with a maximum length of 1500 characters
    style (str, optional): The style of output video. Defaults to general, Accepted values: general anime
    duration (int, optional): Video duration. Default values vary by model:
                              - viduq1: default 5s, available: 5
                              - vidu1.5: default 4s, available: 4, 8
    seed (int, optional): Random seed
                          - Defaults to a random seed number
                          - Manually set values will override the default random seed
    aspect_ratio (str, optional): The aspect ratio of the output video. Values range ["1:1", "16:9","9:16"], with "16:9" being the default.
    resolution (str, optional): Resolution. Default values vary by model & duration:
                                - viduq1 (5s): default 1080p, available: 1080p
                                - vidu1.5 (4s): default 360p, available: 360p, 720p, 1080p
                                - vidu1.5 (8s): default 720p, available: 720p
    movement_amplitude (str, optional): The movement amplitude of objects in the frame.Defaults to auto, accepted value: auto small medium large
    bgm (bool, optional): Whether to add background music to the generated video.
                          - Default: false. Acceptable values: true, false.
                          - When true, the system will automatically add a suitable BGM.
                          - Only when the final generated video duration is 4 seconds is adding BGM supported.
Returns:
    task_id and video_url

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoviduq1
promptNo
styleNogeneral
durationNo
seedNo
aspect_ratioNo16:9
resolutionNo1080p
movement_amplitudeNoauto
bgmNo
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does well by mentioning the cost implication ('may incur costs'), specifying that it makes an API call to Vidu, and providing important behavioral details like default values, value ranges, and model-specific constraints. However, it doesn't mention rate limits, authentication requirements, or error handling.

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 clear sections (purpose, cost warning, parameters, returns) and efficiently conveys necessary information. While comprehensive, some sentences could be more concise (e.g., the resolution section has repetitive model/duration combinations). Overall, most sentences earn their place by adding value.

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

Completeness4/5

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

For a complex tool with 9 parameters, no annotations, and no output schema, the description does remarkably well. It covers the core functionality, cost implications, detailed parameter semantics, and return values. The main gap is the lack of output schema explanation - while it mentions 'task_id and video_url', it doesn't describe their format or how to use them. Given the complexity, it's quite complete but not perfect.

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?

Given that schema description coverage is 0% (no parameter descriptions in the schema), the description compensates excellently by providing comprehensive parameter documentation. It explains each parameter's purpose, default values, acceptable values, model-specific constraints, and important behavioral notes (like BGM only working with 4-second videos). This adds substantial meaning beyond the bare schema.

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

Purpose4/5

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

The description clearly states the tool's purpose: 'Generate a video from a prompt.' This is a specific verb+resource combination that indicates what the tool does. However, it doesn't explicitly differentiate from sibling tools like 'generate_img_to_video' or 'generate_template_to_video' which suggests similar video generation from different inputs.

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

Usage Guidelines5/5

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

The description provides excellent usage guidance with the 'COST WARNING' section that explicitly states when to use the tool ('Only use when explicitly requested by the user') and warns about potential costs. This gives clear context for appropriate usage, though it doesn't mention specific alternatives among the sibling tools.

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/shengshu-ai/vidu-mcp'

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