falVideo to videoComing soon
kling/v4/video-to-video/edit
kling/v4/video-to-video/edit 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.2041 per second. Billed on duration, default 30. 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 | — | Edit instruction. Reference the source video as @Video1. |
video_url required | URL or file | — | The video to edit (3-30s), referenced as @Video1. Max file size: 300.0MB, Min width: 700px, Min height: 700px, Max width: 4553px, Max height: 4553px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Min duration: 3.0s, Max duration: 30.05s, Min FPS: 23.9, Max FPS: 60.05, Timeout: 30.0s |
image_urls | URLs or files | — | Reference images, referenced as @Image1, @Image2, ... |
elements | JSON | — | Characters/objects, referenced as @Element1, @Element2, ... |
duration | number (whole) 3 to 30 | — | Output duration in seconds (3-30). Defaults to the source video's length. |
resolution | one of 720p, 1080p | 1080p | Output resolution. |
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": "kling/v4/video-to-video/edit",
"input": {
"prompt": "Change the background to a tropical island at sunset.",
"video_url": "<video_url>"
}
}'