Pricing
Compare models →$0.126 per second of the input video (rounded up to whole seconds, at most 20 seconds). A 5 second video costs $0.63.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Describe the edit you want applied to the video - change a subject, the setting, the weather or the style. Refer to reference images as @Image1, @Image2, ... in array order. |
videoRequired | string | URL of the video to edit. The edit keeps its scene, subject and motion; 3-20 seconds, longer videos are trimmed to 20 seconds. |
images | array | Optional reference images (up to 10) for a subject, object or style to bring into the edit.Items: 0–10JSON schema{
"items": {
"type": "string"
}
} |
keep_original_sound | boolean | Keep the input video's own sound instead of generating new synchronized audio.Default: false |
aspect_ratio | string | Aspect ratio of the output video. Follows the input video if not specified.xxx-empty16:99:161:121:9JSON schema{
"x-clearable": true
} |
README
Kling V4.0 Flash Video Edit
Kling V4.0 Flash Video Edit rewrites an existing video from a text instruction at 720p: it keeps the scene, subject and motion and changes what you describe. Flash is the fast, lower-cost tier of Kling 4.0: 720p clips of 3 to 20 seconds with synchronized audio, for quick iteration and volume work.
Why Choose This?
- Instruction-based editing — Change a subject, the setting, the weather or the style in plain language.
- Source-guided motion — The original action and camera movement carry through.
- Reference images — Up to 10 images for a subject, object or style to bring in.
- Audio control — New synchronized audio by default, or keep the original soundtrack.
Parameters
| Parameter | Required | Description |
|---|---|---|
| video | Yes | The video to edit, 3 to 20 seconds; longer videos are trimmed to 20 seconds. |
| prompt | Yes | Describe the edit. Refer to reference images as @Image1, @Image2, ... in array order. |
| images | No | Up to 10 reference images. |
| keep_original_sound | No | Keep the input video's own sound instead of generating new audio. Default false. |
| aspect_ratio | No | 16:9, 9:16, 1:1 or 21:9. Leave it out to follow the input video. |
The output follows the input video's length.
Pricing
$0.126 per second of the input video (rounded up to whole seconds, at most 20 seconds). A 5 second video costs $0.63.
Related Models
- Kling V4.0 Flash Text-to-Video — Generate a clip from a text prompt.
- Kling V4.0 Flash Image-to-Video — Animate a first-frame image.
- Kling V4.0 Flash Reference-to-Video — Generate with reference images and videos.
- Kling V4.0 — The full Kling 4.0: 1080p, clips up to 30 seconds, keyframes and reference audio.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Kling 4.0 Flash Video Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/kwaivgi/kling-v4.0-flash/video-edit for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "Transform the scene into a cinematic rainy-night version of the original video while preserving the camera movement and action. Change the background to a neon-lit downtown street with reflections on the pavement, add light rain and subtle mist, and restyle the subject's clothing to a sleek modern black coat inspired by @Image1. Use the color palette and mood from @Image2, with realistic lighting, natural motion, and high detail.",
"video": "https://d1s3annbwribom.cloudfront.net/marketplace/examples/261116/default/99kai3ca2fw8.jpeg",
"images": [
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/261116/default/fmuoz6xmbegk.jpeg",
"https://d1s3annbwribom.cloudfront.net/marketplace/examples/261116/default/058r3e5r6r1m.jpeg"
],
"keep_original_sound": false,
"aspect_ratio": "16:9"
}Kling 4.0 Flash Video Edit API — Frequently asked questions
What is the Kling v4.0 Flash Video Edit API?
Kling v4.0 Flash Video Edit is a Kuaishou model for video editing, exposed as a REST API on OpenSIAI. Kling V4.0 Flash Video Edit transforms existing videos with natural-language instructions while preserving the original scene, subject, and motion, with optional reference-image guidance and synchronized audio for creative edits, marketing content, social videos, and production workflows. 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 Flash Video Edit 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-flash/video-edit.
How much does Kling v4.0 Flash Video Edit cost per run or per second?
Kling v4.0 Flash Video Edit starts at $0.126 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 Flash Video Edit accept?
Key inputs: prompt, images, video, aspect_ratio, keep_original_sound. 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-flash/video-edit.
How long does Kling v4.0 Flash Video Edit take to generate?
Reported generation time on OpenSIAI is around 83 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 Flash Video Edit 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.