Video

Kling 2.6 Motion Control video

Character animation via motion transfer. 720p/1080p.

Category: Motion control · kling-2-6-motion-control

How to use & limits

Capabilities

What this model supports, straight from the schema — no pricing, no infrastructure detail.

CapabilityValue
billing_unit Billing unitper_second
motion_control Motion controlYes
reference_image Reference imageYes
reference_video Reference videoYes
max_prompt_length Max prompt length2500
allowed_resolutions Allowed resolutions720p, 1080p

Parameters

Fields accepted in params (or first-class, where applicable) for POST /generations.

NameLabelTypeRequiredDefaultOptionsMin / MaxDescription
promptPrompttextareaOptionalOptional scene description; up to 2,500 characters.
image_urlsReference image (1)multi_selectRequired— – 1Character image (1): head, shoulders and torso.
video_urlsReference video (1)multi_selectRequired— – 1Motion reference video (1), 3 to 30 seconds.
character_orientationOrientação do personagemselectRequiredvideoimage · videoimage (output up to 10s) or video (up to 30s).
resolutionResolutionselectRequired1080p720p · 1080pResolution: 720p or 1080p.

Example request

bash
curl -X POST https://caranguejo.art/api/v1/dev/generations \
  -H "Authorization: Bearer $CK" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-2-6-motion-control",
  "prompt": "The character dances on a lit stage with haze in the background.",
  "params": {
    "character_orientation": "video",
    "resolution": "1080p",
    "image_urls": [
      "https://media.caranguejo.art/inputs/example.png"
    ]
  }
}'
javascript
const res = await fetch("https://caranguejo.art/api/v1/dev/generations", {
  method: "POST",
  headers: {
    "Authorization": "Bearer " + process.env.CK,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "kling-2-6-motion-control",
    "prompt": "The character dances on a lit stage with haze in the background.",
    "params": {
      "character_orientation": "video",
      "resolution": "1080p",
      "image_urls": [
        "https://media.caranguejo.art/inputs/example.png"
      ]
    }
  }),
});
const { data } = await res.json();

Example response

json
{
  "id": "9f0c1a7e-…",
  "object": "generation",
  "model": "kling-2-6-motion-control",
  "type": "video",
  "status": "completed",
  "output": {
    "assets": [
      {
        "url": "https://media.caranguejo.art/outputs/example.mp4",
        "type": "video"
      }
    ]
  }
}
The job's real cost is returned as credits_charged on the completed response — check GET /balance for the account balance.

Common errors for this job type:

insufficient_creditsAccount balance can't cover the job cost.
content_policy_violationPrompt or media rejected by content policy.
generation_timeoutThe job exceeded the maximum processing time.
rate_limitedToo many requests per minute.
invalid_inputA required parameter is missing or outside the model's schema.
generation_failedGeneric processing failure.