Chatbot video replies
Let AI assistants generate video responses in near real-time.
Also known as Grok Imagine, xAI video API
xAI's Grok Imagine 1.5 - one of the fastest video models available, perfect for rapid iteration and creative experiments.
Best for Speed-critical apps, interactive demos, chatbot video replies, and rapid A/B testing.
Access the Grok Imagine 1.5 video model via REST API on VideoGenAPI, with endpoints, a live playground and developer docs.
Explore the interface and see how easy it is to generate videos with Grok Imagine 1.5. Create an account and pick a plan to start generating.
Discover what's possible with Grok Imagine 1.5 AI video generation
Generated with the Grok Imagine 1.5 API at up to 1080p. Results vary with prompt detail and requested duration.
The Grok Imagine 1.5 API is a REST interface that lets developers generate AI videos programmatically using xAI's Grok Imagine 1.5 model. It supports text-to-video, image-to-video through a single POST endpoint. VideoGenAPI handles authentication, billing, and provider infrastructure - you only need one API key to start building with the Grok Imagine 1.5 API.
Integrate the Grok Imagine 1.5 API in your app in under 5 minutes with these four steps.
Sign up free at VideoGenAPI.com and generate your API key from the dashboard. No xAI account needed.
POST to https://videogenapi.com/api/v1/generate with your API key, model "grok-imagine-1-5", and a text prompt describing your video.
Use the returned generation_id to poll GET /api/v1/status/{id} until the job completes. Video completion webhooks are not available yet.
Once status is "completed", retrieve the video URL from the response and embed it in your app, website, or workflow.
Grok Imagine 1.5 from xAI prioritizes speed without sacrificing decent visual quality. With ~30 second average processing, it's ideal for apps that need quick turnaround - chatbots that generate video, rapid prototyping tools, and interactive creative UIs. VideoGenAPI provides unified access alongside Google, ByteDance and Kling models, so you can route fast requests to Grok and premium requests to Veo 3 or Kling 3.
Let AI assistants generate video responses in near real-time.
Power live preview UIs where users iterate quickly on prompts.
Produce fun, shareable clips at high volume with fast turnaround.
Quick start guide to integrate Grok Imagine 1.5 in your application
| Parameter | Type | Required | Grok Imagine 1.5 values |
|---|---|---|---|
| model | string | Yes | "grok-imagine-1-5" |
| prompt | string | Yes | Scene description, up to 1,000 characters. |
| image_url | string | No | Public jpg, png, gif or webp URL. Animates the image (image-to-video). |
| duration | integer | No | 5 to 10 seconds, up to 15s on every plan. |
| resolution | string | No | 480p, 720p, 1080p. |
| aspect_ratio | string | No | 16:9, 4:3, 1:1 or 9:16 (text-to-video). |
| seed | integer | No | Fixed value for reproducible output, -1 for random. |
| add_audio | boolean | No | Adds an AI sound-effects track when set to true. |
Average generation time: ~30s. Poll GET /api/v1/status/{id} with the returned generation_id. Full reference: /docs/generate.
{
"model": "grok-imagine-1-5",
"prompt": "A robot skateboarding through a futuristic city park, dynamic tracking shot, vibrant colors",
"duration": 10,
"resolution": "480p"
}
{
"success": true,
"generation_id": "gen_abc123xyz",
"status": "in_progress",
"estimated_time": 30}
const response = await fetch('https://videogenapi.com/api/v1/generate', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
model: 'grok-imagine-1-5',
prompt: 'A robot skateboarding through a futuristic city park, dynamic tracking shot, vibrant colors',
duration: 10 })
});
const data = await response.json();
console.log(data.generation_id);
curl -X POST https://videogenapi.com/api/v1/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "grok-imagine-1-5",
"prompt": "Slow push in, soft natural light, subtle movement",
"image_url": "https://example.com/your-image.jpg",
"duration": 5
}'
Grok Imagine 1.5 is billed per video, not per second of output. See the cost calculator for your volume.
per Grok Imagine 1.5 video on the Starter plan
| Plan | Monthly | Videos | Cost / video |
|---|---|---|---|
| Basic | $29 | 1,500 | $0.019 |
| Starter | $49 | 4,500 | $0.011 |
| Unlimited | $199 | No cap | Flat |
How the Grok Imagine 1.5 API compares on resolution, clip length, generation speed and price. All models below share one API key.
| Model | Provider | Max resolution | Clip length | Avg. speed | Price / video |
|---|---|---|---|---|---|
| Grok Imagine 1.5 API This page | xAI | 1080p | 5-10s | ~30s | Included, from $0.011 |
| Seedance 2.0 API | ByteDance | 1080p | 5-10s | ~30s | Included, from $0.011 |
| Nano Banana API | LanneTech | 720p | 5-10s | ~50s | Included, from $0.011 |
| LTX-2 API | Lightricks | 4K | 6-10s | ~30s | Included, from $0.011 |
Switching between these models means changing the grok-imagine-1-5
value in your request body. The endpoint, authentication and status polling stay the same.
Create a key and call the Grok Imagine 1.5 API in minutes, plus 15 other models on the same endpoint.
Free account · Plans from $29/mo · Cancel anytime