GPT Image 2.5 Flare & Sunburst are live on EvoLinkTry GPT Image 2.5

Grok Imagine Video API

Transform your ideas into dynamic videos with xAI's Grok Imagine: 1-15 second clips on the official 1.0 models, or 6-30 second clips on the Beta models with fun, normal, and spicy style modes—no video editing skills required.

Price: $0.035 - 0.049(~ 2.38 - 3.332 credits) per second

Stable managed access for production workloads. Recommended when you need dashboard billing, API key control, and predictable integration behavior.

Use the same API endpoint for all versions. Only the model parameter differs.

86 (suggested: 2,000)
6s
1s15s

Click Generate to see preview

History

Max 20 items

0 running · 0 completed

Results are valid for 24–72 hours and are then permanently deleted — download anything you want to keep.

Your generation history will appear here

Pricing

Grok Imagine 1.0 Text to Video
Text to Video
resolution:480p
Price:
$0.035/ second
(2.38 Credits)
Grok Imagine 1.0 Text to Video
Text to Video
resolution:720p
Price:
$0.049/ second
(3.332 Credits)

If an upstream route is unavailable, EvoLink can use the next available option where fallback coverage exists, helping teams keep costs and operations predictable.

xAI Grok Imagine Video API for Creative Video Generation

Generate videos from text or images: 1-15 seconds on the official 1.0 models, or 6-30 seconds on the Beta models with fun, normal, and spicy style modes.

Grok Imagine Video API showcase

What you can build with Grok Imagine Video API

Text to Video Generation

Transform your text prompts into dynamic videos with Grok Imagine. On the Beta models you can also choose fun, normal, or spicy style modes.

Text to video showcase

Image to Video Animation

Bring your static images to life with Grok Imagine's image-to-video capability. Upload an image and describe the motion you want.

Image to video showcase

Creative Content at Scale

Generate multiple video variations quickly for social media, marketing campaigns, or creative projects.

Content scaling showcase

Why choose Grok Imagine Video API

Grok Imagine Video API offers flexible video generation with unique style modes for creative content creation.

Multiple Style Modes

Choose from fun, normal, or spicy modes on the Beta models to match your creative vision and content requirements.

Text and Image Support

Generate videos from text prompts or animate existing images with natural motion.

Flexible Duration

Create 1-15 second videos on the official 1.0 models or 6-30 second videos on Beta, with multiple aspect ratio options for different platforms.

How to use Grok Imagine Video API

Follow these steps to generate videos with Grok Imagine Video API.

1

Prepare your input

Write a text prompt or prepare an image URL for image-to-video generation.

2

Configure parameters

Set duration (1-15s on 1.0, 6-30s on Beta), style mode (Beta only: fun/normal/spicy), and aspect ratio for text-to-video.

3

Generate and download

Submit your request and download the generated video when ready.

Key features of Grok Imagine Video API

Powerful video generation capabilities from xAI.

T2V

Text-to-Video

Generate videos directly from text descriptions with customizable parameters.

I2V

Image-to-Video

Animate static images into dynamic videos with natural motion.

Modes

Style Modes

Choose from fun, normal, or spicy modes on the Beta models for different creative effects.

Duration

Flexible Duration

Generate 1-15 second videos on the official 1.0 models, or 6-30 second videos on Beta.

Formats

Aspect Ratios

Support for 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, and 1:1 aspect ratios on the official 1.0 models; the Beta models support 16:9, 9:16, 1:1, 2:3, and 3:2.

API

Easy Integration

Simple API integration through EvoLink's unified interface.

Grok Imagine Video API: FAQ

Everything you need to know about the product and billing.

Grok Imagine Video API is xAI's video generation service that creates videos from text prompts or images. It supports multiple style modes and duration options.
The Beta models offer three style modes: fun (playful and creative), normal (balanced and natural), and spicy (bold and dramatic). The official 1.0 models do not take a style mode.
The official Grok Imagine Video 1.0 models accept any integer duration from 1 to 15 seconds; the Beta models accept any integer duration from 6 to 30 seconds.
The official Grok Imagine Video 1.0 models support 16:9 (landscape), 9:16 (portrait), 4:3, 3:4, 3:2, 2:3, and 1:1 (square); the Beta models support 16:9, 9:16, 1:1, 2:3, and 3:2.
POST
/v1/videos/generations

Create Video

Grok Imagine 1.0 Text to Video (grok-imagine-video-1.0-t2v) - Generate video from text prompt.

Asynchronous processing mode, use the returned task ID to .

This model accepts text input only; passing image_urls returns an error.

Generated video links are valid for 24 hours, please save them promptly.

Request Parameters

modelstringRequiredDefault: grok-imagine-video-1.0-t2v

Video generation model name.

Examplegrok-imagine-video-1.0-t2v
promptstringRequired

Text prompt describing the video content to generate.

ExampleA cat playing piano in a cozy room
durationintegerOptionalDefault: 6

Video duration in seconds. Any integer from 1 to 15.

Notes

  • Range: 1 ~ 15 seconds (step 1)
Example6
qualitystringOptionalDefault: 480p

Video resolution quality.

ValueDescription
480pStandard definition (default)
720pHigh definition
Example480p
aspect_ratiostringOptionalDefault: 16:9

Video aspect ratio.

ValueDescription
16:9Landscape
9:16Portrait
4:3Landscape
3:4Portrait
3:2Landscape
2:3Portrait
1:1Square
Example16:9
callback_urlstringOptional

HTTPS callback address after task completion.

Notes

  • Triggered on completion, failure, or cancellation
  • HTTPS only
  • Max length: 2048 chars
  • Timeout: 10s, Max 3 retries
Examplehttps://your-domain.com/webhooks/video-completed

Request Example

{
  "model": "grok-imagine-video-1.0-t2v",
  "prompt": "A cat playing piano in a cozy room",
  "duration": 6,
  "aspect_ratio": "16:9",
  "quality": "480p"
}

Response Example

{
  "created": 1757169743,
  "id": "task-unified-1757169743-abc123",
  "model": "grok-imagine-video-1.0-t2v",
  "object": "video.generation.task",
  "progress": 0,
  "status": "pending",
  "task_info": {
    "can_cancel": true,
    "estimated_time": 120,
    "video_duration": 6
  },
  "type": "video",
  "usage": {
    "billing_rule": "per_second",
    "credits_reserved": 14.28,
    "user_group": "default"
  }
}