Grok Imagine Video Extend
Grok Imagine Video Extend continues an existing clip using xAI Grok Imagine Video. Provide a source MP4 (2–15 seconds) and a text prompt describing what should happen next; the model generates a 2–10 second extension and returns the original and extension stitched together. Output resolution follows the input video.
See more
Grok Imagine Video Extend continues an existing clip using xAI Grok Imagine Video. Provide a source MP4 (2–15 seconds) and a text prompt describing what should happen next; the model generates a 2–10 second extension and returns the original and extension stitched together. Output resolution follows the input video.
Connect Claude, Cursor, VS Code, or Codex to Layer’s MCP server and Grok Imagine Video Extend becomes a tool your agent can reach for — it picks the parameters, runs the generation, and shows you the result in the conversation.
https://mcp.app.layer.ai/mcpAsk your agent
“Use Grok Imagine Video Extend to animate a torch-lit dungeon corridor with a slow dolly forward.”
execute_forge({
"base_model_id": "grok-imagine-video-extend",
"prompt": "A torch-lit dungeon corridor, slow dolly forward",
"batch_size": 1,
"duration_seconds": 2
})Authenticate with a personal access token, post the model’s own form, and poll the inference until it completes. Every field below is accepted by this endpoint.
# Start the generation — returns an inference id straight away.
curl -X POST https://api.app.layer.ai/api/v2/workspaces/$WORKSPACE_ID/base-models/xai-grok-imagine-video-extend/inferences \
-H "Authorization: Bearer $LAYER_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A torch-lit dungeon corridor, slow dolly forward"
}'
# Poll until status is "complete" — the response then carries the asset URLs.
curl https://api.app.layer.ai/api/v2/workspaces/$WORKSPACE_ID/inferences/$INFERENCE_ID \
-H "Authorization: Bearer $LAYER_TOKEN"- prompt stringrequired
- Describe what to generate, or the change to make.
- color_palette any
- Colors the output should use. This model doesn't take a palette natively, so the colors are added to the prompt.
- duration_seconds integerdefault 2
- Length of the generated clip, in seconds.
- guidance_file_init_video file[]required
- The video to modify
- prompt_language string
- The language the prompt is written in, so it reaches the model as you meant it.
Why use Grok Imagine Video Extend for video?
Cinematic video generation
Grok Imagine Video Extend creates high-fidelity video content suitable for trailers, gameplay previews, and marketing materials with temporal consistency.
Flexible input modes
Generate from text prompts, reference images, or existing video. Supports various aspect ratios and durations for different content needs.
Production-ready output
Clean motion, stable framing, and coherent transitions make outputs ready for direct use in UA campaigns and social content.
Game trailers and cinematic previews
Create attention-grabbing trailers and gameplay previews that showcase your game at its best. High temporal consistency ensures smooth, professional results.
UA video creative at scale
Generate dozens of video ad variants for A/B testing across platforms. Rapid iteration lets performance teams optimize creative angles quickly.
Character animations and in-game cinematics
Bring characters to life with animated sequences for cutscenes, promotional materials, and social content.
FAQ
How much does Grok Imagine Video Extend cost? Is it free?+
How does Layer's pricing work?+
There are no seat fees and no feature gates. Subscriptions start at $60 a month for 1,000 Creative Units, and each further 1,000 CUs is another $60 a month. Unused units roll over to the next billing period, up to 10% of the units included in the period. You can change the amount each month. Every generation on Layer (image, video, 3D, or audio) consumes Creative Units, and you only pay for what you create.
Other video models on Layer
Grok Imagine Video 1.5
xAI
xAI's Grok Imagine 1.5 image-to-video model, animating images into 480p or 720p clips.
Grok Imagine Video 1.5 Lite
xAI
xAI's lower-cost Grok Imagine Video 1.5 Lite, generating 480p, 720p, or 1080p clips from text or a still image.
Grok Imagine Video
xAI
xAI's video generation model capable of creating high-quality 720p video from text and images.
Kling v2.6 Pro
Kling
Generate videos from images with native audio generation and fluid motion.
Bria Video Background Removal
Bria AI
Remove video backgrounds for advanced video editing.
Kling O3 Standard
Kling
Generate videos with prompts, images, or reference elements. Standard tier for balanced quality and speed.