Poll video generation status
/v1/videos/{video_id}Poll a video generation task created by POST /v1/videos. Use the submitted task id to check whether generation is still queued, running, completed, or failed.
Authentication
Authorization Bearer
API key as bearer token in Authorization header.
Path Parameters
video_idstringrequiredThe video task ID.
Response
idstringVideo task ID.
objectstringAlways video.
statusenum<string>queued, in_progress, completed, or failed.
modelstringModel used.
promptstringInput prompt.
created_atintegerUnix timestamp.
updated_atintegerLast-updated Unix timestamp.
parametersobjectEcho of generation parameters such as resolution, duration, aspect_ratio, seed, audio, and watermark.
responseobjectRaw response details when available.
urlstringPresigned video URL when status=completed.
video_urlstringVideo URL when available.
durationintegerFinal video duration in seconds when completed.
contentobjectAdditional generated assets when returned.
content.last_frame_urlstringLast-frame image URL when return_last_frame=true and returned.
errorobjectError details when status=failed.
error.codestringError code.
error.messagestringHuman-readable error message.
usageobjectUsage and billing details when available.
usage.prompt_tokensintegerInput token count when returned.
usage.completion_tokensintegerOutput token count when returned.
usage.total_tokensintegerTotal token count when returned.
usage.input_tokensintegerInput token count for providers that use input/output names.
usage.output_tokensintegerOutput token count for providers that use input/output names.
usage.generated_imagesintegerGenerated image count when returned.
usage.audio_duration_secondsnumberAudio duration used for billing when returned.
usage.video_duration_secondsnumberVideo duration used for billing when returned.
usage.provider_request_idstringProvider request ID used for upstream correlation.
Additional fields may appear, such as resolution, fileformat, frames, generate_audio, or response.*, depending on the model.
Polling Behavior
queued: the task has been accepted and is waiting to start.in_progress: generation is running. Continue polling.completed: the result is ready. Readurlorvideo_urlfor the generated video.failed: generation failed. Readerror.codeanderror.message.