Request Headers
Supports:
application/jsonBearer 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. Default is 4 seconds, with options available for
4 or 8 seconds.Random seed for video generation.
- Defaults to a random seed number
- Manually set values will override the default random seed
Resolution based on duration:
- 4s: default 360p, options:
360p,720p,1080p - 8s: default 720p, options:
720p
The movement amplitude of objects in the frame. Default:
Accepted values:
autoAccepted values:
auto, small, medium, largeWhether to add background music to the generated video. Default:
Acceptable values:
falseAcceptable values:
true, falseWhen 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.