Semua model
Kling V2 6 Motion Control
klingai/kling-v2-6-motion-control
Mulai cepat
# 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"}'Contoh
Parameter
Input
image_url string wajib
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 wajib
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 opsional bawaan: "original"
Keep the reference video audio or omit audio
character_orientation string opsional bawaan: "video"
Match character orientation to the reference video or image
prompt string opsional
Optional prompt for scene and background details
resolution string opsional bawaan: "720p"
Generated video resolution
Output