Grok Imagine Video API
Grok Imagine Video from $0.11/sec — the budget xAI video tier with seven aspect ratios.
The first-generation Grok Imagine video model. 1–15 second clips at 480p or 720p across seven aspect ratios — from $0.11 per second.
No credit card required. Takes 30 seconds.
Grok Imagine Video API pricing
Pay per request from your YepAPI balance — no subscription, no monthly minimum. Prices updated October 23, 2026.
| Billing | Price |
|---|---|
| Rate (480p) | $0.11/sec |
| Rate (720p) | $0.15/sec |
| What it costs | Per job |
|---|---|
| 5-second clipfrom lowest resolution | $0.55 |
| 10-second clipfrom lowest resolution | $1.10 |
| 100 × 5-second clipsan ad-creative batch | $55.00 |
2,400+
Developers
1.2M+
API calls served
100+
Endpoints
$0.01
Per call
Yep, that's it.
Try it live
Enter a prompt and generate a video with Grok Imagine Video.
Drop image or click to upload
For image-to-video (first/last frame)
Grok Imagine Video specs
| Provider | xAI |
|---|---|
| Model ID | x-ai/grok-imagine-video |
| Endpoint | /v1/media/queue |
| Type | Video Generation |
| Resolutions | 480p, 720p |
| Aspect ratios | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3 |
| Durations | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 seconds |
| Image input | Yes |
How to get a Grok Imagine Video API key
- 1
Create a free account
Sign up at yepapi.com with Google or email. It takes about 30 seconds and needs no card.
- 2
Create an API key
Open the dashboard, go to API Keys and create a key. Copy it — it starts with yep_sk_.
- 3
Call Grok Imagine Video
Send a request to /v1/media/queue with the x-api-key header and model "x-ai/grok-imagine-video".
- 4
Pay as you go
Usage is billed per request from your balance. Top up any amount; there is no subscription.
Strengths
From $0.11 per second at 480p, which makes long clips and big batches affordable.
16:9, 9:16, 1:1, 4:3, 3:4, 3:2, and 2:3 — more framing options than the 1.5 release exposes.
Fine-grained length control for stingers, loops, and social cuts.
Animate a still by supplying it as the first frame.
Quick start
Copy this snippet and start making calls with Grok Imagine Video.
// Step 1: Submit job
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "x-ai/grok-imagine-video",
"prompt": "A jellyfish drifting through a dark tank, bioluminescent pulses rippling down its bell, slow lateral camera drift, deep blue and violet palette",
"options": {
"aspectRatio": "16:9",
"resolution": "1080p",
"duration": "6"
}
}),
});
const { data } = await res.json();
const jobId = data.jobId;
// Step 2: Poll for result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${jobId}`, {
headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status: "pending" | "processing" | "completed" | "failed"
// job.result: { text?, image?, audio?, video? }Grok Imagine Video vs similar models
Every model below runs on the same API key — switch by changing the model ID.
| Model | Provider | Price |
|---|---|---|
| Grok Imagine Video | xAI | from $0.11/sec (480p), $0.15/sec (720p) |
| Grok Imagine Video 1.5 Lite | xAI | from $0.04/sec (480p) |
| Grok Imagine Video 1.5 | xAI | from $0.17/sec (480p), $0.30/sec (720p), $0.53/sec (1080p) |
| Seedance 1.0 Pro Fast | ByteDance | from about $0.02/sec (480p), about $0.04/sec (720p), about $0.10/sec (1080p) |
| HeyGen Video | HeyGen | from $0.04/sec (480p) |
| Seedance 1.0 Pro | ByteDance | from about $0.05/sec (480p), about $0.10/sec (720p), about $0.24/sec (1080p) |
| Seedance 2.0 Mini | ByteDance | from about $0.07/sec (480p) |
| Wan 2.6 | Alibaba | from $0.08/sec (480p), $0.17/sec (720p), $0.25/sec (1080p) |
Why use Grok Imagine Video through YepAPI?
Grok Imagine Video API — xAI video from $0.11/sec
Grok Imagine Video is the first-generation xAI video model, producing 1 to 15 second clips at 480p or 720p across seven aspect ratios with first-frame image-to-video.
It is the cheapest xAI video tier on YepAPI at $0.11 per second, which makes it a sensible draft pass before rendering finals on Grok Imagine Video 1.5.
Start generating in 30 seconds
$5 free credit on signup. No credit card required. Pay per call.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
The first-generation Grok Imagine video model. 1–15 second clips at 480p or 720p across seven aspect ratios — from $0.11 per second.
Grok Imagine Video costs from $0.11/sec (480p), $0.15/sec (720p) through YepAPI, billed per request with no monthly fee. For example, a 5-second clip (from lowest resolution) costs about $0.55.
Sign up at yepapi.com (Google or email, about 30 seconds), open the dashboard and create an API key. The same key works for Grok Imagine Video and every other model — no separate xAI account or waitlist.
New YepAPI accounts in most countries get free signup credit, enough to test Grok Imagine Video without a card. After that you pay per request at the rates above — there is no subscription.
Use "x-ai/grok-imagine-video" as the model on /v1/media/queue. The short alias "grok-video-1" also works.
Ready to use Grok Imagine Video?
$5 free credit on signup. No credit card required. Pay per call.
Explore more models
Grok Imagine Video 1.5 Lite
xAIGrok Imagine Video 1.5 Lite from $0.04/sec — faster, cheaper xAI video at up to 1080p.
Grok Imagine Video 1.5
xAIGrok Imagine Video 1.5 from $0.17/sec — 1–15 second clips at up to 1080p through one API key.
Seedance 2.0
ByteDanceAI video generation API powered by ByteDance's Seedance 2.0. Generate videos from text, images, or video references with built-in audio generation.
Veo 3.1
GoogleAI video generation via Veo 3.1. Generate videos from text or images at up to 4K resolution.
Seedance 1.5 Pro
ByteDanceSeedance 1.5 Pro from $0.46/sec — premium ByteDance video with synced audio and keyframe control.
Kling 3.0 Standard
KlingKling 3.0 Standard from $0.18/sec — the value tier of Kling's video family, same features as Pro.
More Video Generation models
- Wan 2.6 API · Alibaba
- Wan 2.7 API · Alibaba
- FLUX 3 Video API · Black Forest Labs
- HeyGen Video API · HeyGen
- Runway Aleph 2 API · Runway
- Wan 3.0 Prime API · Alibaba
- Hailuo 3 API · MiniMax
- Seedance 1.0 Pro API · ByteDance
- Seedance 2.0 Fast API · ByteDance
- Veo 3.1 Fast API · Google
- HappyHorse 1.0 API · Alibaba
- HappyHorse 1.1 API · Alibaba