Kling 2.6 API for Developers
Kling 2.6 API
Generate motion-heavy AI videos with Kling 2.6 via API. Great for action sequences, camera control, and reliable image-to-video — no GPU setup required.
Free credits on signup
Transparent per-credit pricing
No watermarks with paid plans or credit packs
Subscriptions, credit packs, or usage-based billing
Auto-scaling
Trusted by teams at
Everything You Need to Ship Kling 2.6
Motion-heavy video generation with reliable camera control and controlled camera motion.
Motion & Action
Strong at motion-heavy sequences, physical interactions, and dynamic action scenes.
Camera Control
Reliable tracking, orbit, and dolly camera movements that follow cinematic conventions.
End-Frame Control
Guide how supported 1080p image-to-video generations finish.
Cost-Efficient
Starts at 36 credits per second at 720p, with higher usage at 1080p.
Auto-Scaling Infrastructure
Scales compute to match demand automatically. No GPU provisioning or cold starts.
Commercial-Ready
Paid subscriptions and credit-pack purchases support non-watermarked outputs with commercial licensing for production delivery.
Integrate in 3 Steps
Add motion-heavy AI video to your app in minutes.
1
Get Your API Key
Create an API key from the Developer dashboard. Kling 2.6 requires a paid plan.
2
Send Your Request
Pass a text prompt or reference image to the image-to-video endpoint and select the kling-2.6 model.
3
Get Results & Scale
Receive the generated video via response or webhook. Deploy to production — infrastructure scales automatically.
Code Examples
Kling 2.6 in a few lines of code. Install an SDK or use the REST API directly.
from magic_hour import Client
from os import getenv
client = Client(token=getenv("API_TOKEN"))
res = client.v1.image_to_video.generate(
assets={"image_file_path": "/path/to/first-frame.png"},
end_seconds=5,
model="kling-2.6",
name="Kling 2.6 Video",
resolution="720p",
style={"prompt": "A cinematic dolly zoom through a neon city at night"},
)Estimate Your API Costs
Every generation uses credits. Prepay with a subscription or one-time credit packs, or request usage-based billing for monthly invoicing and volume discounts.
Pricing tier options
Seconds of Video Per Month
100 seconds
seconds
Recommended plan
Pro Yearly
$300
/year
300,000 credits per year
Up to 3.5 hours of video
Up to 30,000 images
PRO YEARLY covers your usage
- 18,000credits / month
- 25,000credits / month
- 7,000credits / month
Estimated usage
Included
Remaining headroom
TOTAL BILL
$300
/year
SDKs for Every Stack
Official open-source SDKs with full TypeScript/type support. Install and start building.
Kling 2.6 API Pricing
Subscription plans for standard usage.
Need usage-based billing?
Email us or message us in Intercom for monthly billing with graduated volume discounts.
Built for Builders
See how developers use the Kling 2.6 API to power real products.
Action & Sports Content
Generate dynamic action sequences, sports highlights, and motion-heavy social content.
Ad Creative Iteration
Rapidly iterate on motion-driven ad concepts at lower cost before scaling to production.
Content Automation
Power video pipelines with reliable motion quality and predictable cost per clip.
E-Commerce Product Demos
Create product videos with natural motion and camera movement at scale.
Social Media Clips
Generate engaging action content for TikTok, Reels, and Shorts with smooth motion.
Game & App Marketing
Create dynamic promotional content with action sequences and controlled camera work.
Try before integrating
Try Kling 2.6 Free — No Code Required
Test quality first with the free tool, then plug the same output quality into your app with the API when you are ready.
Kling 2.6 API — Frequently Asked Questions
Magic Hour's Kling 2.6 API lets developers generate AI videos using Kuaishou's Kling 2.6 model via REST API with SDKs for Python, Node.js, Go, and Rust.
Kling 2.6 is more cost-efficient and particularly strong for motion-heavy content and action sequences. Kling 3.0 offers better character control, multi-shot storytelling, and a higher ceiling with 4k and controlled camera motion.
Kling 2.6 generates videos up to 10 seconds per request.
720p and 1080p in 9:16, 16:9, and 1:1 aspect ratios.
No. Kling 2.6 does not generate native audio in the current Magic Hour workflow.
Magic Hour offers subscription plans starting at $19/month (Creator), $39/month (Pro), and $99/month (Business), each including a monthly credit allotment. Credits are consumed per generation based on output length and model. Usage-based billing with graduated volume discounts is available by request. Kling 2.6 requires a paid plan (Creator, Pro, or Business).
Official SDKs for Python, Node.js, Go, and Rust. All open source on GitHub with full TypeScript support.
Paid subscriptions and credit-pack purchases include commercial-use rights and support non-watermarked outputs for production and commercial delivery.
Sign up at magichour.ai/developer to create an API key. Kling 2.6 requires a Creator, Pro, or Business plan before you can generate with this model.
No. Kling 2.6 requires a Creator, Pro, or Business plan.