ReplicateImage to videoComing soon

xai/grok-imagine-video

xai/grok-imagine-video is an image to video tool from Replicate that runs in the background and returns video. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Priced by usage

Pricing

$0.065 per second. Billed on duration, default 5.

Limits

Runs
In the background
Returns
video
Longest queue wait
3600s
Run deadline
3600s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
prompt requiredtext—Text prompt for video generation
imageURL or filenullInput image to generate video from (image-to-video). Supports jpg, jpeg, png, webp.
videotextnullInput video to edit (video editing mode). Must be a direct link, max 8.7 seconds. Supports mp4, mov, webm.
durationnumber (whole)
1 to 15
5Duration of the video in seconds (1-15). Ignored when editing a video.
resolutionJSON720pResolution of the video. Ignored when editing a video.
aspect_ratioJSONautoAspect ratio of the video. For text-to-video, defaults to 16:9. For image-to-video, defaults to the input image's native aspect ratio. Ignored when editing a video.

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": "replicate",
    "model": "xai/grok-imagine-video",
    "input": {
      "prompt": "<prompt>"
    }
  }'