Vidu 2.0 Reference-to-Video
Video
Vidu 2.0 Reference-to-Video
POST
Vidu 2.0 Reference-to-Video
Vidu 2.0 Reference-to-Video generates videos using reference images and text descriptions. It supports various subjects, such as characters and objects. By uploading multiple views of the subject, you can create videos that maintain visual consistency.
Request Headers
Enum value:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
The model will use the provided images as references to generate a video with a consistent subject.Image field requirements:
- Accepts 1 to 3 images
- Image resources can be provided via URL or Base64 encoding
- Must use one of the following formats: PNG, JPEG, JPG, WebP
- Image dimensions must be at least 128x128 pixels
- Image aspect ratio must be less than 1:4 or 4:1
- All images are limited to 50MB
- The decoded base64 length must be less than 10MB and must include an appropriate content type string. For example:
Text prompt for video generation, with a maximum length of 1500 characters.
Video duration in seconds. Default: 4 seconds. Options:
4.Random seed for video generation.
- Defaults to a random seed value
- A manually set value will override the default random seed
Output video aspect ratio. Default:
Valid values:
16:9Valid values:
16:9, 9:16, 1:1The resolution parameter defaults to 360p. Options are
360p and 720p.The movement amplitude of objects in the frame. Default:
Valid values:
autoValid values:
auto, small, medium, largeWhether to add background music to the generated video. Default:
Valid values:
falseValid values:
true, falseWhen set to true, the system will automatically add suitable BGM. There is no duration limit for the BGM; the system will automatically adapt it.Response
The task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to obtain the generation result.