Skip to main content

Kling Advanced Features

Virtual Try-On

POST /kling/v1/virtual-try-on
Apply clothing images onto person photos.

Request Parameters

ParameterTypeRequiredDescription
model_namestringYesModel name
human_imagestringYesPerson photo URL
cloth_imagestringYesClothing image URL
callback_urlstringNoCallback URL

Request Example

cURL
curl -X POST https://crazyrouter.com/kling/v1/virtual-try-on \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model_name": "kling-v1",
    "human_image": "https://example.com/person.jpg",
    "cloth_image": "https://example.com/dress.jpg"
  }'

Lip Sync

POST /kling/v1/lip-sync
Synchronize audio with a person’s lip movements in a video.

Request Parameters

ParameterTypeRequiredDescription
model_namestringYesModel name
video_urlstringYesOriginal video URL
audio_urlstringYesAudio file URL
callback_urlstringNoCallback URL

Request Example

cURL
curl -X POST https://crazyrouter.com/kling/v1/lip-sync \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model_name": "kling-v1",
    "video_url": "https://example.com/talking_head.mp4",
    "audio_url": "https://example.com/speech.mp3"
  }'

Video Extension

POST /kling/v1/video-extend
Extend the duration of an existing video.

Request Parameters

ParameterTypeRequiredDescription
model_namestringYesModel name
video_urlstringYesOriginal video URL
promptstringNoDescription for the extended portion
callback_urlstringNoCallback URL

Request Example

cURL
curl -X POST https://crazyrouter.com/kling/v1/video-extend \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model_name": "kling-v1-6",
    "video_url": "https://example.com/short_video.mp4",
    "prompt": "Continue showing the cat chasing butterflies"
  }'

Video Effects

POST /kling/v1/effects
Add effects to videos.

Request Parameters

ParameterTypeRequiredDescription
model_namestringYesModel name
imagestringYesInput image URL
effect_scenestringYesEffect scene
callback_urlstringNoCallback URL

Request Example

cURL
curl -X POST https://crazyrouter.com/kling/v1/effects \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model_name": "kling-v1",
    "image": "https://example.com/photo.jpg",
    "effect_scene": "christmas"
  }'
All advanced features are asynchronous tasks. After submission, use the Task Query endpoint to get results.