Kling 4.0 Flash Video Edit
kling/v4/flash/video-to-videoEdit and transform video with Kling 4.0 Flash Video Edit from fal through one Spiral API key. Kling 4.0 Flash edits an input video using text instructions and optional image, video or element references, producing 3 to 20-second videos at 720p. It runs in the background and returns video. Pay as you go, with no subscription.
Pricing
Up to $9.828 per run at the default inputs for 60 seconds of input.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 930 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
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-20s), 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: 20.05s, Min FPS: 23.9, Max FPS: 60.05, Timeout: 30.0s |
image_urls | URLs or files | — | Reference images, referenced as @Image1, @Image2, ... (max 10). |
video_urls | URLs or files | — | Reference videos, referenced as @Video2, @Video3, ... (max 4). The source, reference and element videos must total at most 20s. |
elements | JSON | — | Characters/objects, referenced as @Element1, @Element2, ... (max 7). Up to 3 may be video elements. Flash does not accept voices. |
keep_audio | true or false | false | Keep the original audio of the source video instead of generating new audio. Cannot be combined with voices. |
duration | number (whole) 3 to 20 | — | Output duration in seconds (3-20). Defaults to the source video's length. |
resolution | one of 720p | 720p | Output resolution. Flash is 720p only. |
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/flash/video-to-video",
"input": {
"prompt": "The blocky car proxy is the KESSEL R4 rally car from @Image1 - chalk-white body with the diagonal signal-orange and charcoal band, black 27 on a white roundel…",
"video_url": "https://v3b.fal.media/files/b/0aad8e8d/Nig30TEV-F60iywH0q2z6_source_video.mp4"
}
}'Frequently asked questions
How much does Kling 4.0 Flash Video Edit cost?
Up to $9.828 per run at the default inputs for 60 seconds of input. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Kling 4.0 Flash Video Edit through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "kling/v4/flash/video-to-video"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use Kling 4.0 Flash Video Edit?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Kling 4.0 Flash Video Edit?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.