xAI
Operational· checked every few minutes

Grok Imagine Video 1.5 API

Grok Imagine Video 1.5 by xAI, from $0.071 per second of video, on the same API key as every other model.

Price per second of videoSound included
480p
$0.071/s
$0.355 for 5 s
720p
$0.124/s
$0.62 for 5 s
Model IDgrok-imagine-video-1.5
video.py
import os, time, requests
API = "https://api.zurelay.com/v1"
headers = {"Authorization": f"Bearer {os.environ['ZURELAY_API_KEY']}"}
res = requests.post(f"{API}/videos", headers=headers, json={
"model": "grok-imagine-video-1.5",
"prompt": "A red fox trotting through fresh snow at dawn, cinematic",
"seconds": 5,
"resolution": "720p",
"aspect_ratio": "16:9",
})
res.raise_for_status()
job = res.json()
# Takes a few minutes: poll until it's done
while job["status"] in ("queued", "in_progress"):
time.sleep(5)
job = requests.get(f"{API}/videos/{job['id']}", headers=headers).json()
if job["status"] == "failed":
raise SystemExit(job["error"]["message"])
video = requests.get(f"{API}/videos/{job['id']}/content", headers=headers)
with open("video.mp4", "wb") as f:
f.write(video.content)
print(f"Saved video.mp4 for ${job['cost']}")

Base URL https://api.zurelay.com/v1. Plain JSON over HTTPS: start a job, poll it, download the MP4. Video API docs

Resolutions
480p · 720p
Clip length
1–15 seconds
Aspect ratios
6 shapes, 21:9 to 9:16
Audio
Generated, included
Typical 5 s clip
Ready in ~50 s
Status
Operational

Pricing

Grok Imagine Video 1.5 API pricing. By the second.

Pay as you go from prepaid credit, with no subscription and no minimum. A video is charged only once it's delivered; videos that fail cost nothing.

ResolutionPer second5 s clip15 s clip
480p
$0.071$0.355$1.065
720p
$0.124$0.62$1.86

A clip costs its length in seconds times the price at its resolution. It's held from your balance when the job is accepted and charged when the video is delivered. Sound, first and last frames, reference images and the aspect ratio don't change the price.

Cost calculator

Pick a resolution and a length, and how many videos you make.

Resolution
Length5 seconds
Videos per month100
One clip
$0.62
Per second
$0.124
Every month$62.00

100 clips × $0.62

Get started

Call Grok Imagine Video 1.5 in three steps.

No waitlist and nothing to install: three HTTPS endpoints and your API key.

  1. 1

    Create a key

    Sign up, add credit and create an API key. Set a monthly budget or a rate limit per key if you like.

  2. 2

    Send requests to Zurelay

    Every video endpoint lives under this base URL. Send your key as a Bearer token.

    https://api.zurelay.com/v1
  3. 3

    Use grok-imagine-video-1.5

    POST a prompt to /v1/videos, poll the job every few seconds until it's completed, then download the MP4. Videos are kept for 30 days.

    grok-imagine-video-1.5

FAQ

Grok Imagine Video 1.5 API questions.

Anything else, write to sales@zurelay.com and an engineer will answer.

How much does the Grok Imagine Video 1.5 API cost?

Zurelay charges by the second of video: $0.071 at 480p, $0.124 at 720p. A clip costs its length times that rate, so a 5 s 720p clip is $0.62. It's charged only when the video is delivered, and videos that fail cost nothing.

How do I call the Grok Imagine Video 1.5 API?

Create a Zurelay API key and POST a prompt to https://api.zurelay.com/v1/videos with the model ID grok-imagine-video-1.5. Poll GET /v1/videos/{id} every few seconds until its status is completed, then download the MP4 from /v1/videos/{id}/content.

How long does Zurelay keep generated videos?

30 days. A completed job's url is a signed link that lasts 24 hours; fetch the job again for a fresh one, or download the MP4 through /v1/videos/{id}/content.

More models on Zurelay

All models

Stop paying list price.
Start saving today.

Create a key in seconds, point the SDK you already use at Zurelay, and every request costs up to 85% less from the first token.