WaveSpeedVideo to videoComing soon

kwaivgi/kling-v4.0/video-extend

kwaivgi/kling-v4.0/video-extend 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 pending

Pricing

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

FieldKindDefaultDescription
video requiredURL or file—URL of the video to extend. The new segment is generated from its last frame and appended to the original.
prompt requiredtext—Describe the continuation - action, camera movement, lighting and sound. Audio is generated together with the picture.
durationone 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
5Length in seconds of the new segment to append (3-30).
last_imageURL or file—Optional target last-frame image URL. When provided, the new segment interpolates from the input video's last frame to this image.
resolutionone of
720p, 1080p
720pResolution of the new segment.

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-extend",
    "input": {
      "video": "<video>",
      "prompt": "<prompt>"
    }
  }'