Skip to main content
Glama

generate_startend2video_to_video

Create videos from start and end images using AI models, with options for duration, resolution, and movement control.

Instructions

Generate a video from a pic and prompt.

COST WARNING: This tool makes an API call to Vidu which may incur costs. Only use when explicitly requested by the user.
Args:
    images (str list, required): Two images: first is start frame, second is end frame.
    model (str, required): The model to use. Values range ["vidu1.5","vidu2.0","viduq1-classic","viduq1"], with "viduq1" being the default.
    prompt (str, optional): A textual description for video generation, with a maximum length of 1500 characters
    duration (int, optional): Video duration. Default values vary by model:
                              - viduq1 and viduq1-classic: default 5s, available: 5
                              - vidu2.0 and 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
    resolution (str, optional): Resolution (based on model & duration):
                                - viduq1 and viduq1-classic(5s): default 1080p, options: 1080p
                                - vidu2.0 and vidu1.5 (4s): default 360p, options: 360p, 720p, 1080p
                                - vidu2.0 and vidu1.5 (8s): default 720p, options: 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
imagesYes
modelNoviduq1
promptNo
durationNo
seedNo
resolutionNo1080p
movement_amplitudeNoauto
bgmNo
Behavior5/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 effectively adds value by disclosing cost implications ('COST WARNING: This tool makes an API call to Vidu which may incur costs'), model-specific defaults for duration and resolution, and constraints like BGM only supported for 4-second videos. This goes beyond what the input schema provides.

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

Conciseness3/5

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

The description is appropriately sized but could be more front-loaded; the cost warning is prominent, but parameter details are listed in a structured 'Args:' section which is clear but somewhat verbose. Every sentence earns its place by providing necessary information, though it might benefit from tighter formatting.

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?

Given the complexity (8 parameters, no annotations, no output schema), the description is largely complete. It covers purpose, usage guidelines, behavioral traits, and detailed parameter semantics. However, it doesn't fully explain the return values ('task_id and video_url') or potential errors, leaving minor gaps in contextual completeness.

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 0% schema description coverage, the description compensates fully by adding detailed semantics for all 8 parameters. It explains the purpose of 'images' as start and end frames, lists model options with defaults, specifies prompt length limits, details duration defaults and options per model, clarifies seed behavior, resolution dependencies, movement amplitude options, and BGM constraints. This adds significant 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 pic and prompt.' It specifies the verb 'generate' and resource 'video,' though it doesn't explicitly differentiate from sibling tools like 'generate_img_to_video' or 'generate_text_to_video.' The mention of 'two images: first is start frame, second is end frame' provides some specificity but not full sibling distinction.

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?

The description includes a clear usage guideline: 'Only use when explicitly requested by the user' due to cost warnings. It doesn't explicitly state when to use this tool versus alternatives like 'generate_img_to_video' or 'generate_text_to_video,' but the cost warning and parameter details (e.g., requiring two images) imply context for usage.

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