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
| Name | Required | Description | Default |
|---|---|---|---|
| images | Yes | ||
| model | No | viduq1 | |
| prompt | No | ||
| duration | No | ||
| seed | No | ||
| resolution | No | 1080p | |
| movement_amplitude | No | auto | |
| bgm | No |