Kling V2.6 画像から動画への API
kwaivgi/kling-v2.6/image-to-video
Kling 2.6 は、滑らかな動き、映画のようなビジュアル、正確なプロンプトの適合性、そして共有可能なクリップ用のネイティブオーディオを備えた、最高レベルの画像から動画生成を提供します。すぐに使用可能な REST 推論 API、優れたパフォーマンス、コールドスタートなし、手頃な価格。
サンプル
パラメータ
| 名前 | 型 | 既定 | 制約 | 説明 |
|---|---|---|---|---|
| image *画像 | image_upload | — | 0–1 items | 対応画像形式:.jpg /.jpeg /.png 画像ファイルのサイズは 10MB を超えないこと、画像の幅と高さは 300px 以上であること、画像のアスペクト比は 1:2.5 から 2.5:1 の間である必要があります。 |
| prompt *プロンプト | textarea | — | ≤ 5000 chars | 生成用のポジティブプロンプト。 |
| negative_promptネガティブプロンプト | textarea | — | ≤ 5000 chars | 生成用のネガティブプロンプト。 |
| end_image終了画像 | image_upload | — | 0–1 items | 終了画像の URL。 |
| resolution生成モード | select | 720P | 720P | 1080P | |
| duration長さ | slider | 5 | 3 ~ 15 · step 1 | 生成されるメディアの長さ(秒単位)。 |
| sound音声 | boolean | false | — | 動画を生成する際に音声を同時に生成するかどうか。音声を有効にする場合は 1080P 解像度をご使用ください(720P 標準モードでは音声は利用できません)。 |
| cfg_scaleCFG スケール | number | 0.5 | — | 動画生成の柔軟性;値が高いほどモデルの柔軟性が低くなり、ユーザーのプロンプトとの関連性が強くなります。 |
| multi_shotマルチレンズスイッチ | boolean | — | — | マルチショット動画を生成するかどうか trueの場合:promptパラメータは無効です。 falseの場合:shot_typeおよびmulti_promptパラメータは無効です。 |
| shot_typeショットタイプ | select | — | customize | intelligence | 生成されるショットタイプ。 |
| multi_promptマルチプロンプト | array<object> | — | — | 生成のためのマルチプロンプト要素のリスト。 |
| ↳durationDuration | number | 5 | — | The duration of this shot in seconds. |
| ↳promptPrompt | text | — | — | The prompt for this shot. |
API
統一 REST API でこのモデルを呼び出せます。API Keys ページでキーを取得してください。
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);ドキュメント
Kling V2.6 画像から動画へ
高品質な画像から動画生成、音声同期と映画的なビジュアルを実現
Kling V2.6 は、画像から動画へのシームレスな生成を目的とした最先端モデルです。滑らかな動き、映画的なビジュアル、正確なプロンプトの適合性、そして同期された音声を組み合わせ、すぐに共有可能な動画クリップを生成します。冷スタートなしで、価格も手頃なこのモデルは、効率的で高品質な動画生成を求める開発者やクリエイターに最適です。
🚀 主な特徴
- 音声と動画の同時生成:映像と音声を同時に生成し、後処理での音声同期が不要。
- プロンプトの正確性:ユーザーが定義したプロンプトに忠実に従い、シーンの動き、カメラ移動、音声を正確に統合。
- 開始フレームと終了フレームのサポート:開始フレームとオプションの終了フレームを定義し、アニメーションを制御可能。
- 音声カスタマイズ:
voice_listを使用してキャラクター固有の音声を追加可能。 - 物理的に自然な動き:滑らかで自然な動きを生成し、リアルで一貫性のある仕上がり。
- プロンプト強化ツール内蔵:プロンプトを自動的に改善し、より良い動画生成結果を提供。
🛠️ 技術仕様
| パラメータ | タイプ | デフォルト値 | 範囲/オプション | 説明 |
|---|---|---|---|---|
| 画像 | string | - | .jpg, .jpeg, .png | アニメーションの開始フレーム。最大サイズ:10MB;最小寸法:300px;アスペクト比:1:2.5 ~ 2.5:1。 |
| プロンプト | string | - | - | シーンの動き、カメラ移動、音声を記述する正のプロンプト。 |
| ネガティブプロンプト | string | - | - | 映像や音声で避けたい要素。 |
| 終了画像 | string | - | - | アニメーションの目標をガイドするオプションの終了フレーム。 |
| CFG スケール | number | 0.5 | 0.00 ~ 1.00 | ガイダンス強度。値が高いほどプロンプトへの適合性が強くなる。 |
| 音声 | boolean | true | true, false | 音声と動画の同時生成を有効化するかどうか。 |
| 音声リスト | array | - | - | カスタムキャラクター音声のトーンリスト。 |
| 長さ | integer | 5 | 5, 10 | 生成する動画の長さ(秒)。 |
💰 料金
| 属性 | 720P | 1080P |
|---|---|---|
| 音なし | 0.0420 | 0.0700 |
| 音あり | 0.1400 |
💡 主な利用ケース
- プロモーション動画:キャラクター同期音声を備えたローンチ動画を作成。
- ストーリーテリング:映像、動き、音声が完璧に統合された短編動画を生成。
- 製品説明動画:マーケティングやチュートリアル向けに、自然なナレーション付きの明確な映像を提供。
- ソーシャルコンテンツ:没入感のある雰囲気と音声効果を備えた映画的な投稿を制作。
- アニメーションシーン:静止画像に一貫した動きと音声を加えて生命を吹き込む。
🔗 関連モデル
- Kling 2.6 テキストから動画へ:テキストプロンプトから直接動画を生成。
- Vidu Q2 Pro 画像から動画へ:BGM サポートを備えた代替モデル。
関連モデル
xAI Grok Imagine Video v1.5 画像から動画
1枚の入力画像とテキストプロンプトから1-15秒の動画を生成します。480pと720pに対応しています。
Vidu Q3 画像から動画へ
Vidu Q3 画像から動画へは、テキストプロンプトを高品質な動画に変換し、優れた視覚的忠実度と多様なモーションを実現します。すぐに使える REST 推論 API、最高のパフォーマンス、コールドスタートなし、手頃な価格。
Nami Wan 2.7 I2V Spicy Prime
参照画像とプロンプトから2〜15秒の動画を生成します。720p/1080p出力と任意の音声ガイドに対応します。
MiniMax H3 画像から動画
MiniMax H3 Image to Video は、最初のフレーム画像を自然で一貫性のある 2K 動画にアニメーション化します。自然言語によるモーション指示に対応し、任意の最終フレーム制御によって、動きの一貫性、シーンの連続性、映画のような動画生成を実現します。すぐに使える REST 推論 API を提供し、高性能、コールドスタートなし、手頃な価格で利用できます。
Kling Omni Video O3 画像から動画へ
Kling Omni Video O3( は、MVL(マルチモーダルビジュアルランゲージ)技術を使用して静止画像を動的なシネマティック動画に変換します。被写体の一貫性を保ちながら、自然な動き、物理シミュレーション、シームレスなシーンダイナミクスを追加。音声生成にも対応。すぐに使えるREST API、最高のパフォーマンス、コールドスタートなし、手頃な価格。
Kling Omni Video O1 画像から動画生成
Kling Omni Video O1 画像から動画生成は、MVL(マルチモーダルビジュアル言語)技術を使用して静止画像をダイナミックな映画品質の動画に変換します。自然な動き、物理シミュレーション、シームレスなシーンダイナミクスを追加しながら、被写体の一貫性を維持します。すぐに使えるREST API、最高のパフォーマンス、コールドスタートなし、手頃な価格。
Kling 3.0 Standard 画像から動画へのモデル
Kling 3.0 Standard は、高品質な画像から動画への生成を提供し、スムーズなモーション、映画のようなビジュアル、正確なプロンプトの遵守、共有可能なクリップのためのネイティブ音声を備えています。すぐに使用できる REST 推論 API、最高のパフォーマンス、コールドスタートなし、手頃な価格。
Gemini Omni Flash 画像から動画 API
Gemini Omni Flash Image to Video は、入力画像を同期音声付きの短い AI 動画に変換し、元画像に沿って動きと音を追加します。すぐに使える REST 推論 API で、高性能、コールドスタートなし、手頃な価格です。