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
| Name | Required | Description | Default |
|---|---|---|---|
| images | Yes | ||
| prompt | Yes | ||
| model | No | vidu2.0 | |
| duration | No | ||
| seed | No | ||
| aspect_ratio | No | 16:9 | |
| resolution | No | 720p | |
| movement_amplitude | No | auto | |
| bgm | No |