Grok Imagine Video

New
Replicate
Video Generation

xAI video with native audio and lip-sync, up to 15s

Try Grok Imagine Video

Image References

Sign in to generate — 50 free credits on sign-up

Examples

See what Grok Imagine Video can generate

Sample video output

0:05

Fun

Golden retriever catching frisbee in slow motion

Pricing

Price per Generation
Per generation€1.50

API Integration

Use our OpenAI-compatible API to integrate Grok Imagine Video into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

// Simple — just pass a string
const reply = await rw.run("grok-video", "Hello! What can you do?");
console.log(reply);

// With message history
const reply2 = await rw.run("grok-video", [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);

// Full response with usage info
const res = await rw.chat("grok-video", [
  { role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);
Specifications
Price
€1.50
Avg. latency
90.0s
Est. duration
2min
Developer
Replicate
Category
Video Generation
Supported Formats
mp4
Tags
audio
i2v
xai

Start using Grok Imagine Video today

Get started with free credits. No credit card required. Access Grok Imagine Video and 100+ other models through a single API.