Kling V2.6 Image to Video API

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

kwaivgi/kling-v2.6/image-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

Model terkait

Kling V2.6 Image to Video API Model terkait 1

Parameter lengkap, skema keluaran, dan harga terkini

Pasar API model AISatu platform untuk semuanyaPaling populerKetentuanJelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.
image *Imageimage_upload—0–1 items
prompt *Prompttextarea—≤ 5000 chars
negative_promptNegative Prompttextarea—≤ 5000 chars
end_imageEnd Imageimage_upload—0–1 items
resolutionGeneration Modeselect720P720P | 1080P
durationDurationslider53 ~ 15 · step 1
soundSoundbooleanfalse—
cfg_scaleCfg Scalenumber0.5—
multi_shotMulti Shotboolean——
shot_typeShot Typeselect—customize | intelligence
multi_promptMulti Promptarray<object>——
↳durationDurationnumber5—
↳promptPrompttext——

Parameter lengkap, skema keluaran, dan harga terkini

Pelajari lebih lanjutSatu platform untuk semuanyaJelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.
videosarray<string>

API

Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

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);

Dokumentasi API

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.

Model terkait

xAI Grok Imagine Video v1.5 Image to Video
Gambar ke videoX Ai

xAI Grok Imagine Video v1.5 Image to Video

x-ai/grok-imagine-video-v1.5/image-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.850 / per proses
vidu/q3/image-to-video-spicy
Gambar ke videoVidu

vidu/q3/image-to-video-spicy

vidu/q3/image-to-video-spicy. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.750 / per proses
Vidu Q3 Image To Video
Gambar ke videoVidu

Vidu Q3 Image To Video

vidu/q3/image-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.750 / per proses
MiniMax H3 Spicy Image to Video
Gambar ke videoMinimax

MiniMax H3 Spicy Image to Video

minimax/h3/image-to-video-spicy. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.200 / per proses
MiniMax H3 Image to Video
Gambar ke videoMinimax

MiniMax H3 Image to Video

minimax/h3/image-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.650 / per proses
ltx-2.5/image-to-video
Gambar ke videoLtx 2.5

ltx-2.5/image-to-video

ltx-2.5/image-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.500 / per proses
ai/ltx-2.3-spicy/image-to-video-lora
Gambar ke videoLightricks

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

lightricks/ltx-2.3-spicy/image-to-video-lora. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.150 / per proses
ai/ltx-2.3-spicy/image-to-video
Gambar ke videoLightricks

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

lightricks/ltx-2.3-spicy/image-to-video. Jelajahi API model gambar, video, dan tukar wajah. Coba model lalu integrasikan melalui satu API REST terpadu.

mulai $0.100 / per proses