All models

Kling V2 6 Motion Control

klingai/kling-v2-6-motion-control

Quick start

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "klingai/kling-v2-6-motion-control",
    "image_url": "https://example.com/input.jpg",
    "video_url": "https://example.com/input.mp4"
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "klingai/kling-v2-6-motion-control", "image_url": "https://example.com/input.jpg", "video_url": "https://example.com/input.mp4"}'

Examples

Parameters

Input
image_url string required

Public URL of the character image (JPG or PNG) Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.

video_url string required

Public URL of the motion reference video (MP4 or MOV) Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.

audio string optional default: "original"

Keep the reference video audio or omit audio

character_orientation string optional default: "video"

Match character orientation to the reference video or image

prompt string optional

Optional prompt for scene and background details

resolution string optional default: "720p"

Generated video resolution

Output