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
No sample available
Click Generate to see preview
Historique
Max 20 éléments0 en cours · 0 terminé
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.

Pricing
| Model | Mode | resolution | duration | Price |
|---|---|---|---|---|
| Text to Video | Text to Video | 480p | 6s | Popular $0.0639/ video(4.6 Credits) |
| Text to Video | Text to Video | 480p | 10s | $0.1278/ video(9.2 Credits) |
| Text to Video | Text to Video | 720p | 6s | $0.1278/ video(9.2 Credits) |
| Text to Video | Text to Video | 720p | 10s | $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.

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.

Creative Content at Scale
Generate multiple video variations quickly for social media, marketing campaigns, or creative projects.

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.
Prepare your input
Write a text prompt or prepare an image URL for image-to-video generation.
Configure parameters
Set duration (6s or 10s), mode (fun/normal/spicy), and aspect ratio for text-to-video.
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.
Text-to-Video
Generate videos directly from text descriptions with customizable parameters.
Image-to-Video
Animate static images into dynamic videos with natural motion.
Style Modes
Choose from fun, normal, or spicy modes for different creative effects.
Flexible Duration
Generate 6 or 10 second videos based on your needs.
Aspect Ratios
Support for 16:9, 9:16, and 1:1 aspect ratios for different platforms.
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.
API Reference
Select endpoint
Authentication
All APIs require Bearer Token authentication.
Authorization:
Bearer YOUR_API_KEY/v1/videos/generationsCreate 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-videoVideo generation model name.
grok-imagine-text-to-videopromptstringRequiredText prompt describing the video content to generate.
A cat playing piano in a cozy roomdurationintegerOptionalDefault: 6Video duration in seconds.
| Value | Description |
|---|---|
| 6 | 6 seconds |
| 10 | 10 seconds |
6qualitystringOptionalDefault: 480pVideo resolution quality.
| Value | Description |
|---|---|
| 480p | Standard definition (default) |
| 720p | High definition |
480pmodestringOptionalDefault: normalStyle mode for video generation.
| Value | Description |
|---|---|
| fun | Playful and creative style |
| normal | Balanced and natural style |
| spicy | Bold and dramatic style |
normalaspect_ratiostringOptionalDefault: 16:9Video aspect ratio (Text-to-Video only).
| Value | Description |
|---|---|
| 16:9 | Landscape |
| 9:16 | Portrait |
| 3:2 | Landscape |
| 2:3 | Portrait |
| 1:1 | Square |
16:9callback_urlstringOptionalHTTPS callback address after task completion.
Notes
- Triggered on completion, failure, or cancellation
- HTTPS only
- Max length: 2048 chars
- Timeout: 10s, Max 3 retries
https://your-domain.com/webhooks/video-completed