Kling V2.6 Pro Motion Control API: Transfer Motion to Any Subject
Start Building with Hypereal
Access Kling, Flux, Sora, Veo & more through a single API. Free credits to start, scale to millions.
No credit card required • 100k+ developers • Enterprise ready
What is Kling Motion Control API?
Kling V2.6 Pro Motion Control API enables you to transfer motion from a reference video to a subject image, creating dynamic video content. This powerful API takes a still image and a motion reference video, then animates the subject to match the movements in the reference.
Use Cases
- Dance Videos: Transfer dance choreography to any character
- Product Animation: Bring product images to life with dynamic motion
- Character Animation: Animate illustrations or photos with reference motion
- Social Media Content: Create engaging animated content from static images
API Parameters
Required Parameters
| Parameter | Type | Description |
|---|---|---|
image |
string | Subject image URL (jpg/png, max 10MB, min 300px, aspect ratio 1:2.5 to 2.5:1) |
video |
string | Reference video URL for motion (mp4/mov, max 10MB, min 300px, aspect ratio 1:2.5 to 2.5:1) |
character_orientation |
string | Output framing: "image" or "video" |
Optional Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
prompt |
string | — | Positive prompt for generation guidance |
negative_prompt |
string | — | Elements to avoid (max 2,500 characters) |
keep_original_sound |
boolean | true |
Preserve audio from reference video |
Pricing
| Duration | Price (USD) | Credits |
|---|---|---|
| 5 seconds | $0.56 | ~96 |
| 10 seconds | $1.12 | ~192 |
| 15 seconds | $1.68 | ~288 |
| 30 seconds | $3.36 | ~576 |
How to Use Kling Motion Control API
Step 1: Create an Account
Sign up at Hypereal to get started with Kling Motion Control API.
Step 2: Get Your API Key
Generate your API key from the dashboard. Keep it secure and never expose it in client-side code.
Step 3: Make Your API Call
const response = await fetch('https://api.hypereal.com/v1/videos/generate', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
model: 'kling-2-6-motion-control',
image: 'https://example.com/subject.jpg',
video: 'https://example.com/motion-reference.mp4',
character_orientation: 'image',
prompt: 'Smooth, natural movement',
negative_prompt: 'blurry, distorted, artifacts',
keep_original_sound: true
})
});
const result = await response.json();
console.log(result);
Step 4: Handle the Response
if (result.status === 'completed') {
console.log('Video URL:', result.outputs[0]);
} else if (result.status === 'processing') {
// Poll for completion using the task ID
console.log('Task ID:', result.id);
} else {
console.error('Error:', result.error);
}
Best Practices
- Match aspect ratios - Use similar aspect ratios for image and video for best results
- Quality inputs - Higher quality source materials produce better outputs
- Clear subjects - Ensure the subject in the image is clearly visible
- Appropriate motion - Choose reference videos with motion suitable for your subject
- Use prompts wisely - Add prompts to guide style and quality
FAQ
What file formats are supported?
- Images: JPG, PNG (max 10MB)
- Videos: MP4, MOV (max 10MB)
What is character_orientation?
This parameter controls whether the output video's framing follows the subject image or the reference video's composition.
Can I preserve the audio?
Yes, set keep_original_sound: true to preserve the audio track from your reference video.
How long can the output video be?
Output videos can be 5, 10, 15, or 30 seconds based on your reference video duration.
Why Choose Hypereal for Kling Motion Control API?
Access Kling Motion Control and 100+ other AI models through a single, unified API. Benefits include:
- One API key for all models
- Unified billing across providers
- Competitive pricing with volume discounts
- Excellent documentation and support
Get Started Free - No credit card required.
Related Articles
Start Building Today
Get 35 free credits on signup. No credit card required. Generate your first image in under 5 minutes.
