Status flow
| Status | Terminal | Description |
|---|---|---|
queued | No | The job has been accepted and is waiting for a processing slot. |
processing | No | The job is actively running through the pipeline stages. |
completed | Yes | All stages finished successfully. Output is available. |
failed | Yes | A pipeline stage encountered an unrecoverable error. |
cancelled | Yes | The job was cancelled by you before it completed. |
completed, failed, cancelled) will not change again. Once a job reaches one of these states, it stays there.
Status field reference
Current job status. One of
queued, processing, completed, failed, cancelled.Integer from
0 to 100 indicating how far through the pipeline the job has progressed. Advances monotonically — it never goes backward. Reaches 100 only when the job is completed.The pipeline stage currently executing. One of
video_analysis, audio_analysis, motion_analysis, style_extraction, style_application, rendering. null when the job is queued, completed, failed, or cancelled.Present only when
status is failed. Contains stage (the pipeline stage where failure occurred) and message (a human-readable description of the error).Progress and stages
As the job moves through the pipeline,current_stage reflects the active stage and progress_percent advances:
current_stage | Typical progress_percent range |
|---|---|
| (queued, no stage) | 0 |
video_analysis | 1–20 |
audio_analysis | 21–35 |
motion_analysis | 36–55 |
style_extraction | 56–65 |
style_application | 66–85 |
rendering | 86–99 |
| (completed) | 100 |
If you submitted a template-only job (style extraction without rendering), the job completes at the end of
style_extraction and progress_percent jumps to 100 without entering style_application or rendering.Detecting completion
There are two ways to know when a job is done: polling and webhooks.Polling
Fetch the job status on a schedule until you reach a terminal status:Webhooks
Configure a webhook URL when creating a job. The engine sends aPOST request to your endpoint when the job reaches any terminal status.