Image to Video

Animate a still image by sending image: {url | file_id} with a motion prompt. In the CLI, the image input may be a local file, HTTPS URL, data URI, or file_id:<id>.

CLI

progrok video "slow zoom out with parallax" --image photo.png
progrok video "animate this uploaded file" --image file_id:file-abc123

API

curl -X POST http://localhost:18645/v1/videos/generations   -H 'Authorization: Bearer anything'   -H 'Content-Type: application/json'   -d '{
  "model": "grok-imagine-video",
  "prompt": "slow zoom out with parallax",
  "image": {"url": "https://example.com/photo.png"}
}'

Notes

Use either image or reference_images, never both. Image-to-video uses the source image as the starting frame; reference-to-video uses images as loose visual references.