Grok Video
Grok Video 1.5 Generation
Generate video from text or up to one first-frame image using grok-video-1.5
POST
- Supports text-to-video and video generation from one optional first-frame image.
- Accepts at most one public first-frame image URL.
- Supports durations from
1to15seconds; default is8. - Supports
480p,720p, and1080p. - Async task API: poll video task status with the returned task ID.
Authorizations
string
required
All API requests require Bearer Token authentication.
Body
string
default:"grok-video-1.5"
required
Use
grok-video-1.5.string
required
Describe the motion, camera movement, and visual direction for the reference image.
string
required
Optionally pass one public first-frame image URL.
- Maximum:
1 - Supported URL schemes:
http://,https://
integer
default:"8"
Video duration.Supported range:
1–15 secondsstring
default:"720p"
Video resolution. Supported values:
480p, 720p, 1080p.string
default:"16:9"
Video aspect ratio. Supported values:
1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3.Pricing
Response
string
Task identifier for polling video status.
string
Object type, always
generation.task.string
Model name used for the task.
string
Task status:
queued, in_progress, completed, or failed.Create a video task
Query task status
Use the returnedid with Video Task Status.