Grok ImaginexAI

Grok Imagine in the Video Model Arena

Fast, low-cost image and text to video with native audio.

Grok Imagine in Korpi

By category

CategoryScoreVotes
Anime—0
Realism—0
Motion—0
Text in video8691
Faces—0
Product—0

Grok Imagine clips

  • Latte art pour

    6s · 720p

  • Skateboard bowl trick

    6s · 720p

  • Neon sign in the rain

    6s · 720p

  • Fisherman portrait

    6s · 720p

  • Sneaker splash

    6s · 720p

  • Anime rooftop at dusk

    6s · 720p

Grok Imagine vs

Make this video in Korpi

Script, scenes, voice and captions in one place.

Run Grok Imagine via the API

$0.0099 per clip on api.korpi.ai

Get API key
JavaScript
async function readResponse(response) {
  const result = await response.json();
  if (!response.ok || result.error || result.status === "failed") {
    throw new Error(JSON.stringify(result));
  }
  return result;
}

const res = await fetch("https://backend.korpi.ai/v1/videos/generations", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.KORPI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "grok-imagine",
    "prompt": "A girl with a red scarf turns toward the camera on a neon rooftop at dusk",
    "aspect_ratio": "9:16",
    "duration": 6
  }),
});
let result = await readResponse(res);

const deadline = Date.now() + 30 * 60_000;
while (true) {
  let next = result.result_url;
  if (!next && ["queued", "in_progress", "pending"].includes(result.status)) {
    next = `https://backend.korpi.ai/v1/videos/generations/${result.id}`;
  }
  if (!next) break;
  if (Date.now() >= deadline) throw new Error("Polling timed out");
  await new Promise((resolve) => setTimeout(resolve, 3000));
  const poll = await fetch(new URL(next, "https://backend.korpi.ai"), {
    headers: { Authorization: `Bearer ${process.env.KORPI_API_KEY}` },
  });
  result = await readResponse(poll);
}
console.log(result);