← All models
Kling: Kling 4.0
kuaishou/kling-v4.0Kling 4.0 is the new generation of Kuaishou video model: cinematic image quality, precise prompt adherence and native video-reference understanding. 16:9, 9:16 and 21:9 formats, 720p/1080p resolution, 1 to 15 second clips; first and last frame control, reproducible seed.
Modalities
Price
Released
Oct 15, 2026
Calculator
per clip · 1s
Parameters
promptrequired, up to 2,500 characterssecondssizeinput_references1–9 imagesFine-tuning · 1
seedReproducibility number: the same prompt with the same seed yields the same clipHow 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",
prompt="Кот-космонавт на мотоцикле, ночь",
seconds="1",
size="720x1280",
# input_references=[...] # 1–9 референс-картинок
)
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")

