xAI

This page is auto-generated from model configurations. Last updated: 2026-03-26.

This reference lists all available xAI video generation models and their parameters. Use these parameter names when calling the Generation API.


Grok Edit Video

Edit an existing video with natural-language instructions using xAI Grok Imagine.

Model ID: model_xai-grok-edit-video

Capabilities: video2video

LLM Markdown: https://app.scenario.com/api/models/model_xai-grok-edit-video/markdown

ParameterTypeRequiredDefaultMinMaxAllowed ValuesDescription
promptstringYes----Instructions for how to edit the video (style, objects, environment, motion)
videofileYes----Video to edit. Auto-preprocessed to max 8.7s at 720p.

Grok Extend Video

Extend an existing video with new footage using xAI Grok: up to 15s of source video is preprocessed at 720p, then 2–10s of continuation is generated from your prompt.

Model ID: model_xai-grok-extend-video

Capabilities: video2video

LLM Markdown: https://app.scenario.com/api/models/model_xai-grok-extend-video/markdown

ParameterTypeRequiredDefaultMinMaxAllowed ValuesDescription
promptstringYes----Describe how the video should continue after the input clip
videofileYes----Source video to extend.
durationnumberNo6210-Seconds of new footage to generate (2-10)

Grok Imagine Video

Generate videos using xAI's Grok model — text-to-video and image-to-video (up to 15s) at 480p or 720p with flexible aspect ratios

Model ID: model_xai-grok-imagine-video

Capabilities: txt2video, img2video

LLM Markdown: https://app.scenario.com/api/models/model_xai-grok-imagine-video/markdown

ParameterTypeRequiredDefaultMinMaxAllowed ValuesDescription
promptstringYes----Text description of the video to generate
imagefileNo----Source image for image-to-video generation. The model will animate the provided image based on the text prompt.
numOutputsnumberNo114-Number of videos to generate concurrently
durationnumberNo5115-Output video duration in seconds (1–15)
aspectRatiostringNo16:9--16:9, 3:2, 4:3, 1:1, 3:4, 2:3, 9:16Aspect ratio for the generated video
resolutionstringNo480p--480p, 720pOutput resolution for the generated video