Sand AISand AI MAGI-2MAGI-2 is now on SandBase: 1080p video with native audioTry it now
Video to VideoxAI

Grok Imagine Video Edit

API docs
x-ai/grok-imagine-video/video-edit

Grok Imagine Video Edit is xAI's video-to-video AI model. Transform, enhance, and edit video content using text prompts - from style changes to object manipulation and scene modification.

Try the model

Playground

Open playground
Input
Text description of the desired edit.
URL of the input video to edit. The video will be resized to a maximum area of 854x480 pixels and truncated to 8 seconds.
Resolution of the output video.

Fill in prompt, video to run

Per run$0.3
Result
Idle

Your output will appear here

Complete the inputs, then click Run.

Grok Imagine Video Edit

Grok Imagine Video edit: change an existing clip with an instruction while keeping its motion.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 4,096 characters.
videovideo URL, required—Source clip.
resolutionauto480p720pautoSets the per-second rate.

Billing

$0.08 per output second at 720p and $0.06 otherwise; the output matches the source length. The quote before submission assumes 5 seconds.

Outputauto480p720p
3s source$0.18$0.18$0.24
5s source$0.30$0.30$0.40
8s source$0.48$0.48$0.64

Failed runs are not charged.

Prompting

  • Describe subject, action, camera, and sound.

Also on SandBase

Other Grok Imagine Video endpoints: xai/grok-imagine-video/text-to-video, xai/grok-imagine-video/image-to-video, xai/grok-imagine-video/reference-to-video, xai/grok-imagine-video/video-extend, xai/grok-imagine-video/1.5/text-to-video (1.5, newer).