Click to upload or drag and drop
Supported formats: JPEG, PNG, WEBP Maximum file size: 10MB; Maximum files: 1
Provide one external image URL as a reference for video generation (only one image is supported). This is one of two image input options — you can either upload an external image or specify a task_id + index from a Grok-generated image below. Do not provide both image_urls and task_id at the same time.
Enter the taskid of an image previously generated with the Grok model on Kie. Use it together with the index below to select a specific image from that generation. When using this method, do not provide image_urls. Unlike external images, this method supports Spicy mode.
When using a task_id, specify which image to use (Grok generates 6 images per task). This parameter only works with task_id and is ignored if image_urls is used(0-based).
The text prompt describing the desired video motion
Note: When generating videos using external image inputs, Spicy mode is not supported and will automatically switch to Normal.
Explore different use cases and parameter configurations
The text prompt describing the desired video motion
Specifies the width-to-height ratio of the generated content. Controls the aspect ratio of the output video.
Explore different use cases and parameter configurations
Specifies the width-to-height ratio of the generated content. Controls the aspect ratio of the output image

supports only Kie AI–generated taskid
no output
Complete guide to using
Run Grok Imagine API Online for Free on Kie.ai
Use xAI’s Grok Imagine through Kie.ai with free credits, supporting text-to-video, image-to-video, and synchronized audio output.

Supported Grok Imagine Video Models on Kie.ai
Grok T2V (Text-to-Video) Model
Grok T2V turns written prompts into short AI-generated videos. It supports natural motion, scene continuity, and synchronized audio, making it useful for quick visual concepts or short-form content creation.
Grok I2V (Image-to-Video) Model
Grok I2V animates a single image into a smooth short video while preserving the original look. It adds motion, depth, and lighting variation, ideal for character animation, product previews, and creative prototyping.
Key Features of Grok Imagine API on Kie.ai
Text-to-Image & Text-to-Video with Grok Video Generator
Use Grok Imagine API to turn text prompts into images or short videos. Enter a description, and Grok Video Generator creates visual content that matches it closely. You can generate realistic motion or stylized visuals for storytelling, research, or design work.
Grok I2V — High-Quality Image-to-Video Animation API
With Grok Imagine API, you can upload an image and transform it into a smooth, animated video. The I2V feature maintains the original look of your image while adding motion and depth. It’s useful for creating short visual sequences or enhancing static designs.
Synchronized Audio + Motion with Grok Video API
Grok Imagine AI API combines visuals with synchronized sound. Every generated video includes background audio that matches the tone and rhythm of the motion. You don’t need separate editing steps, which makes the workflow simple and consistent.
Explore Multiple Modes Including Grok Imagine Spicy Mode
Grok Imagine API includes different generation modes for varied results. You can pick standard modes for everyday visuals or try Grok Imagine Spicy Mode for more expressive or artistic outcomes. Each mode changes how the model interprets prompts, giving you creative control.
Fast & Efficient Generation Powered by Grok Imagine AI API
Grok Imagine API is built for quick response and reliable performance. It generates images and videos in seconds, supporting both text-to-video and image-to-video creation. You can use it directly on Kie.ai to test ideas, create samples, or build real-time applications.
How to Use Grok Imagine API Free on Kie.ai
Step 1: Access Grok Imagine API and Get Free Credits
Go to Kie.ai and open the Grok Imagine API section. Sign in with your account to receive free credits for testing. These credits let you generate images or videos without any setup or payment, so you can explore how the API works right away.
Step 2: Choose a Mode and Enter Your Prompt
Select a generation mode that fits your goal—Normal, Fun, Custom, or Spicy Mode. Enter a text prompt or upload an image. The Grok Imagine AI API interprets your input and prepares the content for rendering, supporting both text-to-video and image-to-video creation.
Step 3: Generate and Download Your Results
Click “Generate” to start. The Grok Imagine API quickly processes your request and delivers results in a few seconds. You can preview the output directly on Kie.ai, download it for your project, or call the API endpoint in your own app for automated workflows.
Grok Imagine vs Veo 3.1 vs Sora 2 Comparison
xAI’s Grok Imagine
Grok Imagine is a multimodal video model that generates images and short videos from text or images, with fast output, synchronized audio, and optional Spicy Mode for more expressive visual styles.
Google DeepMind’s Veo 3.1
Veo 3.1 API focuses on high-fidelity video generation with cinematic motion, strong prompt adherence, and precise lip-sync. It supports image-to-video workflows and produces coherent clips suited for creative production.
OpenAI’s Sora 2
Sora 2 API emphasizes realistic motion, complex scene understanding, and controllable long-duration sequences. It supports storyboard workflows, multi-scene continuity, and cameo integration, making it suitable for narrative video generation and detailed creative projects.
Why Choose Kie.ai for Grok Video API Integration?
Free Grok Imagine API Credits for Developers
You can start using Grok Imagine API on Kie.ai with free credits. These credits let you test text-to-image and text-to-video generation without setting up billing. It’s a simple way to check output quality, speed, and compatibility before adding the API to your workflow.
Real-Time Support for Grok Imagine v0.9 and Future Updates
Kie.ai supports Grok Imagine v0.9 and updates automatically when new versions are released. You always have access to the latest model improvements, including faster response times, higher visual quality, and better video generation stability.
All APIs in One Place with Grok Video API Integration
Kie.ai brings Grok Video API together with other AI models in one dashboard. You can manage text-to-video, image-to-video, and audio-generation endpoints from the same place, making it easier to combine multiple tools and build complete creative workflows.
Practical Use Cases of Grok Imagine API
Social Media Video Generation with Grok Video API
Create short, shareable videos for platforms like Instagram, TikTok, and X using Grok Imagine API. The system turns simple text or image prompts into motion clips with synchronized audio, making it easy to produce engaging visual content quickly.
App and Website Integration with Grok Imagine AI API
Embed Grok Imagine AI API into apps or websites to generate real-time visuals. Developers use it for dynamic banners, preview animations, and background videos that adapt to user input, improving both creativity and interaction inside digital products.
Image-to-Video Animation with Grok I2V API
Use Grok Imagine I2V (Image-to-Video) API to animate still images smoothly. It adds realistic motion, perspective, and lighting transitions while keeping the original composition intact. This feature works well for turning concept art, product photos, or character designs into short animated clips.
Creative Exploration with Grok Imagine Spicy Mode
Explore different visual styles and tones with Grok Imagine AI API, which includes creative options like Spicy Mode. Artists and designers use it to experiment with storytelling, color palettes, and motion, producing expressive or abstract results for digital art, character studies, and visual design research.