Seedance 2.0 API — Coming SoonGet early access

Grok Imagine Video API

Transformez vos idées en vidéos dynamiques de 6-10 secondes avec Grok Imagine de xAI. Choisissez parmi les modes fun, normal ou spicy—aucune compétence en montage vidéo requise.

A futuristic city at sunset

Parameters
Duration
6s
Mode
normal
Type
T2V
Base Price (6s)
4.6 Credits
Sample Result

No sample available

0 (suggested: 2,000)

Click Generate to see preview

Historique

Max 20 éléments

0 en cours · 0 terminé

Votre historique de génération apparaîtra ici

xAI Grok Imagine Video API for Creative Video Generation

Generate 6-10 second videos from text or images with multiple style modes including fun, normal, and spicy.

Grok Imagine Video API showcase

Pricing

Popular
Text to Video
Text to Video
resolution:480p
duration:6s
Price:
$0.0639/ video
(4.6 Credits)
Text to Video
Text to Video
resolution:480p
duration:10s
Price:
$0.1278/ video
(9.2 Credits)
Text to Video
Text to Video
resolution:720p
duration:6s
Price:
$0.1278/ video
(9.2 Credits)
Text to Video
Text to Video
resolution:720p
duration:10s
Price:
$0.1917/ video
(13.8 Credits)

If it's down, we automatically use the next cheapest available—ensuring 99.9% uptime at the best possible price.

What you can build with Grok Imagine Video API

Text to Video Generation

Transform your text prompts into dynamic videos with Grok Imagine. Choose from fun, normal, or spicy modes to match your creative vision.

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 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 6 or 10 second videos 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 (6s or 10s), mode (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 for different creative effects.

Duration

Flexible Duration

Generate 6 or 10 second videos based on your needs.

Formats

Aspect Ratios

Support for 16:9, 9:16, and 1:1 aspect ratios for different platforms.

API

Easy Integration

Simple API integration through Evolink AI'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.
Grok Imagine offers three style modes: fun (playful and creative), normal (balanced and natural), and spicy (bold and dramatic).
You can generate 6-second or 10-second videos with Grok Imagine Video API.
Text-to-video supports 16:9 (landscape), 9:16 (portrait), and 1:1 (square) aspect ratios.
POST
/v1/videos/generations

Create Video

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

Asynchronous processing mode, use the returned task ID to .

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

Request Parameters

modelstringRequiredDefault: grok-imagine-text-to-video

Video generation model name.

Examplegrok-imagine-text-to-video
promptstringRequired

Text prompt describing the video content to generate.

ExampleA cat playing piano in a cozy room
durationintegerOptionalDefault: 6

Video duration in seconds.

ValueDescription
66 seconds
1010 seconds
Example6
qualitystringOptionalDefault: 480p

Video resolution quality.

ValueDescription
480pStandard definition (default)
720pHigh definition
Example480p
modestringOptionalDefault: normal

Style mode for video generation.

ValueDescription
funPlayful and creative style
normalBalanced and natural style
spicyBold and dramatic style
Examplenormal
aspect_ratiostringOptionalDefault: 16:9

Video aspect ratio (Text-to-Video only).

ValueDescription
16:9Landscape
9:16Portrait
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-text-to-video",
  "prompt": "A cat playing piano in a cozy room",
  "duration": 6,
  "quality": "480p",
  "mode": "normal",
  "aspect_ratio": "16:9"
}

Response Example

{
  "created": 1757169743,
  "id": "task-unified-1757169743-abc123",
  "model": "grok-imagine-text-to-video",
  "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_call",
    "credits_reserved": 4.6,
    "user_group": "default"
  }
}
Grok Imagine Video API: Text & Image to Video | Evolink AI