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
Enum value:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
Images used as the starting frame for video generation.Image field requirements:
- Only 1 image is accepted
- Public URLs or Base64 format are supported
- Supported formats: png, jpeg, jpg, webp
- The 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 the appropriate content type string. For example:
The text prompt for video generation, with a maximum length of 1500 characters.
Video duration in seconds. Defaults to 4 seconds; optional values are
4 seconds or 8 seconds.The random seed for video generation.
- Defaults to a random seed value
- A manually set value will override the default random seed
Duration-based resolution options:
- 4 seconds: default 360p; optional values are
360p,720p,1080p - 8 seconds: default 720p; optional value is
720p
The movement amplitude of objects in the frame. Default value:
Optional values:
autoOptional values:
auto, small, medium, largeWhether to add background music to the generated video. Default value:
Optional values:
falseOptional 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
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