video-v2.6-pro-text-to-video
A high-end AI system for producing cinematic, high-fidelity videos from text prompts, featuring native audio generation and smooth, natural motion. The flagship Kling model as of early December 2025.
Setup your API Key
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
How to Make a Call
API Schemas
Create a video generation task and send it to the server
The text description of the scene, subject, or action to generate in the video.
The aspect ratio of the generated video.
The length of the output video in seconds.
5Possible values: The description of elements to avoid in the generated video.
The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt.
Whether to generate audio for the video.
trueRetrieve the generated video from the server
After sending a request for video generation, this task is added to the queue. Based on the service's load, the generation can be completed in seconds or take a bit more.
Successfully generated video
Successfully generated video
Code Example
The code below creates a video generation task, then automatically polls the server every 15 seconds until it finally receives the video URL.
Processing time: ~ 2 min 32 sec.
Generated video (1920x1080, with sound):
Last updated
Was this helpful?