About Kling 2.6 Pro - Text to Video
Kling 2.6 Pro - Text to Video is a video generation model. It excels in generating short 1080p videos from text prompts with optional native synchronized audio, including lip-sync, dialogue, sound effects, and ambient sounds, reducing the need for post-production editing compared to models that output silent clips.
Some other noteworthy features of Kling 2.6 Pro - Text to Video include support for multiple aspect ratios (16:9, 9:16, 1:1), bilingual voice output (English/Chinese), image-to-video prompts, and Pro mode for higher detail.
Ready to build with Kling 2.6 Pro - Text to Video?
Try Kling 2.6 Pro - Text to Video in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.
curl -sSf -X POST https://hub.oxen.ai/api/ai/videos/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "kling-video-v2-6-pro-text-to-video",
"prompt": "A close up of a blonde woman surfer in a wet suit, with a wave behind her, paddling to get momentum before standing up, on her stomach, looking back over her shoulder at the wave coming in.",
"negative_prompt": "blur, distort, and low quality",
"generate_audio": true,
"aspect_ratio": "16:9",
"duration": 5,
"cfg_scale": 0.5
}'Request parameters
Every field Kling 2.6 Pro - Text to Video accepts in the request body. See the API reference for response formats.
https://hub.oxen.ai/api/ai/videos/generate| Field | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | Text description of what you want to generate, or the instruction on how to edit the given image. |
negative_prompt | string | No | — | Text description of what you *do not* want the model to do. |
generate_audio | boolean | No | true | Generate audio with the video. |
aspect_ratio | string | No | "16:9" | 9:1616:91:1 |
duration | integer | No | 5 | Range: 5 – 10 |
cfg_scale | number | No | 0.5 | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt. Default value: 0.5 Range: 0 – 10 |