Skip to main content
KuaishouSlowUltra

Kling v2.1

Kling v2.1 with 720p/1080p support and frame transition capabilities for smooth, high-quality video generation.

375 credits
per video
720p and 1080p output support
Smooth frame transitions
Image-to-video capability
Adjustable prompt adherence (cfg_scale)
5 or 10 second duration

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

llms.txt

Quick Start

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.1",
  "input": {
    "prompt": "Sweeping aerial view of cherry blossom trees along a river, petals floating in the wind, golden hour lighting, cinematic drone movement",
    "duration": "10",
    "aspect_ratio": "16:9",
    "cfg_scale": "0.5"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-Text description of the video to generate
image_urlstringNo-Starting image URL for image-to-video
durationintegerNo5Video duration in seconds (5 or 10)
510
aspect_ratiostringNo16:9Output aspect ratio
16:99:161:1
cfg_scalefloatNo0.5Prompt adherence (0.0-1.0)

How to Provide File Input

There are 3 ways to provide files for the image_url parameter:

Recommended

Direct Upload (Multipart)

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.1" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:image_url=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "kwaivgi/kling-v2.1",
  "input": {
    "prompt": "your prompt here",
    "image_url": "https://example.com/image.jpg"
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Cinematic Landscape

High-resolution landscape video

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.1",
  "input": {
    "prompt": "Sweeping aerial view of cherry blossom trees along a river, petals floating in the wind, golden hour lighting, cinematic drone movement",
    "duration": "10",
    "aspect_ratio": "16:9",
    "cfg_scale": "0.5"
  }
}'

Fashion Showcase

Stylish fashion video

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.1",
  "input": {
    "prompt": "Model walking down a neon-lit urban alley, stylish outfit, confident stride, slow motion, professional fashion photography style",
    "duration": "5",
    "aspect_ratio": "9:16",
    "cfg_scale": "0.7"
  }
}'

Tips & Best Practices

1Use cfg_scale around 0.5 for balanced creativity and prompt accuracy
2Lower cfg_scale values allow more creative freedom
3Provide a start image for more predictable opening frames
410-second videos work well for narrative sequences

Use Cases

High-resolution video production
Smooth transition animations
Product showcase videos
Social media content
Visual storytelling