Skip to contentx402 is live on Robinhood Chain: agents can now pay for any model, per call, in USDG →
OmniRail
← All models

SpaceXAI · Video model

Grok Imagine Video

x-ai/grok-imagine-video
  • Video
Released May 18, 2026

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 -...

Specifications

Durations
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 s
Resolutions
480p, 720p
Aspect ratios
16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3
Sizes
854x480, 1280x720, 480x854, 720x1280, 480x480, 720x720, 640x480, 960x720, 480x640, 720x960, 720x480, 1080x720, 480x720, 720x1080
Start from an image
first frame
Edit a video
no
Audio
none

Use it

POST /api/v1/videos · MCP generate_video · get_video · full reference

# 1. submit (202 with id, token, poll_url)
curl https://omnirail.org/api/v1/videos \
  -H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
  -d '{"model":"x-ai/grok-imagine-video","prompt":"a paper boat drifting down a rainy street, slow dolly in","duration":1,"resolution":"480p","aspect_ratio":"16:9"}'

# 2. poll every ~30 s until status is "completed"
curl https://omnirail.org/api/v1/videos/$JOB_ID -H "Authorization: Bearer $OMNIRAIL_KEY"