We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

SpaceXAI: Grok Imagine Video

x-ai/grok-imagine-video
VideoInput: text · imageAdded May 18, 2026

Try SpaceXAI: Grok Imagine Video now

Runs on your balance at the prices above. New accounts start with free usage.

Sign in to use thisCreate free account
Results will appear here.
5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign inSession cost $0.00

About SpaceXAI: Grok Imagine Video

SpaceXAI: Grok Imagine Video is a video generation model from xAI. It sits in the video category and is built for turning text and image inputs into short video clips. If you are evaluating models for a pipeline that needs generated motion rather than text or still images, this is the kind of model to consider, and it comes from the same provider behind the Grok family.

On the input side, the model accepts text and images. On the output side, it produces video. The provider describes it as fast and as text-, image-, and reference-conditioned, which means you can drive generation from a written prompt, from an image, or from a combination of the two. Output clips run from 1 to 15 seconds at 24 frames per second, at either 480p or 720p. Seven aspect ratios are available: 16:9, 9:16, 1:1, 4:3, 3:4, 3:2 and 2:3. A first_frame image can be supplied, which lets you anchor the opening of the clip to a specific still. No context length is listed for this model, so treat the prompt as a generation instruction rather than a long conversational context.

Those capabilities point to a fairly specific set of uses. Short vertical clips in 9:16 suit social formats, while 16:9 and the wider ratios fit landscape playback. Because durations top out at 15 seconds, the model is a natural fit for single-shot sequences, animated stills, product or scene previews, and quick concept visualisation rather than long-form narrative video. Supplying a first_frame image is useful when you need continuity with existing artwork, a storyboard panel, or a photograph, and the range of aspect ratios means the same prompt can be adapted to different placements without regenerating from scratch.

You call the model through api14's OpenAI-compatible API using the model id "x-ai/grok-imagine-video". The supported request parameters are logprobs, max_tokens, response_format, seed, temperature, top_logprobs and top_p. The seed parameter is worth noting for video work, since it gives you a way to make runs reproducible when you are iterating on a prompt. Temperature and top_p control sampling, and the logprob-related parameters let you inspect token-level likelihoods where the endpoint returns them. Because the interface is OpenAI-compatible, existing clients and SDKs generally work with only the base URL and model id changed.

There are limits to keep in mind. Clips are capped at 15 seconds and resolutions at 720p, so work that needs longer runtime or higher fidelity will need a different model or an assembly step that stitches multiple generations together. Audio generation is not specified in the available details, so do not assume the output includes sound. If your task is text, reasoning, or still image work rather than motion, a model in those categories will fit better than this one.

How to call the SpaceXAI: Grok Imagine Video API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "x-ai/grok-imagine-video".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

// Video generation is asynchronous: submit, then poll until completed.
let job = await client.post("/videos", { body: {
  "model": "x-ai/grok-imagine-video",
  "prompt": "A drone shot over turquoise ocean waves at sunrise",
  "duration": 8,
  "resolution": "720p",
  "aspect_ratio": "16:9"
} });
while (!["completed", "failed"].includes(job.status)) {
  await new Promise((r) => setTimeout(r, 5000));
  job = await client.get(`/videos/${job.id}`);
}
console.log(job.status, job.unsigned_urls);

Supported parameters

logprobsmax_tokensresponse_formatseedtemperaturetop_logprobstop_p

Specifications

Input
text, image
Output
video
Resolutions
480p, 720p
Durations
1s, 2s, 3s, 4s, 5s, 6s, 7s, 8s, 9s, 10s, 11s, 12s, 13s, 14s, 15s
Aspect ratios
16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3

Requests on api14 · last 7 days

10-1610-1710-1810-1910-2010-2110-22

SpaceXAI: Grok Imagine Video: frequently asked questions

How much does the SpaceXAI: Grok Imagine Video API cost?
SpaceXAI: Grok Imagine Video costs cents_per_image_input $0.70 / second. It is charged from your USD balance only for successful requests; failed requests are free.
What can SpaceXAI: Grok Imagine Video do?
SpaceXAI: Grok Imagine Video accepts text, image and returns video.
How do I call SpaceXAI: Grok Imagine Video from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "x-ai/grok-imagine-video". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to SpaceXAI: Grok Imagine Video?
Comparable Video models at a similar price: SpaceXAI: Grok Imagine Video 1.5 Lite, Black Forest Labs: FLUX Video Edit, Black Forest Labs: FLUX Video Upscale. Each runs through the same API key, so switching is one string.

SpaceXAI: Grok Imagine Video community

New topic

This community has no topics yet. Open the first one about SpaceXAI: Grok Imagine Video.