xAI: Grok Imagine Video

xai/grok-imagine-video

xAI Grok Imagine Video API pricing

Grok Imagine Video costs from $0.020 per second of video on Oxyy, depending on the resolution (480p $0.020, 720p $0.028). That is the pay-as-you-go price after the current 60% discount (Launch Promo; standard price $0.050). It takes text, images and video as input and returns video. It is the lowest-priced xAI video model on Oxyy; for every model and rate, see Grok API pricing.

Previous-generation, lower-cost video generation and editing model. Text, image and video in, video out.
ModalitiesTextImageVideoVideo
PriceFrom $0.020 per second of videoAll Grok API pricing

Providers

Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.

ProviderPriceUnit
xAIFrom $0.020per second of video

Capabilities (4)

Image To VideoVideo EditingVideo ExtensionBatch

Pricing

What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.

Price
From $0.020
per second of video · standard price $0.050
Current discount
60%
off every rate
RateStandard priceChargedUnit
480p$0.050$0.020per second of video at 480p
720p$0.070$0.028per second of video at 720p

Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.

Specifications

Model ID
grok-imagine-video
Developer
xAI
Type
Text to video
Input
Text, images and video
Output
Video
Tokenizer
Grok
Series
Grok Imagine
Image input
Up to 20 MB each
Video input
Up to 100 MB each
Endpoint
/v1/videos/generations

Best for

Video generationVideo editingLow cost

Quickstart

Call grok-imagine-video with a POST to /v1/videos/generations on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. Video is generated as a job: submit it, then poll the job id until it completes.

import os, time, requests

headers = {"Authorization": f"Bearer {os.environ['OXYY_API_KEY']}"}

# Video is a job: the POST answers 202 with an id, then you poll it.
job = requests.post("https://api.oxyy.ai/v1/videos/generations", headers=headers, json={"model":"grok-imagine-video","prompt":"A serene lake at dawn, slow dolly in","duration":5}).json()

while job["status"] not in ("completed", "failed", "cancelled"):
    time.sleep(5)
    job = requests.get(f"https://api.oxyy.ai/v1/videos/generations/{job['id']}", headers=headers).json()

print(job["status"], job.get("result", {}).get("data", [{}])[0].get("url"))

Availability

The share of requests to this model that completed successfully over the last 30 days. Requests the caller cancelled, and requests still in flight, are not counted. When an upstream provider errors, the gateway retries against another provider serving the same model, so a single provider incident does not necessarily show up here.

Requests (30 days)
7
A success rate is shown from 100 completed requests
Days with traffic
4
of the last 30 days

Frequently asked questions

What is Grok Imagine Video?
Previous-generation, lower-cost video generation and editing model. Text, image and video in, video out.
How much does Grok Imagine Video cost?
Grok Imagine Video costs from $0.020 per second of video on Oxyy, depending on the resolution (480p $0.020, 720p $0.028). That is the pay-as-you-go price after the current 60% discount (Launch Promo; standard price $0.050). You pay per request, with no subscription.
How do I generate video with Grok Imagine Video?
Send a POST request to https://api.oxyy.ai/v1/videos/generations with "model": "grok-imagine-video", authenticated with your Oxyy API key. Video is generated as a job: the response carries a job id, which you poll with GET https://api.oxyy.ai/v1/videos/generations/{id} until it completes.
What inputs and outputs does Grok Imagine Video support?
Grok Imagine Video accepts text, images and video as input and returns video.
What other models does xAI have?
xAI also offers Grok Imagine Video 1.5, Grok 4.20 (0309) Non-Reasoning, Grok 4.20 (0309) Reasoning and Grok 4.20 (0309) Multi-Agent through Oxyy.

Alternatives to Grok Imagine Video

Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

Explore more models

More models from xAI