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/jsonBearer authentication format, for example: Bearer {{API Key}}.
Request Body
Prompt text required to guide the generation.Range: 
1 <= x <= 2000.The image to be used for video generation. Supports public URL or Base64 encoding(
data:image/jpeg;base64,...).The length of the generated video in seconds. Default: 
Optional values:
6Optional values:
6, 10The resolution of the generated video. Default: 
768P- For 6-second videos: supports 
768P,1080P - For 10-second videos: supports 
768Ponly 
Whether to enable prompt optimization.Default: 
true.Response
Use the task_id to request the Task Result API to retrieve the generated outputs.