Vidu 2.0 Reference to Videos generates videos using a reference image and text description. It supports various subjects, such as characters and objects. By uploading multiple perspectives of a subject, you can create videos that maintain visual consistency.
This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the video generation results.
Supports: application/json
Bearer authentication format, for example: Bearer {{API Key}}.
Request Body
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
- Images Assets can be provided via URLs or Base64 encode
- You must use one of the following codecs: PNG, JPEG, JPG, WebP
- The dimensions of the images must be at least 128x128 pixels
- The aspect ratio of the images must be less than 1:4 or 4:1
- All images are limited to 50MB
- The length of the base64 decode must be under 10MB, and it must include an appropriate content type string. For instance:
data:image/png;base64,{base64_encode}
Text prompt for video generation, with a maximum length of 1500 characters.
Video duration in seconds. Default: 4 seconds. Available option: 4.
Random seed for video generation.
- Defaults to a random seed number
- Manually set values will override the default random seed
The aspect ratio of the output video. Default: 16:9
Accepted values: 16:9, 9:16, 1:1
The resolution parameter defaults to 360p, with available options of 360p and 720p.
The movement amplitude of objects in the frame. Default: auto
Accepted values: auto, small, medium, large
Whether to add background music to the generated video. Default: false
Acceptable values: true, falseWhen true, the system will automatically add a suitable BGM. BGM has no time limit and the system automatically adapts.
Response
Use the task_id to request the Task Result API to retrieve the generated outputs.