Kling V2.6 Image to Video API

kwaivgi/kling-v2.6/image-to-video

Kling 2.6 delivers top-tier image-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.

Examples

Kling V2.6 Image to Video API Examples 1

Parameters

NameTypeDefaultConstraintsDescription
image *Imageimage_upload—0–1 itemsSupported image formats:.jpg /.jpeg /.png The size of the image file should not exceed 10MB, the width and height of the image should be no less than 300px, and the aspect ratio of the image should be between 1:2.5 and 2.5:1
prompt *Prompttextarea—≤ 5000 charsThe positive prompt for the generation.
negative_promptNegative Prompttextarea—≤ 5000 charsThe negative prompt for the generation.
end_imageEnd Imageimage_upload—0–1 itemsURL of the ending image.
resolutionGeneration Modeselect720P720P | 1080PSelects the output resolution or provider generation mode. Higher settings may take longer to process.
durationDurationslider53 ~ 15 · step 1The duration of the generated media in seconds.
soundSoundbooleanfalse—Whether sound is generated simultaneously when generating a video. When enabling sound, use 1080P resolution (sound is not supported at 720P standard mode).
cfg_scaleCfg Scalenumber0.5—Flexibility in video generation; The higher the value, the lower the model’s degree of flexibility, and the stronger the relevance to the user’s prompt.
multi_shotMulti Shotboolean——Whether to generate multi-shot video When true: the prompt parameter is invalid. When false: the shot_type and multi_prompt parameters are invalid
shot_typeShot Typeselect—customize | intelligenceShot type for the generation.
multi_promptMulti Promptarray<object>——List of multi-prompt elements for the generation.
↳durationDurationnumber5—The duration of this shot in seconds.
↳promptPrompttext——The prompt for this shot.

Output fields

FieldTypeDescription
videosarray<string>Generated video URL(s).

API

Call this model through one unified REST API. Get a key on the API Keys page.

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/kwaivgi/kling-v2.6/image-to-video" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "image": [
      "https://assets-public.namifusion.com/uploads/images/2026-05-13/d9b25e55e48d.png"
    ],
    "prompt": "A cinematic video of a serene mountain lake at sunrise with soft golden light, gentle water ripples, and a tranquil atmosphere.",
    "negative_prompt": "Avoid low resolution, harsh lighting, or overly dark scenes.",
    "end_image": [
      "https://assets-public.namifusion.com/uploads/images/2026-05-13/93acbbe3763a.png"
    ],
    "resolution": "1080P",
    "duration": 10,
    "sound": true,
    "cfg_scale": 0.7,
    "shot_type": "intelligence"
  }
}'

# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import time, requests

API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1) Submit
resp = requests.post(
    "https://www.namifusion.com/api/v1/marketplace/run/kwaivgi/kling-v2.6/image-to-video",
    headers=HEADERS,
    json={
        "input": {
            "image": [
                "https://assets-public.namifusion.com/uploads/images/2026-05-13/d9b25e55e48d.png"
            ],
            "prompt": "A cinematic video of a serene mountain lake at sunrise with soft golden light, gentle water ripples, and a tranquil atmosphere.",
            "negative_prompt": "Avoid low resolution, harsh lighting, or overly dark scenes.",
            "end_image": [
                "https://assets-public.namifusion.com/uploads/images/2026-05-13/93acbbe3763a.png"
            ],
            "resolution": "1080P",
            "duration": 10,
            "sound": True,
            "cfg_scale": 0.7,
            "shot_type": "intelligence"
        }
    },
)
resp.raise_for_status()  # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()

# 2) Poll until a terminal state (completed / failed / cancelled).
#    This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
    if time.time() > deadline:
        raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
    time.sleep(3)
    poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
    poll.raise_for_status()
    task = poll.json()

print(task["status"], task.get("output"))
JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };

// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/kwaivgi/kling-v2.6/image-to-video", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "image": [
        "https://assets-public.namifusion.com/uploads/images/2026-05-13/d9b25e55e48d.png"
      ],
      "prompt": "A cinematic video of a serene mountain lake at sunrise with soft golden light, gentle water ripples, and a tranquil atmosphere.",
      "negative_prompt": "Avoid low resolution, harsh lighting, or overly dark scenes.",
      "end_image": [
        "https://assets-public.namifusion.com/uploads/images/2026-05-13/93acbbe3763a.png"
      ],
      "resolution": "1080P",
      "duration": 10,
      "sound": true,
      "cfg_scale": 0.7,
      "shot_type": "intelligence"
    }
  }),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();

// 2) Poll until a terminal state (completed / failed / cancelled).
//    This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
  if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
  await new Promise((r) => setTimeout(r, 3000));
  const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
  if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
  task = await poll.json();
}

console.log(task.status, task.output);

Documentation

Kling V2.6 Image-to-Video

High-quality image-to-video generation with synchronized audio and cinematic visuals

Kling V2.6 is a cutting-edge model designed for seamless image-to-video generation. It combines smooth motion, cinematic visuals, accurate prompt adherence, and synchronized audio to produce ready-to-share clips. With no cold starts and affordable pricing, this model is ideal for developers and creators looking for efficient and high-quality video generation.


🚀 Key Features

  • Audio-Video Co-Generation: Simultaneously generates visuals and soundtracks, eliminating the need for post-production audio syncing.
  • Prompt Accuracy: Adheres closely to user-defined prompts for precise scene motion, camera moves, and audio integration.
  • Start and End Frame Support: Allows users to define both starting and optional ending frames for controlled animation.
  • Voice Customization: Supports custom voices via voice_list for character-specific audio.
  • Physics-Aware Motion: Generates smooth and natural motion that feels coherent and realistic.
  • Built-in Prompt Enhancer: Automatically refines prompts for improved video generation results.

🛠️ Technical Specifications

ParameterTypeDefaultRange/OptionsDescription
imagestring-.jpg, .jpeg, .pngStarting frame for animation. Max size: 10MB; Min dimensions: 300px; Aspect ratio: 1:2.5 to 2.5:1.
promptstring--Positive prompt describing scene motion, camera moves, and audio.
negative_promptstring--Elements to avoid in visuals and audio.
end_imagestring--Optional ending frame to guide animation.
cfg_scalenumber0.50.00 ~ 1.00Guidance strength. Higher values result in stricter adherence to prompts.
soundbooleantruetrue, falseEnable audio-video co-generation.
voice_listarray--List of tones for custom character audio.
durationinteger55, 10Duration of the generated video in seconds.

💰 Pricing

Attribute720P1080P
Silent0.04200.0700
With Sound0.1400

💡 Best Use Cases

  • Promo Videos: Create launch videos with native-sounding, character-synced voiceovers.
  • Storytelling: Generate short clips with perfectly integrated visuals, motion, and sound.
  • Product Explainers: Deliver clear visuals with natural narration for marketing or tutorials.
  • Social Content: Produce cinematic posts with immersive ambience and sound effects.
  • Animated Scenes: Bring still images to life with coherent motion and audio.

🔗 Related Models

  • Kling 2.6 Pro Text-to-Video: Generate videos directly from text prompts.
  • Vidu Q2 Pro Image-to-Video: Alternative model with background music support.

Related models

xAI Grok Imagine Video v1.5 Image to Video
Image to VideoX Ai

xAI Grok Imagine Video v1.5 Image to Video

Animate one input image with a text prompt into a 1-15 second video at 480p or 720p.

from $0.850 / per run
Vidu Q4 Preview Image to Video
Image to VideoVidu

Vidu Q4 Preview Image to Video

Generate a 3–16 second video from a prompt and one image, with optional audio and prompt expansion. Supports 540p, 720p, 1080p, 2k and 4k.

from $0.475 / per run
vidu/q3/image-to-video-spicy
Image to VideoVidu

vidu/q3/image-to-video-spicy

Vidu Q3 Image-to-Video Spicy generates unlimited high-quality videos from images with smooth animations and diverse motion, optimized for scalable content generation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

from $0.750 / per run
Vidu Q3 Image To Video
Image to VideoVidu

Vidu Q3 Image To Video

Vidu Q3 Image-to-Video turns text prompts into high-quality videos with exceptional visual fidelity and diverse motion. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

from $0.750 / per run
MiniMax H3 Spicy Image to Video
Image to VideoMinimax

MiniMax H3 Spicy Image to Video

Animate a first-frame image with optional prompt and last-frame guidance. Supports 480p, 540p, 768p and 1080p video, with durations from 3 to 15 seconds.

from $0.200 / per run
MiniMax H3 Image to Video
Image to VideoMinimax

MiniMax H3 Image to Video

MiniMax H3 Image to Video animates a first-frame image into a coherent 2K video, with natural-language motion instructions and optional last-frame control for consistent motion, scene continuity, and cinematic video generation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

from $0.650 / per run
ltx-2.5/image-to-video
Image to VideoLtx 2.5

ltx-2.5/image-to-video

LTX 2.5 Image-to-Video animates a first-frame image into high-fidelity synchronized audio-video content, with optional last-frame guidance and 720P / 1080P / 2K / 4K output for cinematic videos, social content, ads, and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

from $0.500 / per run
ai/ltx-2.3-spicy/image-to-video-lora
Image to VideoLightricks

ai/ltx-2.3-spicy/image-to-video-lora

LTX 2.3 Spicy LoRA Image to Video API turns a reference image and prompt into expressive AI videos using selectable LoRA presets, optional LoRA strength overrides, duration, and resolution controls. Run fast REST inference on MaaS with no cold starts and affordable pricing.

from $0.150 / per run