grok-imagine-video AI Video API

xAI grok-imagine-video for video generation; Flatkey routes this model through /v1/videos. $0.072 per second

Image to VideoReference-guided VideoShort-form Video
Provider
xAI
Reference price
$0.090 / second
Flatkey price
$0.072 / second-20%
Generator setup · Playground (edit before sign-up)

Input

Quick Prompts
Reference image0 / 1
Start generating

Output

Preview

Request summary

Endpoint
POST /v1/videos
Model ID
grok-imagine-video
Duration
5s
Reference media
None

Preview only. Sign in to submit this request to Flatkey.

Request preview
{
  "model": "grok-imagine-video",
  "prompt": "Creative direction: A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction.\n\nVisual treatment: Live-action suspense with subdued stairwell light and a mustard jacket accent. Keep this medium and palette consistent across all beats.\n\nShot plan: 6-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.\n00:00–00:02: Frame the mustard-jacketed man and white envelope in the stairwell.\n00:02–00:04: Ease closer as he opens the envelope and reads.\n00:04–00:06: Hold his upward glance toward the landing without changing eyeline direction.\n\nContinuity and finish: Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.\nAvoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.",
  "duration": 5
}

grok-imagine-video API performance

grok-imagine-video API reliability and uptime

Live Flatkey request telemetry for grok-imagine-video appears here when enough production traffic is available.

Avg. provider uptime
last 30 days
Latency
last 30 days
Requests
233
30-day window
Successful inference trend

grok-imagine-video API activity

grok-imagine-video API usage and request activity

Track request volume and successful inference activity for grok-imagine-video over the latest reporting window.

Requests
233
30-day window
Latency
last 30 days
Uptime
last 30 days
Successful inference trendActivity

grok-imagine-video pricing

grok-imagine-video API pricing and billing

Prices below are calculated from Flatkey pricing data for this model and the visible groups currently returned by our pricing API.

Flatkey price

Price / second

Live catalog model
$0.072 / second
Price / second
$0.072 / second$0.090 / second
Try a prompt
Shared balance

Add credits

Add credits

Use the same Flatkey balance and API key across image, video, audio, and text models.

Model catalog
Model Type
Text to Video
API
/v1/videos
Billing basis
second
Duration
1–15s
Aspect ratio
adaptive

grok-imagine-video video generation: core capabilities

xAI's grok-imagine-video route supports text · image · video. Catalog categories: Marketing.

grok-imagine-video scene creation

Turn a written brief into short-form scenes through /v1/videos, ready for creative iteration.

grok-imagine-video reference-led motion

Animate a designed frame, product, character, or storyboard when the route accepts reference media.

grok-imagine-video camera and action direction

Shape how the camera, subject, pacing, and framing develop into a coherent clip.

grok-imagine-video production handoff

Move a tested concept from prompt exploration into an authenticated Flatkey video workflow.

Compare

grok-imagine-video API comparison: capabilities and access

Compare the catalog facts for grok-imagine-video with the previous-generation baseline before changing your integration.

CapabilityPrevious generationgrok-imagine-video
ProviderNot verified in this catalog snapshotxAI
ModalitiesNot verified in this catalog snapshottext · image · video
ContextNot verified in this catalog snapshotContext window not listed in the catalog
EndpointNot verified in this catalog snapshot/v1/videos
BillingNot verified in this catalog snapshot$0.072 per second

Prompt library

grok-imagine-video video generation prompt examples

Start with a grok-imagine-video prompt for short-form creator clips, then adjust the request fields shown in the playground.

Micro-drama and comic creators

A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction.

View full promptCollapse prompt

Creative direction

A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction.

Visual treatment

Live-action suspense with subdued stairwell light and a mustard jacket accent. Keep this medium and palette consistent across all beats.

Shot plan

6-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.

  1. 00:00–00:02

    Frame the mustard-jacketed man and white envelope in the stairwell.

  2. 00:02–00:04

    Ease closer as he opens the envelope and reads.

  3. 00:04–00:06

    Hold his upward glance toward the landing without changing eyeline direction.

Continuity and finish

Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.

  1. Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.

Make one like this
Advertising and ecommerce teams

A white travel mug with a blue lid stands in a dark studio close-up. The hinged lid flips open and a thin column of steam rises from the cup while the locked camera holds the product against the black background.

View full promptCollapse prompt

Creative direction

A white travel mug with a blue lid stands in a dark studio close-up. The hinged lid flips open and a thin column of steam rises from the cup while the locked camera holds the product against the black background.

Visual treatment

Photoreal product close-up with white ceramic, a blue lid and restrained steam. Keep this medium and palette consistent across all beats.

Shot plan

6-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.

  1. 00:00–00:02

    Hold the white mug and blue lid in a dark studio close-up.

  2. 00:02–00:04

    Rotate the hinged lid upward around its fixed hinge.

  3. 00:04–00:06

    Let a thin steam column rise and hold the open product profile.

Continuity and finish

Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.

  1. Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.

Make one like this
Film concept and production teams

A man enters an empty industrial room beside the sea and walks toward a large window. The camera follows from behind as the ocean and warm sunset fill the opening, ending on his silhouette against the view.

View full promptCollapse prompt

Creative direction

A man enters an empty industrial room beside the sea and walks toward a large window. The camera follows from behind as the ocean and warm sunset fill the opening, ending on his silhouette against the view.

Visual treatment

Live-action location reveal with industrial shadows and warm coastal sunset. Keep this medium and palette consistent across all beats.

Shot plan

10-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.

  1. 00:00–00:03

    Follow the man from behind through the industrial room.

  2. 00:03–00:06

    Approach the large window as the sunset ocean fills the opening.

  3. 00:06–00:10

    Stop behind his silhouette and retain detail around the window frame.

Continuity and finish

Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.

  1. Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.

Make one like this
Game art and animation teams

A man stands still in a neutral gray studio while a compact quadcopter drone circles behind and beside him. Keep the camera locked at waist height so the drone's orbit, distance, and the subject's profile remain easy to read.

View full promptCollapse prompt

Creative direction

A man stands still in a neutral gray studio while a compact quadcopter drone circles behind and beside him. Keep the camera locked at waist height so the drone's orbit, distance, and the subject's profile remain easy to read.

Visual treatment

Live-action character-and-drone study with neutral gray lighting and clear spatial separation. Keep this medium and palette consistent across all beats.

Shot plan

6-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.

  1. 00:00–00:02

    Hold the man in profile in the neutral gray studio.

  2. 00:02–00:04

    Move the quadcopter behind and beside him along a clear curved path.

  3. 00:04–00:06

    Keep its distance from the man as the locked camera holds the composition.

Continuity and finish

Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.

  1. Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.

Make one like this
Creator and explainer channels

A presenter speaks at a home desk into a black microphone. Cut to a close view of one hand connecting a small audio cable and adapter, then return to the seated presenter continuing the explanation.

View full promptCollapse prompt

Creative direction

A presenter speaks at a home desk into a black microphone. Cut to a close view of one hand connecting a small audio cable and adapter, then return to the seated presenter continuing the explanation.

Visual treatment

Live-action creator demonstration with natural desk lighting and restrained depth of field. Keep this medium and palette consistent across all beats.

Shot plan

10-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.

  1. 00:00–00:03

    Establish the seated presenter speaking into the black microphone.

  2. 00:03–00:06

    Cut to the hand aligning and inserting the cable into the adapter.

  3. 00:06–00:10

    Return to the original desk framing as the explanation continues.

Continuity and finish

Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.

  1. Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.

Make one like this
Music producers and visual artists

A man in a dark gallery pushes and rotates a glowing turquoise rectangular panel. Orange and purple panels light up around him as he changes its angle, ending with the three colored surfaces arranged across the room.

View full promptCollapse prompt

Creative direction

A man in a dark gallery pushes and rotates a glowing turquoise rectangular panel. Orange and purple panels light up around him as he changes its angle, ending with the three colored surfaces arranged across the room.

Visual treatment

Light-installation performance with turquoise, orange and purple emissive panels. Keep this medium and palette consistent across all beats.

Shot plan

10-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.

  1. 00:00–00:03

    Frame the man touching the turquoise panel in the dark gallery.

  2. 00:03–00:06

    Follow his hands pushing and rotating the panel while orange and purple panels illuminate.

  3. 00:06–00:10

    Hold all three colored surfaces in their final arrangement.

Continuity and finish

Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.

  1. Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.

Make one like this

Why grok-imagine-video API

Why use grok-imagine-video through Flatkey?

Use one gateway for grok-imagine-video, account controls and the rest of your model catalog.

grok-imagine-video in one API

Keep the grok-imagine-video model id and endpoint explicit while using the same Flatkey key as other workloads.

Live catalog pricing

See the current grok-imagine-video billing dimensions before a request is sent, then confirm the final estimate in your account.

A practical model handoff

Test a grok-imagine-video prompt in the public playground and carry the same settings into an authenticated integration.

Usage and routing controls

Centralize keys, quotas and routing for grok-imagine-video without changing your application’s provider-facing workflow.

grok-imagine-video API

grok-imagine-video API integration guide

Use the model id above with /v1/videos; keep the request fields and billing unit documented for your route.

Send an authenticated request to /v1/videos with model set to grok-imagine-video.
Use grok-imagine-video in your SDK configuration so routing and usage reports map to the intended catalog entry.
Review $0.072 per second and account limits before scaling grok-imagine-video requests.
Start in the playground, then reuse the request shape with a Flatkey API key in your server or agent.
curl https://router.flatkey.ai/v1/videos \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-..." \
  -d '{
  "model": "grok-imagine-video",
  "prompt": "Create a short product video with grok-imagine-video: clear subject motion, realistic lighting, stable camera, and production-ready framing.",
  "duration": 5
}'
Docs

FAQ

grok-imagine-video API
pricing, features, and usage FAQs

Answers about grok-imagine-video pricing, capabilities, endpoint access and catalog limits.

What is grok-imagine-video used for?
grok-imagine-video is listed by xAI for video generation; the catalog lists these modalities: text · image · video.
How is grok-imagine-video priced?
Use the pricing section above for current Flatkey prices from our pricing API.
Which API endpoint calls grok-imagine-video?
Flatkey routes this model through /v1/videos. Set the model field to grok-imagine-video and follow the fields supported by that endpoint.
What context or input limits does grok-imagine-video have?
grok-imagine-video is listed with Context window not listed in the catalog. Other limits depend on the route and current account availability, so verify them before production use.