Generate high-quality AI videos using Kling v2.6 with text-to-video and image-to-video capabilities.

Model

kuaishou/kling-2.6

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes*-Text description. *Required for text-to-video, optional for image-to-video
start_image_urlstringNo-Start frame URL (enables image-to-video)
end_image_urlstringNo-End frame URL
durationintegerNo55 or 10 seconds
aspect_ratiostringNo"16:9""16:9", "9:16", "1:1". Text-to-video only
modestringNo"std""std" or "pro"
audiobooleanNofalseGenerate audio for the output video

Example - Text-to-Video

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "kuaishou/kling-2.6",
    "input": {
      "prompt": "A majestic eagle soaring through mountain peaks",
      "aspect_ratio": "16:9",
      "duration": 5,
      "audio": true
    }
  }'

Example - Image-to-Video

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "kuaishou/kling-2.6",
    "input": {
      "prompt": "Animate this scene with gentle movement",
      "start_image_url": "https://example.com/my-image.jpg",
      "duration": 5
    }
  }'

Response

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "pending"
  }
}

Pricing

ModePrice
std (720p)$0.025/s
pro (1080p)$0.045/s