Pricing
Compare models →Only the newly generated segment is charged. The price is per second of generated extension (duration), and the per-second rate depends on the resolution.
Price by extension length (duration) and resolution:
| Duration | 720p | 1080p | 4K |
|---|---|---|---|
3 seconds (duration = 3) | |||
5 seconds (duration = 5, default) | |||
10 seconds (duration = 10) | |||
15 seconds (duration = 15) | |||
20 seconds (duration = 20) | |||
30 seconds (duration = 30) |
Price per second of generated extension (shown for a 10-second extension, duration = 10):
| Resolution | Per second (duration = 10) |
|---|---|
| 720p | |
| 1080p | |
| 4K |
For example, extending a video by 5 seconds (duration = 5) costs ~~$0.785~~ $0.66725 at 720p or ~~$1.175~~ $0.99875 at 1080p. With default settings (5 seconds, 720p), one run costs $0.785 $0.66725.
last_image does not add a separate charge.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Describe the continuation - action, camera movement, lighting and sound. Audio is generated together with the picture. |
videoRequired | string | URL of the video to extend. The new segment is generated from its last frame and appended to the original. |
last_image | string | Optional target last-frame image URL. When provided, the new segment interpolates from the input video's last frame to this image. |
resolution | string | Output resolution: 720p, 1080p or 4k (native 3840x2160).720p1080p4k"720p" |
duration | integer | Length in seconds of the new segment to append (3-30).34567891011121314151617181920212223242526272829305 |
README
Kling V4.0 Video Extend
Kling V4.0 Video Extend continues an existing video from its last frame. Describe what should happen next and generate a new segment from 3 to 30 seconds at 720p, 1080p or 4K, with synchronized audio.
The generated segment is appended to the original video to create one continuous clip.
Why Choose This?
- Continue existing videos — Extend a clip naturally from its final frame.
- Flexible extension length — Generate an additional
3–30seconds.
- 720p, 1080p and 4K output — Choose the resolution that fits your workflow.
- Synchronized audio — Generate sound together with the new video segment.
- Optional ending frame — Provide a
last_imageto guide the continuation toward a specific final frame.
Parameters
| Parameter | Required | Description |
|---|---|---|
| video | Yes | Source video to extend. The new segment begins from the video's last frame and is appended to the original clip. |
| prompt | Yes | Describe the continuation, including action, camera movement, lighting, dialogue, ambience, or sound. |
| duration | No | Length of the generated extension in seconds. Range: 3–30. Default: 5. |
| resolution | No | Output resolution: 720p, 1080p or 4k. Default: 720p. |
| last_image | No | Optional target ending image. The generated segment transitions from the source video's last frame toward this image. |
How to Use
- Upload a video — Provide the clip you want to continue.
- Describe what happens next — Write a prompt for the new action, camera movement, and sound.
- Set the duration — Choose an extension length from
3to30seconds.
- Choose resolution — Select
720p,1080por4k.
- Add a last image optional — Provide a target ending frame when you want more control over how the continuation finishes.
- Submit — Generate and retrieve the extended video.
Pricing
Only the newly generated segment is charged. The price is per second of generated extension (duration), and the per-second rate depends on the resolution.
Price by extension length (duration) and resolution:
| Duration | 720p | 1080p | 4K |
|---|---|---|---|
3 seconds (duration = 3) | |||
5 seconds (duration = 5, default) | |||
10 seconds (duration = 10) | |||
15 seconds (duration = 15) | |||
20 seconds (duration = 20) | |||
30 seconds (duration = 30) |
Price per second of generated extension (shown for a 10-second extension, duration = 10):
| Resolution | Per second (duration = 10) |
|---|---|
| 720p | |
| 1080p | |
| 4K |
For example, extending a video by 5 seconds (duration = 5) costs ~~$0.785~~ $0.66725 at 720p or ~~$1.175~~ $0.99875 at 1080p. With default settings (5 seconds, 720p), one run costs $0.785 $0.66725.
last_image does not add a separate charge.
Best Use Cases
- Story continuation — Extend an existing scene with new action or events.
- Longer cinematic sequences — Continue shots without starting a new generation from scratch.
- Camera movement extensions — Carry an existing camera motion into a longer sequence.
- Dialogue and performance — Continue character actions with synchronized speech or sound.
- Scene transitions — Use a target ending image to guide the clip toward a specific visual destination.
Pro Tips
- Describe what should happen next rather than repeating everything already visible in the source video.
- Keep the continuation consistent with the final moment of the source clip.
- Match the extension length to the amount of action in the prompt.
- Describe important ambience, music, dialogue, or sound effects when audio matters.
- Use
last_imagewhen you want the extended scene to finish at a specific visual state.
Notes
videoandpromptare required.
durationsupports3–30seconds and defaults to5.
resolutiondefaults to720p.
- The extension begins from the source video's last frame.
- The original video and generated segment are returned as one continuous clip.
- The source video's existing audio is retained, while the new segment includes generated synchronized audio.
Related Models
- Kling V4.0 Text-to-Video — Generate videos directly from text prompts.
- Kling V4.0 Image-to-Video — Animate a reference image with Kling V4.0.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Kling 4.0 Video Extend API example
The catalog lists POST https://api.opensi.com.ai/api/v3/kwaivgi/kling-v4.0/video-extend for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"video": "https://static.website-files.org/assets/video-generator/landing/showcase/01-b2f9ad31587b.mp4",
"last_image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"resolution": "720p",
"duration": 5
}Kling 4.0 Video Extend API — Frequently asked questions
What is the Kling v4.0 Video Extend API?
Kling v4.0 Video Extend is a Kuaishou model for video extension, exposed as a REST API on OpenSIAI. Kling V4.0 Video Extend continues a video from its last frame with a new 3 to 30 second segment guided by your prompt, at 720p, 1080p or 4K with synchronized stereo audio, and returns the original and the new segment joined. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Kling v4.0 Video Extend API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/kwaivgi/kling-v4.0/video-extend.
How much does Kling v4.0 Video Extend cost per run or per second?
Kling v4.0 Video Extend starts at $0.13345 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Kling v4.0 Video Extend accept?
Key inputs: prompt, video, resolution, duration, last_image. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/kwaivgi/kling-v4.0/video-extend.
How long does Kling v4.0 Video Extend take to generate?
Reported generation time on OpenSIAI is around 340 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Kling v4.0 Video Extend outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Kuaishou). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
