Kling 4.0 (Video Edit)

Kling 4.0 edits your video from a text instruction and reference pictures: 3 to 30 seconds at 720p or 1080p, billed on its seconds plus the result's.

Kling 4.0 (Video Edit) is the editing mode of Kling AI's fourth-generation video model, from Kuaishou. Send a video of 3 to 30 seconds and say in the prompt what to change and what to keep: restyle it, replace the background, an object or the weather, or put in a character from a reference picture. The result is a 3 to 30 second video at 720p or 1080p with new sound, or with the sound of your video (keep_audio).

Name your video @Video1 in the prompt and the pictures @Image1, @Image2 and so on: images holds up to ten references, and start_image_url, middle_image_urls and end_image_url fix the first, middle and last frames (all of them count toward the ten). duration sets the result's length (by default your video's), aspect_ratio its shape (by default your video's).

Inputs: prompt (required, up to 26,000 characters), video (required, a link or an upload: MP4 or MOV, up to 300 MB, 700-4553 pixels a side and no more pixels than 3840x2160, width 0.4-2.5 times the height, 24-60 fps, 3-30 seconds), resolution (720p or 1080p; 1080p by default), duration (3-30), aspect_ratio, keep_audio, images, start_image_url, middle_image_urls and end_image_url. Output: video, one MP4 clip.

Price: $0.094 a second at 720p and $0.141 at 1080p, counted on the seconds of your video plus the seconds of the result, at least twice the result (Kling's rule; your video's seconds are rounded up). Your 5-second video edited at its own length costs $1.41 at 1080p, a 10-second video cut to 5 seconds $1.41 at 720p, a 5-second video made 10 seconds $2.82 at 1080p. The price follows the length of the video you send, read before the run: set the result's length in duration, not in the prompt.

It renders 720p or 1080p, not 4K. Reference videos and video elements are not offered (Kling bills their seconds as input too), nor voices; it does not make a video from text or a picture alone. For a new clip use Kling 4.0 (Text-to-Video) or (Image-to-Video).

Price: From $0.564 per run, depending on resolution, duration and the length of the video you send. A 5-second video costs $1.41 with the default settings.

Run Kling 4.0 (Video Edit) via API

curl -X POST https://api.flymy.ai/api/v1/flymyai/kling-4_0-video-to-video-edit/predict \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Turn @Video1 into a snowy winter evening with warm window light. Keep the camera move and everything else the same.","video":"https://storage.googleapis.com/open-inference-results/agent-files/1585/40ecb0fd73ed4b5eb3b34b53b3b7e290/bytedance-seedance-2_0-fast-text-to-video_a64b.mp4","resolution":"720p","duration":5}'

API documentation · Create a free account · Pricing

Related models