Skip to main content
Glama

generate_reference2video_to_video

Create videos from reference images and text prompts using Vidu's AI models to generate consistent visual content.

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): The model will use the provided images as references to generate a video with consistent subjects
                                 For fields that accept images:
                                 -Accepts 1 to 3 images.
    prompt (str, required): A textual description for video generation, with a maximum length of 1500 characters
    model (str, required): The model to use. Values range ["vidu1.5","vidu2.0"], with "vidu2.0" being the default.
    duration (int, optional): Video duration parameter, with default values depending on the model:
                              - vidu2.0: Default is 4 seconds, available option: 4
                              - vidu1.5: Default is 4 seconds, available options: 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. Defaults to 16:9, accepted: 16:9 9:16 1:1
    resolution (str, optional): The resolution of the output video
                                Defaults to 360p , accepted value: 360p 720p 1080p
                                - Model vidu1.5 duration 4 accepted: 360p 720p 1080p
                                - Model vidu1.5 duration 8accepted: 720p
                                - Model vidu2.0 duration 4 accepted: 360p 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
promptYes
modelNovidu2.0
durationNo
seedNo
aspect_ratioNo16:9
resolutionNo720p
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 including the cost warning about API calls to Vidu, which is crucial behavioral context not in the schema. It also describes return values ('task_id and video_url'), though output format details are minimal. It doesn't cover error handling, rate limits, or authentication needs, leaving some gaps.

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 front-loaded with the core purpose and cost warning. However, it's lengthy due to detailed parameter explanations, which are necessary given the poor schema coverage. Some redundancy exists (e.g., repeating 'Defaults to' for multiple parameters), and the structure could be tighter, but overall it's reasonably organized for a complex tool.

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, 0% schema coverage, no annotations, and no output schema, the description does a good job of providing necessary context. It covers purpose, cost behavior, parameter semantics, and return values. It lacks details on error cases, rate limits, and full output structure, but given the constraints, it's mostly complete and actionable.

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 providing detailed semantic information for all 9 parameters. It explains each parameter's purpose, constraints (e.g., '1 to 3 images', 'maximum length of 1500 characters'), defaults, accepted values, and interdependencies (e.g., model-specific duration and resolution options). This adds significant value 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.' This specifies the verb ('generate') and resource ('video'), though it uses 'pic' instead of the more accurate 'images' from the schema. It distinguishes from siblings like 'generate_text_to_video' by mentioning image input, but doesn't explicitly contrast with all siblings (e.g., 'generate_template_to_video').

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 provides clear usage guidance with the 'COST WARNING' section, advising to 'Only use when explicitly requested by the user.' This establishes a specific context for when to invoke the tool. However, it doesn't explicitly mention when to choose this tool over sibling tools (e.g., vs. 'generate_img_to_video'), which would be needed for a perfect score.

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