WaveSpeedVideo to videoComing soon
kwaivgi/kling-v4.0/video-edit
kwaivgi/kling-v4.0/video-edit is a video to video tool from WaveSpeed 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.
Price pendingPricing
Price pending.
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 | URL or file | — | URL of the video to edit. The edit keeps its scene, subject and motion; 3-30 seconds, longer videos are trimmed to 30 seconds. |
prompt required | text | — | Describe the edit you want applied to the video - change a subject, the setting, the weather or the style. Refer to the video as @Video1, to reference images as @Image1, @Image2, ... and to reference audios as @Audio1, @Audio2, ... in array order. |
audios | list | — | Reference audios (up to 3), 5-30 seconds each. They guide the voice and sound of the video. |
images | list | — | Optional reference images (up to 10) for a subject, object or style to bring into the edit. |
duration | one of 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 | — | Output duration in seconds (3-30). Follows the input video's length if not specified. |
resolution | one of 720p, 1080p | 720p | Output resolution. |
aspect_ratio | one of 16:9, 9:16, 1:1, 21:9 | — | Aspect ratio of the output video. Follows the input video if not specified. |
keep_original_sound | true or false | true | Keep the input video's own sound. When false, new synchronized audio is generated instead. |
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": "wavespeed",
"model": "kwaivgi/kling-v4.0/video-edit",
"input": {
"video": "<video>",
"prompt": "<prompt>"
}
}'