grok-imagine-video AI Video API
xAI grok-imagine-video for video generation; Flatkey routes this model through /v1/videos. $0.072 per second
Output
PreviewRequest 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.
{
"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.
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.
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.
Add credits
Use the same Flatkey balance and API key across image, video, audio, and text models.
- 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.
| Capability | Previous generation | grok-imagine-video |
|---|---|---|
| Provider | Not verified in this catalog snapshot | xAI |
| Modalities | Not verified in this catalog snapshot | text · image · video |
| Context | Not verified in this catalog snapshot | Context window not listed in the catalog |
| Endpoint | Not verified in this catalog snapshot | /v1/videos |
| Billing | Not 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.
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.
Collapse 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.
- 00:00–00:02
Frame the mustard-jacketed man and white envelope in the stairwell.
- 00:02–00:04
Ease closer as he opens the envelope and reads.
- 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.
Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.
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.
Collapse 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.
- 00:00–00:02
Hold the white mug and blue lid in a dark studio close-up.
- 00:02–00:04
Rotate the hinged lid upward around its fixed hinge.
- 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.
Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.
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.
Collapse 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.
- 00:00–00:03
Follow the man from behind through the industrial room.
- 00:03–00:06
Approach the large window as the sunset ocean fills the opening.
- 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.
Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.
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.
Collapse 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.
- 00:00–00:02
Hold the man in profile in the neutral gray studio.
- 00:02–00:04
Move the quadcopter behind and beside him along a clear curved path.
- 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.
Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.
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.
Collapse 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.
- 00:00–00:03
Establish the seated presenter speaking into the black microphone.
- 00:03–00:06
Cut to the hand aligning and inserting the cable into the adapter.
- 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.
Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.
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.
Collapse 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.
- 00:00–00:03
Frame the man touching the turquoise panel in the dark gallery.
- 00:03–00:06
Follow his hands pushing and rotating the panel while orange and purple panels illuminate.
- 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.
Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.
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.
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 }'
FAQ
grok-imagine-video API
pricing, features, and usage FAQs
Answers about grok-imagine-video pricing, capabilities, endpoint access and catalog limits.