Kling V2.6 画像から動画への API

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

Kling 2.6 は、滑らかな動き、映画のようなビジュアル、正確なプロンプトの適合性、そして共有可能なクリップ用のネイティブオーディオを備えた、最高レベルの画像から動画生成を提供します。すぐに使用可能な REST 推論 API、優れたパフォーマンス、コールドスタートなし、手頃な価格。

サンプル

Kling V2.6 画像から動画への API サンプル 1

パラメータ

名前型既定制約説明
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生成モードselect720P720P | 1080P出力解像度またはプロバイダーの生成モードを選択します。高い設定ほど処理時間が長くなる場合があります。
duration長さslider53 ~ 15 · step 1生成されるメディアの長さ(秒単位)。
sound音声booleanfalse—動画を生成する際に音声を同時に生成するかどうか。音声を有効にする場合は 1080P 解像度をご使用ください(720P 標準モードでは音声は利用できません)。
cfg_scaleCFG スケールnumber0.5—動画生成の柔軟性;値が高いほどモデルの柔軟性が低くなり、ユーザーのプロンプトとの関連性が強くなります。
multi_shotマルチレンズスイッチboolean——マルチショット動画を生成するかどうか trueの場合:promptパラメータは無効です。 falseの場合:shot_typeおよびmulti_promptパラメータは無効です。
shot_typeショットタイプselect—customize | intelligence生成されるショットタイプ。
multi_promptマルチプロンプトarray<object>——生成のためのマルチプロンプト要素のリスト。
↳durationDurationnumber5—The duration of this shot in seconds.
↳promptPrompttext——The prompt for this shot.

出力フィールド

フィールド型説明
videosarray<string>

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 スケールnumber0.50.00 ~ 1.00ガイダンス強度。値が高いほどプロンプトへの適合性が強くなる。
音声booleantruetrue, false音声と動画の同時生成を有効化するかどうか。
音声リストarray--カスタムキャラクター音声のトーンリスト。
長さinteger55, 10生成する動画の長さ(秒)。

💰 料金

属性720P1080P
音なし0.04200.0700
音あり0.1400

💡 主な利用ケース

  • プロモーション動画:キャラクター同期音声を備えたローンチ動画を作成。
  • ストーリーテリング:映像、動き、音声が完璧に統合された短編動画を生成。
  • 製品説明動画:マーケティングやチュートリアル向けに、自然なナレーション付きの明確な映像を提供。
  • ソーシャルコンテンツ:没入感のある雰囲気と音声効果を備えた映画的な投稿を制作。
  • アニメーションシーン:静止画像に一貫した動きと音声を加えて生命を吹き込む。

🔗 関連モデル

  • Kling 2.6 テキストから動画へ:テキストプロンプトから直接動画を生成。
  • Vidu Q2 Pro 画像から動画へ:BGM サポートを備えた代替モデル。

関連モデル

xAI Grok Imagine Video v1.5 画像から動画
画像から動画X Ai

xAI Grok Imagine Video v1.5 画像から動画

1枚の入力画像とテキストプロンプトから1-15秒の動画を生成します。480pと720pに対応しています。

〜 $0.850 / 1 回
Vidu Q4 Preview 画像から動画
画像から動画Vidu

Vidu Q4 Preview 画像から動画

プロンプトと1枚の画像から3〜16秒の動画を生成します。音声生成とプロンプト拡張は任意で、540p、720p、1080p、2k、4kに対応します。

〜 $0.475 / 1 回
vidu/q3/image-to-video-spicy 画像から動画生成
画像から動画Vidu

vidu/q3/image-to-video-spicy 画像から動画生成

Vidu Q3 Image-to-Video Spicy は、画像から高品質な動画を無制限に生成でき、滑らかなアニメーションと多彩な動きが特長です。大規模なコンテンツ生成向けに最適化されています。すぐに使える REST 推論 API を提供し、高性能・コールドスタートなし・手頃な価格を実現します。

〜 $0.750 / 1 回
Vidu Q3 画像から動画へ
画像から動画Vidu

Vidu Q3 画像から動画へ

Vidu Q3 画像から動画へは、テキストプロンプトを高品質な動画に変換し、優れた視覚的忠実度と多様なモーションを実現します。すぐに使える REST 推論 API、最高のパフォーマンス、コールドスタートなし、手頃な価格。

〜 $0.750 / 1 回
MiniMax H3 Spicy 画像から動画
画像から動画Minimax

MiniMax H3 Spicy 画像から動画

開始画像から動画を生成し、任意のプロンプトと最終フレームで動きを誘導します。480p、540p、768p、1080p、3〜15秒に対応します。

〜 $0.200 / 1 回
MiniMax H3 画像から動画
画像から動画Minimax

MiniMax H3 画像から動画

MiniMax H3 Image to Video は、最初のフレーム画像を自然で一貫性のある 2K 動画にアニメーション化します。自然言語によるモーション指示に対応し、任意の最終フレーム制御によって、動きの一貫性、シーンの連続性、映画のような動画生成を実現します。すぐに使える REST 推論 API を提供し、高性能、コールドスタートなし、手頃な価格で利用できます。

〜 $0.650 / 1 回
ltx-2.5/image-to-video 画像から動画生成
画像から動画Ltx 2.5

ltx-2.5/image-to-video 画像から動画生成

LTX 2.5 Image-to-Video は、最初のフレーム画像をアニメーション化し、高忠実度で音声と動画が同期したコンテンツを生成します。オプションで最後のフレームのガイド指定が可能で、720P / 1080P / 2K / 4K 出力に対応。シネマティックな動画、SNS コンテンツ、広告、制作ワークフローに適しています。すぐに使える REST 推論 API を提供し、高性能・コールドスタートなし・手頃な価格で利用できます。

〜 $0.500 / 1 回
ai/ltx-2.3-spicy/image-to-video-lora 画像から動画
画像から動画Lightricks

ai/ltx-2.3-spicy/image-to-video-lora 画像から動画

LTX 2.3 Spicy LoRA Image to Video API は、参照画像とプロンプトから表現力豊かな AI 動画を生成します。選択可能な LoRA プリセット、任意の LoRA 強度上書き、長さ、解像度の設定に対応しています。MaaS でコールドスタートなしの高速 REST 推論を、手頃な価格で利用できます。

〜 $0.150 / 1 回