Videoxaifrom $0.05 / s

Grok Imagine · text→video

Stylised, quick. By xai.

xai/grok-imagine-video/video-extend

View docs
const res = await fetch("https://api.elyum.ai/v1/generations", {  method: "POST",  headers: {    Authorization: `Bearer ${process.env.ELYUM_API_KEY}`,    "Content-Type": "application/json",    Prefer: "wait=55",  },  body: JSON.stringify({    "model": "xai/grok-imagine-video/video-extend",    "prompt": "A slow push-in on a lighthouse at dusk, waves breaking below",    "inputs": [      {        "role": "source",        "url": "https://example.com/clip.mp4"      }    ]  }),});const generation = await res.json();console.log(generation.status, generation.outputs);

Input

Sourcevideo

Result

Example
Price

$0.05 at 480p, $0.11 at 720p and $0.18 at 1080p per second of video. Charged when the file is delivered; a render that fails or is canceled costs nothing.

More models by xai

Grok Imagine · text→video task by task, then the lowest price of each other model. What a render costs depends on the resolution and length you choose.

ModelPriceResolutionLength
Grok Imagine · text→video Text to video$0.05 – $0.18 / s—1 – 15 s
Grok Imagine · text→video Image to video$0.05 – $0.18 / s—1 – 15 s
Grok Imagine · text→video Reference to video$0.05 – $0.18 / s480p – 720p1 – 10 s
Grok Imagine · text→video Video edit$0.05 – $0.18 / s——
Grok Imagine · text→video Video extend$0.05 – $0.18 / s—2 – 10 s
Grok Imagine · imageText to image · Image edit$0.04 / image1K – 2K—