Vidu Q1 Reference-to-Video generates videos using reference images and text descriptions. It supports various subjects such as characters and objects. By uploading multiple angles of a subject, you can create videos that maintain visual consistency.
This is an async API that only returns the task_id of the async task. You should use the task_id to call the Get Async Task Result API to retrieve the generated result.
Bearer authentication format: Bearer {{API Key}}.
Request Body
The model will use the provided images as references to generate videos with consistent subjects.Image field requirements:
- Accepts 1 to 7 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
- Base64 decoded length must be less than 10MB and must include the appropriate content type string. Example:
data:image/png;base64,{base64_encode}
Text prompt for video generation, maximum length of 1500 characters.
Video duration in seconds. Default: 5 seconds, currently only the 5 second option is supported.
Random seed for video generation.
- Default: random seed value
- Manually set values will override the default random seed
Output video aspect ratio. Default: 16:9
Possible values: 16:9, 9:16, 1:1
Output video resolution. Default: 1080p, currently only the 1080p option is supported.
Movement amplitude of objects in the frame. Default: auto
Possible values: auto, small, medium, large
Whether to add background music to the generated video. Default: false
Possible values: true, falseWhen set to true, the system will automatically add suitable BGM. BGM has no duration limit; the system will automatically adapt to the video length.
Response