Extend Video
AI-generatedSummary
Extend a previously generated Grok Imagine video by supplying its Task ID and optionally receiving the updated task result synchronously or asynchronously.
Inputs
- Task ID (to extend) (required) — Task ID of a previous Grok Imagine video generation to extend
- Reply URL — Webhook URL to call when the extension task completes
- Reply Ref — Custom reference string passed back in the webhook callback
- Wait for Completion — Whether to wait for the task to complete before returning; polls every 3 seconds with a 5-minute timeout
Output shape
a JSON object representing the task creation response or the final completed task result
If 'Wait for Completion' is true, the operation polls the task status endpoint until success or failure, then returns detailed task information; otherwise, it returns immediately with the task creation response containing the new Task ID.
Examples
Example 1: Extend a video synchronously
Set 'Task ID (to extend)' to the ID of the original video generation. Use 'Wait for Completion' as true to wait and receive the extended video result in the node's output.
Example 2: Extend a video asynchronously with callback
Set 'Task ID (to extend)' and provide a 'Reply URL' webhook for asynchronous notification when the task completes. Set 'Wait for Completion' to false to proceed immediately without waiting.