Kling

Kling 2.6

Video
Not available
Generate Now

Kling 2.6 motion-controlled video generation.

Type
Video Motion Control
Billed
per sec
Provider
Kling

Pricing

/ sec
1080p$0.27 / sec
720p$0.17 / sec

Default duration: 30s

Supported parameters

modelSettings
  • Promptprompt
  • Image Inputinput_urls
  • Video Urlsvideo_urls
  • Character Orientationcharacter_orientation
  • Modemode

Code examples

POST /v1/generations

Generations are async — the request returns immediately with an id; poll for the result.

python
import requests

response = requests.post(
    "https://api.modelstack.cc/v1/generations",
    headers={"Authorization": "Bearer sk_YOUR_API_KEY"},
    json={
        "type": "VIDEO_MOTION_CONTROL",
        "prompt": "A serene mountain landscape at sunset",
        "model": "kling/2.6"
    },
)
generation_id = response.json()["data"]["id"]

# Poll for the result
result = requests.get(
    f"https://api.modelstack.cc/v1/generations/{generation_id}",
    headers={"Authorization": "Bearer sk_YOUR_API_KEY"},
).json()
print(result["data"]["status"])

Related models

Frequently asked questions

How is Kling 2.6 billed on ModelStack?expand_more
Kling 2.6 (Video Motion Control) is billed at a flat, prepaid rate of $4.95 / vid — generation pricing has no tier-based discounts. Final request costs are available in the console.
What other generation types does Kling 2.6 support?expand_more
Besides Video Motion Control, Kling 2.6 also supports: Text to Video, Image to Video.
Which parameters does Kling 2.6 support?expand_more
Kling 2.6 supports: Prompt, Image Input, Video Urls, Character Orientation, Mode.
How can I generate with Kling 2.6?expand_more
Use the Generate composer in your dashboard, or call the API directly with model `kling/2.6` and type `VIDEO_MOTION_CONTROL` — see the code example above.