x-ai logo
x-ai

SpaceXAI: Grok Imagine Video

Source description (English)

Grok Imagine Video is SpaceXAI's fast, text-, image-, and reference-conditioned video generation model. It produces short videos (1–15 seconds, 24 fps) at 480p or 720p across seven aspect ratios -...

Overview

Model specifications

Context
Not provided
Maximum output
Not provided
Architecture
text+image->video
Tokenizer
Grok
Knowledge cutoff
Not provided
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Video output
$0.05
per second
  • 480p$0.05
  • 720p$0.07
Image input
$0.002
per image
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

This creates a video job. Poll its status before downloading the completed video.

API documentation

curl --fail-with-body https://openrouter.ai/api/v1/videos \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"x-ai/grok-imagine-video","prompt":"A slow camera move across a sunlit mountain landscape"}'

# Replace JOB_ID with the returned id to check progress.
curl --fail-with-body "https://openrouter.ai/api/v1/videos/JOB_ID" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY"
Capabilities

InputOutput

Input
textimage
Output
video
API

Supported API parameters

logprobsmax_tokensresponse_formatseedtemperaturetop_logprobstop_p
Available providers

1 Provider

Checked: September 7, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

xAI

Not provided
Context
Not provided
Maximum output
Not provided
x-ai

4 models

All models