Skip to main content
POST
Create short videos from a text prompt using xAI’s Grok Imagine Video.

Available Model

grok-imagine/text-to-video — $0.007 per second of generated video.

Supported Options

  • duration: 6, 10, 12, 15 seconds
  • ratio: 1:1, 16:9, 9:16
  • resolution: 480p, 720p
  • mode: fun, normal, spicy, custom
string
required
Must be grok-imagine/text-to-video.
string
Webhook callback URL.
object
required
Typical generation time: under 5 minutes. The result is delivered via Webhook or the Query Task endpoint as an MP4 URL hosted on Max API’s CDN.