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

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