Vidu 2.0 Image-to-Video
Video
Vidu 2.0 Image-to-Video
POST
Vidu 2.0 Image-to-Video
Vidu 2.0 Image-to-Video converts static images into dynamic videos, incorporating creative storytelling and animation effects.
Request Headers
string
required
Enum:
application/jsonstring
required
Bearer authentication format: Bearer {{API Key}}.
Request Body
string[]
required
Image used as the starting frame for video generation.Image field requirements:
- Only 1 image is accepted
- Supports public URL or Base64 format
- Supported formats: png, jpeg, jpg, webp
- Image aspect ratio must be less than 1:4 or 4:1
- All images limited to 50MB
- Base64 decoded length must be less than 10MB and must include the appropriate content type string. For example:
string
Text prompt for video generation, maximum length of 1500 characters.
integer
Video duration (in seconds). Default: 4 seconds. Options:
4 seconds or 8 seconds.integer
Random seed for video generation.
- Default: Random seed value
- Manually set values will override the default random seed
string
Resolution options based on duration:
- 4 seconds: Default 360p, options:
360p,720p,1080p - 8 seconds: Default 720p, options:
720p
string
Motion amplitude of objects in the scene. Default:
Possible values:
autoPossible values:
auto, small, medium, largeboolean
Whether to add background music to the generated video. Default:
Possible values:
falsePossible values:
true, falseWhen set to true, the system will automatically add suitable BGM. There is no duration limit for BGM; the system will automatically adapt it.Response
string
required
The task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.