Kling 2.6
ImageNot available
Kling 2.6 image-to-video generation. Animates still images with a text prompt.
- Type
- Image to Video
- Billed
- per sec
- Provider
- Kling
- Durations
- 5s · 10s
Pricing
/ secSound off$0.17 / sec
Sound on$0.33 / sec
Default duration: 5s
Supported parameters
modelSettings- Promptprompt
- Image Inputimage_urls
- Soundsound
- Durationduration
Code examples
POST /v1/generationsGenerations 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": "IMAGE_TO_VIDEO",
"prompt": "A serene mountain landscape at sunset",
"model": "kling/2.6",
"modelSettings": {
"duration": "5"
}
},
)
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
Other generation types for this model
More from Kling
Frequently asked questions
How is Kling 2.6 billed on ModelStack?expand_more
Kling 2.6 (Image to Video) is billed at a flat, prepaid rate of $0.82 / 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 Image to Video, Kling 2.6 also supports: Text to Video, Video Motion Control.
Which parameters does Kling 2.6 support?expand_more
Kling 2.6 supports: Prompt, Image Input, Sound, Duration.
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 `IMAGE_TO_VIDEO` — see the code example above.