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.
Request Headers
Supports:
application/json
Bearer authentication format, for example: Bearer {{API Key}}.
Request Body
Two images: first is start frame, second is end frame.Notes:
- Public URL or Base64
- Aspect ratios must be close: ratio between start/end frame must be in 0.8~1.25
- Format: png, jpeg, jpg, webp
- Max size: 50MB
- The length of the base64 decode must be under 10MB, and it must include an appropriate content type string. For instance:
Prompt description, max 1500 characters.
Video duration in seconds. The default is 5 seconds, with
5
being the only available option.Random seed for video generation.
- Defaults to a random seed number
- Manually set values will override the default random seed
Output video resolution. Default is 1080p, with
1080p
as the only option available.The movement amplitude of objects in the frame. Default:
Accepted values:
auto
Accepted values:
auto
, small
, medium
, large
Whether to add background music to the generated video. Default:
Acceptable values:
false
Acceptable values:
true
, false
When 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.