For accounts without a purchase: runs above 2 credits need a top-up.
New here?
10 free credits ($0.10) when you sign up with Google
Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits.
02
Examples
Real outputs from the public examples of this model on Replicate, with the prompt and settings that produced them. They were not generated live on this page.
Prompt
a penguin walks away from the camera, towards a large snowy mountaintop in the distance
Length: 0:05
Settings
aspect_ratio
16:9
resolution
720p
duration
5
Prompt
replace the arm with a branch
Length: 0:06
Settings
aspect_ratio
16:9
resolution
720p
duration
6
Input
Prompt
the camera zooms in on to the man as he lifts both arms up in celebration
Length: 0:06
Settings
aspect_ratio
16:9
resolution
720p
duration
6
Example prompts
Examples from the Railwail catalog. They were not generated live on this page.
Fun
Length: 0:05
Golden retriever catching frisbee in slow motion
03
About Grok Imagine Video
TL;DRAs of September 23, 2026
Grok Imagine Video is a model by xAI in the Video generation category. On Railwail, Grok Imagine Video costs $0.060 per second of video. A default run of 5 seconds costs $0.30. Supported aspect ratios: 16:9, 9:16, and 1:1. Possible lengths: 1, 3, 5, 10, or 15 s.
Background
About xAI
Founded 2023 ยท San Francisco Bay Area, USA
xAI was founded in March 2023 by Elon Musk and a team of researchers from OpenAI, DeepMind, Google, Microsoft and Tesla, including Igor Babuschkin, Tony Wu, Christian Szegedy and Jimmy Ba. The company's stated mission is to 'understand the true nature of the universe' and it operates closely with X (formerly Twitter) and Tesla. xAI launched Grok-1 in November 2023 (later open-sourced), followed by Grok-1.5, Grok-2 and Grok-3 with native image generation (Aurora) and image-to-video (Grok Imagine). xAI runs the Colossus supercluster in Memphis (originally 100k H100s, expanded to 200k+ by 2025) and was valued above $50B in late 2024.
Grok Imagine Video is xAI's image-to-video generation feature shipped inside the Grok app and on X (Twitter). It is a closed model and xAI has published almost no technical detail beyond it being a 'native video generation' system that complements the Aurora image generator. Industry reporting and behaviour suggest a latent video diffusion architecture with a transformer denoiser, conditioned on text embeddings (likely from a Grok-family text encoder) and on an initial image. The product targets short social-media clips (6-15 seconds) at HD resolution with optional NSFW 'spicy' mode that bypasses many of the moderation filters used by competitors. Audio support (sound effects, ambient noise) was added in late 2025. Training data are presumed to draw heavily from xAI's privileged access to X video uploads, though xAI have not confirmed this.
Parameters
Undisclosed
Capabilities
Image-to-video and text-to-video for short social clips
Tight integration with X (Twitter) and the Grok app
NSFW / 'spicy' mode (within posted guidelines) unlike most rivals
Native audio (sound effects, ambient) since late 2025
Fast generation tuned for Colossus hardware
Available to X Premium / SuperGrok subscribers
Strong meme and pop-culture coverage
Mobile-first UX
Best for: meme content, social shorts, viral clips, rapid prototyping.
Training & license
Undisclosed; presumed to include licensed footage, web video and X platform uploads. xAI have not released a model card or data sheet.
License: Proprietary commercial licence under X / xAI terms of service.
Safety testing: Limited public information; permits more risque content than competitors but enforces CSAM, terrorism and impersonation filters.
Known limitations
Short clip duration (typically 6-15 seconds)
No public model card or technical paper
Quality and consistency below Veo 3 / Sora 2 in independent tests
curl https://railwail.com/api/v1/videos/generations \
-H "Authorization: Bearer $RAILWAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-video",
"prompt": "A slow drone shot over a misty pine forest at sunrise"
}'
# Response: {"job_id": "...", "status": "queued", ...}
# Poll until status is completed, failed or cancelled:
curl https://railwail.com/api/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAILWAIL_API_KEY"
import os
import time
import requests
API = "https://railwail.com/api/v1"
headers = {"Authorization": f"Bearer {os.environ['RAILWAIL_API_KEY']}"}
job = requests.post(
f"{API}/videos/generations",
headers=headers,
json={
"model": "grok-video",
"prompt": "A slow drone shot over a misty pine forest at sunrise",
},
).json()
while True:
status = requests.get(f"{API}/jobs/{job['job_id']}", headers=headers).json()
if status["status"] in ("completed", "failed", "cancelled"):
break
time.sleep(5)
print(status["status"], status.get("output_url"))
const API = "https://railwail.com/api/v1";
const headers = {
Authorization: `Bearer ${process.env.RAILWAIL_API_KEY}`,
"Content-Type": "application/json",
};
const job = await fetch(`${API}/videos/generations`, {
method: "POST",
headers,
body: JSON.stringify({
model: "grok-video",
prompt: "A slow drone shot over a misty pine forest at sunrise"
}),
}).then((r) => r.json());
let status;
do {
await new Promise((r) => setTimeout(r, 5000));
status = await fetch(`${API}/jobs/${job.job_id}`, { headers }).then((r) => r.json());
} while (!["completed", "failed", "cancelled"].includes(status.status));
console.log(status.status, status.output_url);
Grok Imagine Video is a model by xAI in the Video generation category. On Railwail you can call it with an API key through the Railwail API.
How much does Grok Imagine Video cost on Railwail?
On Railwail, Grok Imagine Video costs $0.060 per second of video. A default run of 5 seconds costs $0.30. The price is known before the run starts. Usage is paid from prepaid credits; 1 credit equals $0.01.
Which settings does Grok Imagine Video support?
According to its input schema, Grok Imagine Video knows these parameters: prompt, duration (1, 3, 5, 10, or 15), start_image, and aspect_ratio (16:9, 9:16, or 1:1).
How fast is Grok Imagine Video?
On Railwail, the median run time of Grok Imagine Video over the last 90 days was 48 s, based on 31 completed runs.
Is Grok Imagine Video better than Google Veo 3.1?
That depends on the task. Grok Imagine Video (xAI) and Google Veo 3.1 (Google DeepMind) are both models in the Video generation category. The comparison page shows their prices and specifications side by side.
Create a Railwail API key and send your request with the model ID grok-video. Code examples for curl, Python and JavaScript are in the API section of this page.