generate_template_to_video
Create videos from templates and images using Vidu MCP's API. Convert visual templates into video content with customizable parameters for aspect ratio, style, and background music.
Instructions
Generate a video from a template.
COST WARNING: This tool makes an API call to Vidu which may incur costs. Only use when explicitly requested by the user.
Args:
template (str, required): AI video template. Different templates have different call parameters.
images (str list, required): Images
prompt (str, optional): A textual description for video generation, with a maximum length of 1500 characters
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
- Different templates accepted different aspect ratio
area (str, optional): Exotic Princess style control field only for template exotic_princess,
Default:auto, accepts:denmark,uk,africa,china,mexico,switzerland,russia,italy,korea,thailand,india,japan
beast (str, optional): beast companion style control field only for template beast_companion,
Default auto, accepts:bear,tiger,elk,snake,lion,wolf
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
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | ||
| images | Yes | ||
| prompt | No | ||
| seed | No | ||
| aspect_ratio | No | ||
| area | No | auto | |
| beast | No | auto | |
| bgm | No |