Get Video Generation

View as Markdown

Retrieve the status and result of a BytePlus video generation task.

Returns from DB when the task is in a terminal state. Otherwise polls BytePlus live and syncs the DB row.

Poll until status is one of: succeededcontent.video_url is populated, failed — check error field, expired — task timed out.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

task_idstringRequired

Response

Task status and result when succeeded
idstring
statusstring
modelstring or null
errorobject or null
created_atinteger or null
updated_atinteger or null
contentobject or null
seedinteger or null
resolutionstring or null
ratiostring or null
durationinteger or null
framesinteger or null
framespersecondinteger or null
generate_audioboolean or null
safety_identifierstring or null
priorityinteger or null
draftboolean or null
draft_task_idstring or null
service_tierstring or null
execution_expires_afterinteger or null
usageobject or null

Errors

401
Unauthorized Error
422
Unprocessable Entity Error
502
Bad Gateway Error