Skip to content
Kling AI logo

Kling v3 Motion Control

video-to-video • Kling AI

Model ID

Use with the Workers AI binding, the AI Gateway REST API, or the Unified API.

Calling the provider directly? Use the provider's model name instead, including with provider-native endpoints or the provider's own SDK. For example, Anthropic's name for anthropic/claude-opus-4.8 is claude-opus-4-8.

  • Third-party

Kling AI Motion Control 3.0 transfers a reference video's motion to a character image, generating 3–30 seconds when matching the video orientation or up to 10 seconds when matching the image orientation, with optional prompt guidance and 720p or 1080p output.

Model Info
Terms and Licenselink ↗
More informationlink ↗
Pricing
  • Default (per second)$0.126
  • @720p (per second)$0.126
  • @1080p (per second)$0.168

Usage

const response = await env.AI.run(
  'klingai/kling-v3-motion-control',
  {
    audio: 'off',
    character_orientation: 'video',
    image_url:
      'https://p2-kling.klingai.com/kcdn/cdn-kcdn112452/kling-qa-test/35d77e27300cf5e8995704cd858d759c.png',
    prompt:
      "Keep the character's gray T-shirt and denim shorts while matching the dancer's fluid movements.",
    resolution: '720p',
    video_url: 'https://v4-kling.kechuangai.com/kcdn/cdn-kcdn112452/kling-qa-test/dance_10s.mp4',
  },
)
console.log(response)
curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run \
  --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "klingai/kling-v3-motion-control",
  "input": {
    "audio": "off",
    "character_orientation": "video",
    "image_url": "https://p2-kling.klingai.com/kcdn/cdn-kcdn112452/kling-qa-test/35d77e27300cf5e8995704cd858d759c.png",
    "prompt": "Keep the character'\''s gray T-shirt and denim shorts while matching the dancer'\''s fluid movements.",
    "resolution": "720p",
    "video_url": "https://v4-kling.kechuangai.com/kcdn/cdn-kcdn112452/kling-qa-test/dance_10s.mp4"
  }
}'
{
  "state": "Completed",
  "result": {
    "video": "https://examples.aig.cloudflare.com/klingai/kling-v3-motion-control/animate-a-character-from-motion.mp4"
  }
}

Parameters

prompt
stringmaxLength: 2500Optional prompt for scene and background details
image_url
stringrequiredformat: uriPublic URL of the character image (JPG or PNG)
video_url
stringrequiredformat: uriPublic URL of the motion reference video (MP4 or MOV)
character_orientation
stringrequireddefault: videoenum: video, imageMatch character orientation to the reference video or image
audio
stringrequireddefault: originalenum: original, offKeep the reference video audio or omit audio
resolution
stringrequireddefault: 720penum: 720p, 1080pGenerated video resolution
video
stringURL to the generated video

API Schemas (Raw)

Input
Output

Was this helpful?