ReplicateVideo to videoComing soon
xai/grok-imagine-video-extension
xai/grok-imagine-video-extension is a video 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 6.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
video required | text | — | Source video to extend. Must be MP4 format (H.264, H.265, or AV1 codec), 2-15 seconds long. The extension is generated from the last frame of the input video. |
prompt required | text | — | Text description of what should happen next in the video |
duration | number (whole) 2 to 10 | 6 | Length of the extension in seconds |
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-extension",
"input": {
"video": "<video>",
"prompt": "<prompt>"
}
}'