falVideoAvailable now

xai/grok-imagine-video/v1.5/image-to-video

xai/grok-imagine-video/v1.5/image-to-video is a video tool from fal that runs in the background and returns video. Pay as you go, with one API key.

Run time p50 · last 24 hours
34.9s
Success rate · last 24 hours
88.4%

Pricing

$0.182 per second at 720p ($0.104 at 480p, $0.325 at 1080p), plus $0.013 for the input image.

Limits

Runs
In the background
Returns
video
Longest queue wait
1 hour
Run deadline
1 hour
Longest run, end to end
930 minutes
Largest inline input
1 MB
Largest input file
500 MB
Largest output
5 GB
Outputs per run
16

Input

FieldKindDefaultDescription
prompt requiredtext—

Text description of desired changes or motion in the video.

durationnumber (whole)
1 to 15
6

Video duration in seconds.

resolutionone of
480p, 720p, 1080p
720p

Resolution of the output video.

image_url requiredURL or file—

URL of the input image for video generation.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "xai/grok-imagine-video/v1.5/image-to-video",
    "input": {
      "prompt": "Medieval knight in ornate armor walking through a mystical forest, bioluminescent plants pulsing with light, ancient stone ruins overgrown with glowing vines,…",
      "image_url": "https://v3b.fal.media/files/b/0a8b90e0/BFLE9VDlZqsryU-UA3BoD_image_004.png"
    }
  }'