extend_video
Continue an existing video by adding new content from its last frame. Specify what happens next and the extension length to create a longer video.
Instructions
Extend an existing video with a follow-up prompt.
Continues the source video seamlessly from its last frame. `duration` sets
the length of the extension only, not the total output. For example, a
10 second input plus `duration=5` yields a 15 second final video.
Args:
prompt: What should happen in the extended segment.
video_url: Public URL of the source video (.mp4, 2–15 s).
model: Video model (default `grok-imagine-video`).
duration: Length of the extension in seconds (2–10, default 6).
Returns:
Markdown block with the extended video URL and total duration.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| video_url | Yes | ||
| model | No | grok-imagine-video | |
| duration | No |