Bearer sk-xxxxxxxxxxtask_id returned by the query task API| Field | Type | Description |
|---|---|---|
success | boolean | Success status |
generation_id | string | Generation ID (same as videoId) |
task_id | string | Task ID |
format | string | Video format (fixed as "mp4") |
size | number | Video file size (bytes) |
base64 | string | Base64 encoded video data |
data_url | string | Data URL format video data, can be used directly in frontend <video> tags |
data_url field can be used directly in HTML <video> tags:
base64 field to save the video as a file:
succeeded, proceed to next step.