Kling 2.6 Pro: top-tier image-to-video with cinematic visuals, fluid motion, and native audio generation. Audio generation is enabled by default.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "kwaivgi/kling-v2.6",
"input": {
"prompt": "A cinematic, low-angle tracking shot follows a cyclist from behind as they weave through busy New York City traffic. The camera then smoothly orbits around to the front, capturing the cyclist's determined expression.",
"duration": 5,
"aspect_ratio": "16:9",
"generate_audio": true
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text prompt for video generation |
start_image | string | No | - | First frame of the video |
negative_prompt | string | No | - | Things you do not want to see in the video |
aspect_ratio | string | No | 16:9 | Aspect ratio of the video. Ignored if start_image is provided 16:99:161:1 |
duration | integer | No | 5 | Duration of the video in seconds 510 |
generate_audio | boolean | No | true | Generate synchronized audio for the video (enabled by default โ doubles the per-second price) |
There are 3 ways to provide files for the start_image parameter:
Attach files directly to POST /v1/predictions/upload. No separate upload step needed.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=kwaivgi/kling-v2.6" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:start_image=@your_file.png"Pass a publicly accessible URL directly. You can also use file_url from the Storage API.
{
"model": "kwaivgi/kling-v2.6",
"input": {
"prompt": "your prompt here",
"start_image": "https://example.com/image.jpg"
}
}Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
Text-to-video with the default synchronized audio generation
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "kwaivgi/kling-v2.6",
"input": {
"prompt": "A cinematic, low-angle tracking shot follows a cyclist from behind as they weave through busy New York City traffic. The camera then smoothly orbits around to the front, capturing the cyclist's determined expression.",
"duration": 5,
"aspect_ratio": "16:9",
"generate_audio": true
}
}'Explicitly disabling audio halves the per-second price
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "kwaivgi/kling-v2.6",
"input": {
"prompt": "A lighthouse beam sweeping across a foggy coastline at dusk, waves crashing below",
"duration": 10,
"aspect_ratio": "16:9",
"generate_audio": false
}
}'POST /v1/predictions