Grok Imagine is xAI’s AI video generation model for creating high-quality videos with realistic motion, native audio, and synchronized speech. Grok Imagine 1.5 introduces faster generation speeds, improved motion physics, and stronger visual consistency for modern AI video applications.
No video yet. Submit the form to generate video.
Explore different use cases and parameter configurations
Transparent pricing with no hidden fees. Pay as you go.
| Rule & Modality | Channel | Credits | Price (USD) | Official / Reference Price | Daily Savings |
|---|---|---|---|---|---|
grok- imagine-text-to-video-480p videogrokresolution: 480p | Starter | 0.2per second | $0.001 | - | - |
grok- imagine-text-to-video-720p videogrokresolution: 720p | Starter | 0.7per second | $0.003 | - | - |
Competitor pricing costs $409.090/day more
ApiPass is 81.82% lower, estimated at Based on 1,000 10-second videos/day
grok- imagine-text-to-video-480p
resolution: 480p
ApiPass Price
$0.009
2 credits per second
Competitor Prices
Complete guide to using grok-imagine
Turn text prompts into cinematic short videos through the ApiPass proxy platform. Seamlessly integrate xAI's grok-imagine model to generate videos with coherent motion, scene continuity, and full control over aspect ratios, durations, resolutions, and creative modes. Built for production scaling, the ApiPass asynchronous API gateway streamlines your workflow: create a task to receive a taskId, then quickly fetch outputs via automated callback webhooks or status polling.

The Grok Imagine Text-to-Video feature, accessible via the ApiPass API marketplace, instantly converts natural language prompts into cinematic AI video clips. Powered by xAI's advanced generative model, this API endpoint is proxied through ApiPass for rapid concept prototyping, automated short-form content generation, and enterprise video creation workflows. Developers can programmatically define complex subject motions, rich environments, precise camera movements, and scene timing.
Instantly transform detailed text prompts into cinematic AI video clips via the Grok Imagine model. Outline your subjects, environment, camera work, and atmosphere—the underlying Grok pipeline will handle the rendering, delivering a traceable task optimized for production workflows through ApiPass.
Choose from Grok's native fun, normal, or spicy modes to control how the model interprets motion and visual energy. fun gives a more creative and playful interpretation, normal provides balanced motion quality, and spicy creates more dynamic and intense motion effects.
The ApiPass platform provides an asynchronous task workflow for the Grok model. Send a request to the ApiPass endpoint /api/v1/jobs/createTask, store the returned taskId, and either query /api/v1/jobs/recordInfo or provide callBackUrl to receive automatic completion notifications.
Transform text descriptions into cinematic videos by specifying actions, camera movements, and scene dynamics. Detailed prompts directly guide the grok-imagine pipeline to capture your exact visual rhythm, sequence, and timing.
Tailor the motion intensity to your project's tone. The Grok Imagine API offers three distinct generation modes: Normal for stable, balanced outputs; Fun for playful and imaginative interpretations; and Spicy for highly dynamic, expressive action effects.
Create clips in portrait, landscape, square, widescreen, or tall vertical formats. Set duration from 6 to 30 seconds and choose 480p or 720p resolution to match prototype, preview, or production needs.
Create quick, shareable motion clips from simple text prompts. Use vertical formats like 9:16 for mobile-first content or widescreen formats like 16:9 for ads, previews, and landing-page visuals.
Integrate generated video into development platforms or software solutions for dynamic banners, animated previews, automated asset backgrounds, and interactive creative tools that adapt programmatically to user prompts.
Rapidly test visual concepts, character motion, scene transitions, and camera ideas before moving into full production. The async API workflow makes it practical to automate batches of prompt experiments.
Configure the native parameters of the Grok Imagine API to optimize motion style, framing, and processing speed for your production pipeline.
Use normal for balanced results, fun for playful and imaginative motion, and spicy for more intense, energetic, or expressive motion. The mode parameter defaults to normal when omitted.
Choose 2:3 for portrait, 3:2 for landscape, 1:1 for square, 16:9 for widescreen, or 9:16 for tall vertical content. Duration accepts integer values from 6 to 30 seconds with a step of 1.
Use 480p for faster previews and 720p when you need a higher-resolution output from Grok. For production integrations, provide callBackUrl so the ApiPass proxy gateway can notify your service when the asynchronous task completes.
New ApiPass users can test supported generation workflows with free credits, making it easy to evaluate prompt behavior, motion quality, aspect ratios, modes, and integration flow before scaling.
The optional channel parameter supports auto, starter, regular, and official. auto lets ApiPass allocate tasks across available channels based on real-time pricing and stability metrics.
Each request creates a generation task and returns a taskId. This design keeps long-running generation reliable and lets developers query progress or receive completion callbacks without blocking application workflows.
Open the ApiPass playground, enter a detailed prompt, and test supported settings such as aspect_ratio, mode, duration, and resolution. Start with the default values: aspect_ratio 2:3, mode normal, duration 6, and resolution 480p.
Send a POST request to /api/v1/jobs/createTask with model set to grok-imagine/text-to-video and your input object. Include callBackUrl for production systems that should receive automatic completion notifications.
Use the returned taskId to query /api/v1/jobs/recordInfo when polling is acceptable, or rely on callback notifications when callBackUrl is configured. When the task succeeds, the result contains the generated video output.
All APIs require authentication via Bearer Token.
Authorization: Bearer
Create an asynchronous Grok Imagine text-to-video generation task from a text prompt.
1{
2 "model": "grok-imagine/text-to-video",
3 "channel": "auto",
4 "callBackUrl": "https://your-domain.com/api/callback",
5 "input": {
6 "prompt": "A couple of doors open to the right one by one randomly and stay open, to show the inside, each is either a living room, or a kitchen, or a bedroom or an office, with little people living inside.",
7 "aspect_ratio": "2:3",
8 "mode": "normal",
9 "duration": 6,
10 "resolution": "480p"
11 }
12}modelRequiredstringModel endpoint name. Use grok-imagine/text-to-video for this API.
grok-imagine/text-to-video
channelOptionalstringDefault channel is auto. APIPASS automatically allocates tasks across available providers based on real-time pricing and stability metrics; starter is ultra-low-cost with limited quotas and weaker stability; regular is standard and much cheaper than official APIs with moderate stability; official uses the model native API with high stability, fast task execution, and official pricing.
Default channel is auto. APIPASS automatically allocates tasks across available providers based on real-time pricing and stability metrics; starter is ultra-low-cost with limited quotas and weaker stability; regular is standard and much cheaper than official APIs with moderate stability; official uses the model native API with high stability, fast task execution, and official pricing.
Available options:
auto
callBackUrlOptionalstringOptional callback URL for receiving automatic task completion notifications. For production use, callback notifications are recommended instead of polling the query endpoint.
https://your-domain.com/api/callback
promptRequiredstringText prompt describing the desired video motion. Be detailed and specific about the desired visuals, movement, action sequence, camera work, timing, subjects, environments, and motion dynamics. Maximum length: 5000 characters. English prompts are supported.
Required. Describe motion, actions, camera movement, and scene dynamics clearly for better results.
A couple of doors open to the right one by one randomly and stay open, to show the inside, each is either a living room, or a kitchen, or a bedroom or an office, with little people living inside.
aspect_ratioOptionalstringSpecifies the width-to-height ratio of the generated video. Default: 2:3.
2:3 is portrait, 3:2 is landscape, 1:1 is square, 16:9 is widescreen, and 9:16 is tall vertical format.
Available options:
2:3
modeOptionalstringGeneration mode that affects the style and intensity of motion. Default: normal.
fun gives a more creative and playful interpretation; normal provides a balanced approach with good motion quality; spicy produces more dynamic and intense motion effects.
Available options:
normal
durationOptionalnumberDuration of the generated video in seconds. Minimum: 6, maximum: 30, step: 1.
Use an integer value from 6 to 30.
6
resolutionOptionalstringResolution of the generated video. Default: 480p.
Available options:
480p
1curl -X POST "https://api.apipass.dev/api/v1/jobs/createTask" \
2 -H "Authorization: Bearer YOUR_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "grok-imagine/text-to-video",
6 "channel": "auto",
7 "callBackUrl": "https://your-domain.com/api/callback",
8 "input": {
9 "aspect_ratio": "2:3",
10 "mode": "normal",
11 "duration": 6,
12 "resolution": "480p",
13 "prompt": "A couple of doors open to the right one by one randomly and stay open, to show the inside, each is either a living room, or a kitchen, or a bedroom or an office, with little people living inside."
14 }
15}'1{
2 "taskId": "task_44e091a72fa8424b",
3 "status": "queued"
4}taskIdUnique task identifier. Use this value to query task status and results.
statusCurrent task status after creation.

ByteDance
ByteDance
Starting from
0 credits
ByteDance
ByteDance
Starting from
0 credits
ByteDance
ByteDance
Turn text, images, video clips, and audio into cinematic, audio-synced videos with a single API call.
Starting from
0 credits
MiniMax
MiniMax
Starting from
0 credits
ByteDance
ByteDance
Generate cinematic 4K AI videos up to 30 seconds with Seedance 2.5's multimodal power.
Starting from
0 credits
Google Veo 3.1 is the latest state-of-the-art generative video model designed to transform text and image prompts into high-fidelity cinematic visuals. Building upon its predecessors, Veo 3.1 features significant upgrades in prompt adherence, visual realism, and native audio generation, creating 8-second clips with synchronized sound effects and dialogue.
Starting from
0 credits
wan
wan
Starting from
0 credits
Runway
Runway
Starting from
0 credits
Kling
Kling
Transform text prompts and images into high-quality videos with advanced AI. Generate cinematic content with customizable duration, aspect ratio, and audio capabilities.
Starting from
0 credits
MiniMax
MiniMax
Generate high-quality AI videos from text prompts or images with MiniMax's Hailuo 2.3 model. Support for both 6s and 10s durations, 768p and 1080p resolutions, with intelligent prompt optimization.
Starting from
0 credits
Luma
Luma
Starting from
0 credits
Kling
Kling
Kling v3 video generation model, supports text-to-video and image-to-video, up to 15 seconds, 1080p pro mode
Starting from
0 credits
wan
wan
Generate videos with cinematic consistency by reimagining existing footage through high-fidelity visual transformation and structural control.
Starting from
0 credits
Starting from
0 credits
grok
grok
Starting from
0 credits
kling
kling
Starting from
0 credits