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 video generation model that brings static images to life. Upload a reference image and describe the motion you want — the model generates cinematic video with smooth, natural movement.


Why Choose This?

  • Image-driven generation Transform any image into a dynamic video with natural motion.

  • Flexible duration Generate videos up to 15 seconds in length.

  • Multiple aspect ratios Auto-detect from source image or choose a specific ratio.

  • Resolution options Output in 480p or 720p based on your needs.

  • Prompt Enhancer Built-in tool to automatically improve your motion descriptions.


Parameters

ParameterRequiredDescription
promptYesText description of the desired motion and scene
imageYesReference image to animate (URL or upload)
durationNoVideo length in seconds (default: 15)
aspect_ratioNoOutput ratio: auto (default) or specific ratio
resolutionNoOutput resolution: 720p (default), 480p

How to Use

  1. Upload your image — provide the reference image to animate.
  2. Write your prompt — describe the motion, camera movement, and scene details.
  3. Set duration — choose how long the video should be.
  4. Select aspect ratio — use auto to match source image or choose specific ratio.
  5. Select resolution — 720p for quality, 480p for faster processing.
  6. Run — submit and download your video.

Pricing

DurationCost
Per second$0.055

Best Use Cases

  • Photo Animation — Bring portraits, landscapes, and product images to life.
  • Social Media Content — Create engaging video content from static images.
  • Marketing & Ads — Generate dynamic promotional videos from product photos.
  • Storytelling — Animate illustrations and concept art for narratives.
  • Creative Projects — Explore motion concepts from reference images.

Pro Tips

  • Use the Prompt Enhancer to refine your motion descriptions.
  • Be specific about camera movement (pan, zoom, dolly) and subject motion.
  • Use high-quality source images for better video results.
  • Choose auto aspect ratio to preserve your image’s original proportions.
  • Start with shorter durations to test motion concepts before generating longer videos.

Notes

  • Both prompt and image are required fields.
  • Maximum duration is 15 seconds.
  • Ensure uploaded image URLs are publicly accessible.
  • For best results, describe both motion and atmosphere in your prompt.

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.