Get Video Generation Status
get-video-generation-statusGets the status and result of a video generation job started by create-video. Pass the job_id and continuation_token from the previous create-video or get-video-generation-status response. While the job is still running, wait the number of seconds the response's polling_policy.wait_seconds gives, then poll again with the same job_id and the updated continuation_token. Never poll sooner than that: it returns the same answer and the video arrives no earlier. A completed job may carry the video before its preview_url is available; when the response still carries a polling_policy, wait as instructed and poll again to obtain the preview. Follow the polling_policy.instructions in every response, and relay them to the user while they wait. Automatic polling stops after 20 minutes. A delayed response means generation timed out or ran past the polling window and the video may still arrive; relay its message, direct the user to projects_url and do not start another generation automatically. An invalid_job error that carries projects_url means the status can no longer be checked; relay its message and share projects_url. When the video is ready, share its id and view_url with the user. Temporary preview and download links may expire; view_url opens the saved Canva asset.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_id": "<job_id>",
"continuation_token": "<continuation_token>"
},
"name": "get-video-generation-status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id returned by create-video. This value is stable and never changes. | |
| user_intent | No | Mandatory description of what the user is trying to accomplish with this tool call. This should always be provided by LLM clients. Please keep it concise (255 characters or less recommended). | |
| continuation_token | Yes | The continuation_token from the most recent create-video or get-video-generation-status response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | No | The generated video. Only present when the job completed. Its durable id can be used even when the temporary preview_url is absent. | |
| job_id | Yes | ID of the video generation job. Stable across all responses. | |
| status | Yes | Status of the job. While 'pending' or 'in_progress', poll again with the same job_id and the updated continuation_token after waiting polling_policy.wait_seconds. 'completed' carries the video. 'delayed' means automatic polling has stopped: generation timed out or ran past 20 minutes, and the video may still arrive; direct the user to projects_url. 'failed' carries the failure. 'polled_too_early' means you called before the wait window elapsed — wait polling_policy.wait_seconds, then poll again with the same job_id and continuation_token. | |
| failure | No | Why the job failed. Only present when status is 'failed'. Tell the user and do not automatically call create-video again. | |
| message | No | Human-readable guidance suitable to relay to the user. Present when status is 'delayed', and when a completed video's preview is not available once polling has stopped. | |
| progress | No | Optional progress details while the job is in progress. | |
| projects_url | No | Canva Projects destination where the video will appear if it generated. Present when status is 'delayed', whether generation timed out or ran past the polling window; share it with the user. | |
| polling_policy | No | How and when to poll next. Present while the job is still running, and when the job has completed but the video's preview_url is not yet available. | |
| continuation_token | No | Opaque token to pass on the next poll. Always use the most recent token. | |
| expected_duration_seconds | No | Estimated total generation time in seconds, when available. |