Browse ModelsX AIX AI Grok Imagine Video Image To Video

X Ai Grok Imagine Video Image To Video

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

ParameterRequiredDescription
imageYesReference image to animate (URL or file upload).
promptYesText description of the desired motion, camera movement, and scene.
durationNoVideo length in seconds. Options: 6, 10.
resolutionNoOutput resolution: 720p (default) or 480p.

How to Use

  1. Upload your image — provide the reference image via URL or drag-and-drop upload.
  2. Write your prompt — describe the motion, camera movement, and scene details. Use the Prompt Enhancer for better results.
  3. Set duration — choose 6 or 10 seconds based on your scene length.
  4. Select resolution — 720p for higher quality, 480p for faster processing.
  5. Run — submit and download your video.

Pricing

DurationCost
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.

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

ParameterTypeRequiredDefaultRangeDescription
imagestringYes-URL of the input image for video generation.
promptstringYes-Text description of desired motion or changes in the video.
durationintegerNo66, 10Video duration in seconds.
resolutionstringNo720p720p, 480pResolution of the output video.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

ParameterTypeRequiredDefaultDescription
idstringYes-Task ID

Result Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
dataobjectThe prediction data object containing all details
data.idstringUnique identifier for the prediction, the ID of the prediction to get
data.modelstringModel ID used for the prediction
data.outputsstringArray of URLs to the generated content.
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds
© 2025 WaveSpeedAI. All rights reserved.