Grok Imagine Video
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.
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)
Pricing
Per-second: from $0.11/sec (480p), $0.15/sec (720p)
Endpoint
/v1/media/queue
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? }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.
Pricing for Grok Imagine Video through YepAPI is based on usage. No monthly minimums — you only pay for what you use.
Sign up for a free API key, then send requests to the /v1/media/queue endpoint.
Ready to use Grok Imagine Video?
$5 free credit on signup. No credit card required. Pay per call.
Explore more models
Grok 4.3
xAIAccess Grok 4.3 through one API key. xAI's latest model with 1M context.
Grok 4.20
xAIAccess Grok 4.20 through one API key. xAI's flagship model with the largest context window.
Grok 4.20 Multi-Agent
xAIAccess Grok 4.20 Multi-Agent through one API key. Multi-agent orchestration with 2M context.