infery
← All models

Grok Imagine Video

grok-imagine-video

Video generationby xAI

Grok Imagine Video is xAI's image-to-video model that animates still images into short videos with synchronized audio. Use Grok Imagine Video with an API.

Example

Details

Accepts
text + image + video

Pricing

Price
6.25 cr / second

Prices in credits (1 credit = $0.01).

Data schema

approximate

Input

FieldTypeDescription
imagestringInput image (URL or data URI).
promptrequiredstringThe text prompt.
durationintegerDuration in seconds.
resolutionstringenum: 480p, 720p
aspect_ratiostringenum: 16:9, 9:16, 1:1, 4:3, 3:4, 3:2
image_urlstringURL of the input image for video generation.
video_urlstringURL of the source video to extend. Must be MP4 format (H.264, H.265, or AV1 codec), 2-15 seconds long.
videostringInput video to edit (video editing mode). Must be a direct link, max 8.7 seconds. Supports mp4, mov, webm.

Output

FieldTypeDescription
videoobjectGenerated video ({ url }).