X AI Grok Imagine Video Text To Video
Playground
Try it on WaveSpeedAI!X-AI Grok Imagine Video generates videos from text descriptions using xAI’s Grok Imagine Video model. Create high-quality videos with customizable duration, aspect ratio, and resolution. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
Grok Imagine Video Text-to-Video generates videos directly from text prompts. Describe the scene, subject, motion, camera behavior, and atmosphere, then choose duration, aspect ratio, and resolution to create a short video output.
Why Choose This?
-
Text-driven video generation
Create videos from natural-language descriptions without providing an input image or video. -
Short video duration options
Generate6sor10svideos for quick creative iteration and short-form content. -
Multiple aspect ratios
Supports16:9,1:1, and9:16for landscape, square, and vertical video formats. -
Resolution options
Choose720pfor higher-quality output or480pfor lower-resolution output. -
Simple generation workflow
Provide a prompt, select output settings, and generate the final video.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired video. Minimum length: 1 character. |
| duration | No | Video duration in seconds. Supported values: 6 or 10. |
| aspect_ratio | No | Aspect ratio of the generated video. Supported values: 16:9, 1:1, or 9:16. Default: 16:9. |
| resolution | No | Resolution of the output video. Supported values: 720p or 480p. |
How to Use
- Write your prompt — Describe the scene, subject, motion, camera movement, lighting, and atmosphere.
- Set duration — Choose
6or10seconds. - Select aspect ratio — Use
16:9for landscape,9:16for vertical content, or1:1for square video. - Select resolution — Use
720pfor higher-quality output or480pfor lower-resolution output. - Run — Submit the request and retrieve the generated video.
Pricing
Pricing is $0.05 per second of generated video.
| Duration | Price |
|---|---|
| 6s | $0.30 |
| 10s | $0.50 |
Best Use Cases
- Social media videos — Generate short-form videos for vertical, square, or landscape formats.
- Concept visualization — Turn written ideas into quick motion previews.
- Marketing and ads — Create short promotional clips from text descriptions.
- Storytelling — Generate narrative video scenes from detailed prompts.
- Creative prototyping — Test video concepts before production.
Pro Tips
- Be specific about subject, action, camera movement, lighting, and atmosphere.
- Use
16:9for widescreen videos,9:16for mobile-first content, and1:1for square layouts. - Use
6sfor quick testing and10swhen the scene needs more time to develop. - Choose
720pfor higher-quality output and480pwhen lower resolution is acceptable. - Include motion details and timing cues for more controlled video generation.
Related Models
- Grok Imagine Video Image-to-Video — Generate video from reference images.
- Grok Imagine Video Edit — Edit existing videos with text instructions.
- Grok Imagine Image Text-to-Image — Generate images from text prompts.
## Authentication
For authentication details, please refer to the [Authentication Guide](/api-authentication).
## API Endpoints
### Submit Task & Query Result
<ApiTabs submitUrl={model.submitUrl} resultUrl={model.resultUrl} payload={model.defaultValues} />
## Parameters
### Task Submission Parameters
#### Request Parameters
<RequestParams params={model.params} />
#### Response Parameters
<SubmitResponse />
#### Result Request Parameters
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| id | string | Yes | - | Task ID |
#### Result Response Parameters
| Parameter | Type | Description |
|-----------|------|-------------|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., "success") |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction |
| data.model | string | Model ID used for the prediction |
| data.outputs | array<string \| object> | Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model. |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to poll for the prediction result |
| data.status | string | Status: `created`, `processing`, `completed`, or `failed` |
| data.created_at | string | ISO timestamp of when the request was created |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |