Grok Imagine Extension
- Grok Imagine video extension model, generates continuation clips based on existing videos
- Input video must be a 2-15 second MP4, extension clip duration supports 2-10 seconds
- Async processing mode, use the returned task ID to query task status
- Generated video links are valid for 24 hours, please save them promptly
Authorizations
All APIs require Bearer Token authentication
Add to request header:
Authorization: Bearer YOUR_API_KEY
Body
grok-imagine-video-extension: Generates continuation clips based on existing videos
Text prompt describing what should happen next in the video
Notes:
- Supports both Chinese and English
- Recommended to describe camera continuation, action progression, or scene transitions
"The camera slowly zooms out to reveal the city skyline at sunset"
Public URL of the input video
Notes:
- Must be a publicly accessible MP4 URL
- Input video duration must be between
2-15seconds
"https://example.com/input-video.mp4"
Extension clip duration in seconds
Notes:
- Range:
2-10 - Defaults to
6seconds upstream when not specified
2
Response
Task created successfully
Task creation timestamp
1757165031
Task ID
"task-unified-1757165031-uyujaw3d"
Actual model name used
Specific task type
video.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status
pending, processing, completed, failed "pending"
Asynchronous task information
Task output type
video "video"