Skip to main content
POST
Get Jimeng video task

Polling and status

Replace <TASK_ID> with the returned task_id, keep the same req_key and poll every 10 to 15 seconds:
Top-level code: success means the read succeeded, not that generation is complete. A successful task includes:
After success, download the video.

Failures and retries

After a polling disconnect, retry with the same task_id. On FAILURE, read data.fail_reason. Do not use CVSync2AsyncSubmitTask to retry a read. Files remain for 72 hours and task records for 7 days. After a 429 or temporary service error, wait before retrying the read; do not create another task. If a task is missing, check the identifier and the account that owns the API key.

Authorizations

Authorization
string
header
required

API key (sk-xxx)

Query Parameters

Action
enum<string>
default:CVSync2AsyncGetResult
required

Operation name; use this page's fixed value.

Available options:
CVSync2AsyncGetResult
Version
enum<string>
default:2022-08-31
required

Protocol version.

Available options:
2022-08-31

Body

application/json
req_key
string
required

The model name used to create the task.

task_id
string
required

Top-level task_id from submission.

Response

Read succeeded; inspect data.status.

code
string
required

success means the read succeeded, not the generation.

data
object
required
message
string