About Kling 2.6 Pro - Image to Video
Kling 2.6 Pro - Image to Video is a Diffusion model designed for generating short video clips from a static input image. It excels in producing motion with visual consistency from the reference image, along with optional synchronized native audio including sound effects and dialogue.
Some other noteworthy features of Kling 2.6 Pro - Image to Video include support for 1080p resolution in 16:9, 9:16, or 1:1 aspect ratios, and clip durations of 5 or 10 seconds.
Ready to build with Kling 2.6 Pro - Image to Video?
Try Kling 2.6 Pro - Image to Video in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.
curl -sSf -X POST https://hub.oxen.ai/api/ai/videos/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "kling-video-v2-6-pro-image-to-video",
"prompt": "A man making it to the summit on top of a mountain. The man raises his arms in victory and exhales a sigh of relief.",
"input_image": "https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/images/man-hiking.png",
"negative_prompt": "blur, distort, and low quality",
"duration": 5,
"generate_audio": true
}'Request parameters
Every field Kling 2.6 Pro - Image to Video accepts in the request body. See the API reference for response formats.
https://hub.oxen.ai/api/ai/videos/generate| Field | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | Text description of what you want to generate, or the instruction on how to edit the given image. |
input_image | stringuri | No | — | Image to use as reference. Must be jpeg, png, gif, or webp. |
negative_prompt | string | No | — | Text description of what you *do not* want the model to do. |
duration | integer | No | 5 | Range: 5 – 10 |
generate_audio | boolean | No | true | Generate audio with the video. |