← All models

Kling: Kling 4.0 Edit

kuaishou/kling-v4.0-edit
Kling 4.0 Edit re-shoots your clip from a prompt: the model keeps the source scene, characters and motion while applying the described edits (lighting, style, weather, details). Clips up to 50 MB, duration and resolution (720p/1080p) are yours to choose, the sound is kept.
Modalities
Price
Released
Oct 15, 2026

Calculator

per clip · 1s

Parameters

promptrequired, up to 2,500 characters
seconds
size
Fine-tuning · 1
seedReproducibility number: the same prompt with the same seed yields the same clip

How to use via API

import time
from openai import OpenAI

client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
video = client.videos.create(
    model="kuaishou/kling-v4.0-edit",
    prompt="Кот-космонавт на мотоцикле, ночь",
    seconds="1",
    size="720x1280",
)
while video.status not in ("completed", "failed"):
    time.sleep(5)
    video = client.videos.retrieve(video.id)
client.videos.download_content(video.id).write_to_file("video.mp4")
API docsTry in the bot