models/xAI/Grok Imagine Video 1.5 Preview
xAI

Grok Imagine Video 1.5 Preview

video
Compare

xAI's next-generation video generation model. Generates, edits, and extends videos from text and image inputs. Supports multiple aspect ratios and resolutions with improved quality over the previous generation.

MODALITIES
video
PER SECOND
$0.080
RELEASED
2026-06-03

Grok Imagine Video 1.5 Preview (xai/grok-imagine-video-1.5-preview) is a video model from xAI, released 2026-06-03. Pricing via AIgateway: $0.080 per second. Call it via https://api.aigateway.sh/v1/videos/generations — set model="xai/grok-imagine-video-1.5-preview".

model · xai/grok-imagine-video-1.5-preview

Use this model

model: xai/grok-imagine-video-1.5-preview
curl https://api.aigateway.sh/v1/videos/generations \
  -H "Authorization: Bearer $AIGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"xai/grok-imagine-video-1.5-preview","prompt":"a slow drone shot over a mountain lake"}'
API schema

Call Grok Imagine Video 1.5 Preview from any OpenAI SDK

POST https://api.aigateway.sh/v1/videos/generations·Content-Type: application/json·Auth: Bearer sk-aig-...

Request body

json
{
  "model": "xai/grok-imagine-video-1.5-preview",
  "prompt": "A drone shot of a mountain lake at golden hour",
  "duration": 5,          // seconds
  "aspect_ratio": "16:9"
}

// Response is an async job — poll /v1/jobs/<id> until status === "completed".

Response

json
{
  "id": "job_abc123",
  "status": "queued",        // queued | processing | completed | failed
  "model": "xai/grok-imagine-video-1.5-preview",
  "created": 1776947082
}

// After completion:
{
  "id": "job_abc123",
  "status": "completed",
  "result": {
    "url": "https://media.aigateway.sh/video/abc123.mp4",
    "duration": 5,
    "resolution": "1920x1080"
  }
}

Quickstart

# See docs at https://aigateway.sh/docs

Errors

401authentication_errorInvalid or missing API key
402insufficient_creditsWallet empty (PAYG only)
404not_foundUnknown model or endpoint
429rate_limit_errorOver per-minute limit — see Retry-After header
500server_errorUpstream provider failed (retryable)
503service_unavailableUpstream saturated (retryable)
Full docs →API reference →OpenAPI spec →llms.txt →

Frequently asked questions

What is Grok Imagine Video 1.5 Preview?
xAI's next-generation video generation model. Generates, edits, and extends videos from text and image inputs. Supports multiple aspect ratios and resolutions with improved quality over the previous generation. It is a video model from xAI, accessible via AIgateway's OpenAI-compatible API at slug xai/grok-imagine-video-1.5-preview.
How much does Grok Imagine Video 1.5 Preview cost via AIgateway?
Pass-through pricing. See the pricing panel on this page for exact rates.
How do I call Grok Imagine Video 1.5 Preview from my code?
Point the OpenAI SDK at https://api.aigateway.sh/v1 with your AIgateway key and set model to "xai/grok-imagine-video-1.5-preview". The request and response shapes match OpenAI exactly.
Does Grok Imagine Video 1.5 Preview support streaming, tool calling, vision, and JSON mode?
Streaming — no. Tool calling — no. Vision — no. JSON mode — no. Prompt caching — no.
Can I bring my own xAI API key (BYOK)?
Yes. Attach a xAI key in your AIgateway dashboard and this model flips to pass-through — you pay xAI directly and AIgateway adds no platform fee on those calls.