X Ai Grok Imagine Video Image To Video
Playground
Try it on WavespeedAI!X-AI Grok Imagine Video transforms images into videos using xAI’s Grok Imagine Video model. Animate still images with natural motion, scene continuity, and synchronized audio. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Features
Grok Imagine Video Image-to-Video
Grok Imagine Video Image-to-Video is X-AI’s image animation model that brings static images to life. Upload a reference image and describe the motion you want — the model generates a cinematic video with smooth, natural movement and consistent visual quality.
Why Choose This?
-
Image-driven generation Transform any still image into a dynamic video with natural, fluid motion.
-
Flexible duration Generate videos at 6 or 10 seconds to match your scene pacing.
-
Resolution options Output in 720p or 480p based on your quality and speed requirements.
-
Prompt Enhancer Built-in tool to automatically refine and strengthen your motion descriptions for better results.
Parameters
| Parameter | Required | Description |
|---|---|---|
| image | Yes | Reference image to animate (URL or file upload). |
| prompt | Yes | Text description of the desired motion, camera movement, and scene. |
| duration | No | Video length in seconds. Options: 6, 10. |
| resolution | No | Output resolution: 720p (default) or 480p. |
How to Use
- Upload your image — provide the reference image via URL or drag-and-drop upload.
- Write your prompt — describe the motion, camera movement, and scene details. Use the Prompt Enhancer for better results.
- Set duration — choose 6 or 10 seconds based on your scene length.
- Select resolution — 720p for higher quality, 480p for faster processing.
- Run — submit and download your video.
Pricing
| Duration | Cost |
|---|---|
| 6s | $0.30 |
| 10s | $0.50 |
Billing Rules
- Rate: $0.05 per second
- Duration options: 6 or 10 seconds
- Billing is based on the selected duration, not actual playback length
Best Use Cases
- Photo Animation — Bring portraits, landscapes, and product images to life with natural motion.
- Social Media Content — Create engaging video clips from static images for Reels, TikTok, and Shorts.
- Marketing & Ads — Generate dynamic promotional videos from product photos without a film crew.
- Storytelling — Animate illustrations and concept art to build visual narratives.
- Creative Projects — Explore motion concepts and cinematic ideas from reference images.
Pro Tips
- Use the Prompt Enhancer to refine your motion descriptions before generating.
- Be specific about camera movement (pan, zoom, dolly) and subject behavior in your prompt.
- Use high-quality, well-lit source images for sharper, more consistent video output.
- Start with a 6-second generation to test your prompt before committing to a 10-second run.
- Describe both motion and atmosphere in your prompt for richer results.
Notes
- Both image and prompt are required fields.
- Ensure image URLs are publicly accessible; a preview thumbnail in the interface confirms the URL is reachable.
- Maximum duration is 10 seconds.
Related Models
- Grok Imagine Video Edit — Edit existing videos with text instructions.
- Grok Imagine Image Text-to-Image — Generate images from text prompts.
- Grok Imagine Image Edit — Edit images with text instructions.
Authentication
For authentication details, please refer to the Authentication Guide.
API Endpoints
Submit Task & Query Result
# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/x-ai/grok-imagine-video/image-to-video" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
"duration": 6,
"resolution": "720p"
}'
# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"
Parameters
Task Submission Parameters
Request Parameters
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| image | string | Yes | - | URL of the input image for video generation. | |
| prompt | string | Yes | - | Text description of desired motion or changes in the video. | |
| duration | integer | No | 6 | 6, 10 | Video duration in seconds. |
| resolution | string | No | 720p | 720p, 480p | Resolution of the output video. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Array of URLs to the generated content (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction, the ID of the prediction to get |
| data.model | string | Model ID used for the prediction |
| data.outputs | string | Array of URLs to the generated content. |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |