Skip to content

Commit 2dd315b

Browse files
techpro-aimlapigitbook-bot
authored andcommitted
GITBOOK-746: docs: expand the content of the kling v2.6 pro motion control page
1 parent 6bc034b commit 2dd315b

3 files changed

Lines changed: 32 additions & 0 deletions

File tree

8.37 MB
Loading
1.59 MB
Loading

docs/api-references/video-models/kling-ai/video-v2.6-pro-motion-control.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,30 @@ If the video generation task status is `completed`, the response will include th
7171

7272
## Code Example
7373

74+
1. Provide the URL of the image containing the character you want to animate.
75+
2. Provide the URL of the video where another character performs the movements you want to transfer to the animated character.
76+
3. If needed, describe minor background details or additional objects in the frame using the `prompt` parameter. Example: `"At 00:03, a brightly colored parrot flies in from the left, briefly circles above the character once, and then hurries off to the right."`
77+
4. Set the `character_orientation` parameter to `image` or `video`, depending on whether you want to use the character’s orientation from the image reference or from the video reference.
78+
5. By default, the model uses the audio track from the reference video. You can disable this behavior by setting the `keep_audio` parameter to `false`.
79+
80+
<details>
81+
82+
<summary> Input Reference Guidelines</summary>
83+
84+
* Ensure the character’s entire body and head are clearly visible and not obstructed in both the image and the motion reference.
85+
* Keep the character’s proportions consistent between the image and the reference video. Avoid pairing a full-body motion reference with a half-body or cropped image.
86+
* Upload a motion reference featuring a single character whenever possible.\
87+
If the motion reference contains two or more characters, the motion of the character occupying the largest portion of the frame will be used for generation.
88+
* Real human actions are recommended. Certain stylised characters, humanoid animals, and characters with partial humanoid body proportions are supported and can be recognised.
89+
* Avoid cuts, camera movements, and rapid scene changes in the motion reference video.
90+
* Avoid overly fast or complex motions. Steady, moderate movements generally produce better results.
91+
* The short edge of the input media must be at least 300–340 px (depending on the input type), and the long edge must not exceed 3850–65536 px.
92+
* The supported duration of the motion reference video ranges from 3 to 30 seconds.\
93+
The generated video length will generally match the duration of the uploaded reference video.
94+
* If the motion is too complex or fast-paced, the generated output may be shorter than the original video, as the model can only extract valid continuous action segments.
95+
96+
</details>
97+
7498
The code below creates a video generation task, then automatically polls the server every **15** seconds until it finally receives the video URL.
7599

76100
{% tabs %}
@@ -320,6 +344,14 @@ Processing complete:
320344

321345
**Processing time**: \~ 5 min 56 sec.
322346

347+
<details>
348+
349+
<summary>Image and Video References</summary>
350+
351+
<table data-header-hidden data-full-width="true"><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top"><img src="../../../.gitbook/assets/woman-in-yellow-dancing.png" alt=""></td><td valign="top"><img src="../../../.gitbook/assets/video-reference-motion.gif" alt=""></td></tr></tbody></table>
352+
353+
</details>
354+
323355
**Generated video** (1936x1072, without sound, the character’s orientation matches the orientation from the image reference):
324356

325357
{% embed url="https://drive.google.com/file/d/1vlalNtBr0tJnEvsS0uQQW1NmyzFH8_0T/view" %}

0 commit comments

Comments
 (0)