AvailablexAIVideoAsync
grok-imagine-video

Build next-gen apps with grok-imagine-video

API Code Example

Pricing

480p

Per Second
Official Price
$0.05
TokenLab Price
$0.05
Discount
-

720p

Per Second
Official Price
$0.07
TokenLab Price
$0.07
Discount
-

480p · Includes video input

Per Second
Official Price
$0.06
TokenLab Price
$0.06
Discount
-

720p · Includes video input

Per Second
Official Price
$0.08
TokenLab Price
$0.08
Discount
-

One-click test

Sign in once and Web Agent keeps this model, prompt, and request preset for you.

Test grok-imagine-video in Web Agent. Run the recommended text-to-video request at /v1/videos/generations, then show request body, task id, poll URL or final status.

API workbench

The default route for production. The code sample below uses this endpoint with the format you pick.

Image to VideoReference to VideoText to VideoVideo ExtensionVideo to VideoTokenLab endpoint
POST/v1/videos/generations
curl -X POST "https://api.tokenlab.sh/v1/videos/generations" \
  -H "Authorization: Bearer sk-xxx" \
  -H "Content-Type: application/json" \
  -d '{
  "operation": "text-to-video",
  "duration": 5,
  "aspect_ratio": "16:9",
  "resolution": "720p",
  "output_audio": false,
  "model": "grok-imagine-video",
  "prompt": "Cinematic sunrise over a calm lake with gentle camera motion."
}'

Use cases

Best for

Text to Video

Generating short videos and iterating on creative cuts

01

Storyboard tests

Create motion concepts with visible task status and final asset handling.

02

Social clips

Prototype short launch videos, product shots, and campaign cuts in minutes.

03

Async flow check

Create, poll, and inspect completed video tasks with the same API pattern.

04

Side-by-side test

Compare real response quality, latency, and price for production defaults.

Prompt examples

Generate an 8-second cinematic product reveal with a slow camera push.

Storyboard a social clip for a new AI API feature.

Run image-to-video from this product shot and walk me through the task status flow.

FAQ

How much does grok-imagine-video cost?

On TokenLab, grok-imagine-video costs $0.002-$0.08 Per Second. The pricing table above shows the full breakdown.

What is grok-imagine-video best for?

grok-imagine-video is a strong fit for Text to Video, Image to Video, Reference to Video. You can call it through TokenLab with one API key.

How do I call the grok-imagine-video API?

Get a TokenLab API key, then send your request to https://api.tokenlab.sh/v1/videos/generations. The API workbench above has a recommended endpoint and copy-ready code.

Which endpoint should grok-imagine-video use?

Use https://api.tokenlab.sh/v1/videos/generations as the default for grok-imagine-video. If a provider-native format is supported, the API workbench shows that endpoint too.

Can I test grok-imagine-video before integrating it?

Yes. Try in Web Agent opens a ready test for grok-imagine-video and keeps your prompt after sign-in, so you don’t lose context.

Which operations does grok-imagine-video support?

grok-imagine-video supports Image to Video, Reference to Video, Text to Video, Video Extension, Video to Video. Pick an operation in the API workbench above to see the matching endpoint and code sample.

Related Models