falVideo to videoComing soon
fal-ai/magi-distilled/extend-video
fal-ai/magi-distilled/extend-video is a video to video tool from fal 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.104 per second. Measured from the input file. The final charge comes from usage.
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 |
|---|---|---|---|
prompt required | text | — | The text prompt to guide video generation. |
video_url required | URL or file | — | URL of the input video to represent the beginning of the video. If the input video does not match the chosen aspect ratio, it is resized and center cropped. |
num_frames | number (whole) 96 to 192 | 96 | Number of frames to generate. Must be between 96 and 192 (inclusive). Each additional 24 frames beyond 96 incurs an additional billing unit. |
start_frame | number (whole) 0 to … | — | The frame to begin the generation from, with the remaining frames will be treated as the prefix video. The final video will contain the frames up until this number unchanged, followed by the generated frames. The default start frame is 32 frames before the end of the video, which gives optimal results. |
seed | number (whole) | — | Random seed for reproducibility. If None, a random seed is chosen. |
resolution | one of 480p, 720p | 720p | Resolution of the generated video (480p or 720p). 480p is 0.5 billing units, and 720p is 1 billing unit. |
num_inference_steps | one of 4, 8, 16, 32 | 16 | Number of inference steps for sampling. Higher values give better quality but take longer. |
aspect_ratio | one of auto, 16:9, 9:16, 1:1 | auto | Aspect ratio of the generated video. If 'auto', the aspect ratio will be determined automatically based on the input image. |
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": "fal-ai/magi-distilled/extend-video",
"input": {
"prompt": "",
"video_url": "https://v3.fal.media/files/rabbit/lTH9PY_LQG0FjueBxMfDN_0395dec3-0c4a-4c25-8399-ebb198b73a30.mp4"
}
}'