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 usagePricing
$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
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Text prompt for video generation |
image | URL or file | null | Input image to generate video from (image-to-video). Supports jpg, jpeg, png, webp. |
video | text | null | Input video to edit (video editing mode). Must be a direct link, max 8.7 seconds. Supports mp4, mov, webm. |
duration | number (whole) 1 to 15 | 5 | Duration of the video in seconds (1-15). Ignored when editing a video. |
resolution | JSON | 720p | Resolution of the video. Ignored when editing a video. |
aspect_ratio | JSON | auto | Aspect 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>"
}
}'