AI ディレクターのマルチショット演出
1つのクリップ内に最大6つの異なるショットを生成し、それぞれに固有のフレーミング・カメラワーク・ストーリーを与えます。空間的な連続性も自動的に保つため、1つのプロンプトで編集済みのシーケンスが返ります。
Kuaishou の Kling 3 を1つの統合 API で使い、シネマティックな AI 動画を生成。単一の REST エンドポイント、非同期ジョブ、Webhook を備え、Kling の個別アカウントの管理は不要です。
Kling 3.0 を1回のAPIコールで統合できます。1つのキー、1つの統一エンドポイント、そしてApiframe上のすべてのモデルで共通の請求。
model: "kling-3.0" 1つのクリップ内に最大6つの異なるショットを生成し、それぞれに固有のフレーミング・カメラワーク・ストーリーを与えます。空間的な連続性も自動的に保つため、1つのプロンプトで編集済みのシーケンスが返ります。
Multi-modal Visual Language フレームワークがテキスト・画像・音声・動画を1つのモデルで処理。別々のツールを連結せず、生成と編集を単一のワークフローにまとめます。
音楽・効果音・環境音を含む同期サウンドを動画と同時に生成し、アクセント付き・キャラクター別の音声で5言語のリップシンク対話にも対応します。
アップスケールではなくネイティブ4Kでレンダリング。水・布・人体の表現が大幅に向上し、フォトリアルな結果が得られます。
最初のフレームを描く前に出来事の流れを計画するため、複数ショットにわたる連続性の崩れを抑えます。
画像や短い動画の参照からキャラクターの見た目と声を固定し、ロゴ・看板・キャプションをショット間で鮮明かつ読みやすく保ちます。
Apiframeの Kling 3.0 API で生成した出力例です。
A 5-second cinematic clip of a barista pouring latte art, warm cafe light, slow push-in.
A 5-second product clip where a sneaker rotates on a pedestal, studio lighting, a branded logo staying sharp.
A 5-second two-shot dialogue between two friends at a table, natural lip-sync and ambient audio.
A 5-second image-to-video clip animating this portrait, a gentle head turn and blink, soft window light.
A 5-second multi-shot scene, a wide city street cutting to a close-up of a neon sign, continuous mood.
A 5-second nature clip of a waterfall with realistic flowing water and mist, birdsong ambience.
APIキーを添えて POST /v2/videos/generate に1回リクエストを送るだけで Kling 3.0 による生成が始まります。レスポンスには、ポーリングまたはWebhookで受け取れる jobId が返ります。
curl -X POST https://api.apiframe.ai/v2/videos/generate \
-H "X-API-Key: afk_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"prompt": "a cinematic sunrise over a futuristic cityscape, smooth camera push-in",
"model": "kling-3.0",
"klingParams": {
"start_image": "https://example.com/input.jpg",
"mode": "pro",
"generate_audio": false,
"end_image": "https://example.com/input.jpg"
}
}'import requests
response = requests.post(
"https://api.apiframe.ai/v2/videos/generate",
headers={
"X-API-Key": "afk_your_api_key_here",
"Content-Type": "application/json",
},
json={
"prompt": "a cinematic sunrise over a futuristic cityscape, smooth camera push-in",
"model": "kling-3.0",
"klingParams": {
"start_image": "https://example.com/input.jpg",
"mode": "pro",
"generate_audio": False,
"end_image": "https://example.com/input.jpg"
}
},
)
print(response.json()) # { "jobId": "...", "status": "QUEUED" }const response = await fetch("https://api.apiframe.ai/v2/videos/generate", {
method: "POST",
headers: {
"X-API-Key": "afk_your_api_key_here",
"Content-Type": "application/json",
},
body: JSON.stringify({
"prompt": "a cinematic sunrise over a futuristic cityscape, smooth camera push-in",
"model": "kling-3.0",
"klingParams": {
"start_image": "https://example.com/input.jpg",
"mode": "pro",
"generate_audio": false,
"end_image": "https://example.com/input.jpg"
}
}),
});
const { jobId } = await response.json();
console.log(jobId);生成は非同期で行われます。送信が成功すると 202 Accepted と jobId が返ります。ステータスが COMPLETED になるまで GET /v2/jobs/{id} をポーリングする(または webhook_url を指定する)と、result フィールドに出力URLが格納されます。
{
"jobId": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
"status": "QUEUED"
}curl https://api.apiframe.ai/v2/jobs/JOB_ID \
-H "X-API-Key: afk_your_api_key_here"import requests, time
while True:
job = requests.get(
"https://api.apiframe.ai/v2/jobs/JOB_ID",
headers={"X-API-Key": "afk_your_api_key_here"},
).json()
if job["status"] in ("COMPLETED", "FAILED"):
break
time.sleep(2)
print(job["result"])let job;
do {
await new Promise((r) => setTimeout(r, 2000));
job = await fetch("https://api.apiframe.ai/v2/jobs/JOB_ID", {
headers: { "X-API-Key": "afk_your_api_key_here" },
}).then((r) => r.json());
} while (job.status !== "COMPLETED" && job.status !== "FAILED");
console.log(job.result);Kling 3.0 エンドポイントが受け付けるリクエストパラメータです。モデル固有のオプションは、下記のパラメータオブジェクトの中にネストされます。
| パラメータ | 型 | 必須 | デフォルト | 許可値 / 範囲 | 説明 |
|---|---|---|---|---|---|
| prompt | string | 必須 | — | — | 生成する内容のテキスト説明。 |
| model | string | 必須 | "kling-3.0" | "kling-3.0" | このエンドポイントのモデル識別子。 |
| klingParams.start_image | string (URL) | 任意 | — | — | Use a still as the first frame of the clip. |
| klingParams.mode | string | 任意 | "pro" | "standard", "pro", "4k" | Mode |
| klingParams.generate_audio | boolean | 任意 | false | — | Generate audio |
| klingParams.end_image | string (URL) | 任意 | — | — | Optional last frame to control the ending. |
| klingParams.negative_prompt | string | 任意 | — | — | Negative prompt |
| klingParams.multi_prompt | string | 任意 | — | — | Multi-prompt |
Kling 3.0 APIに関するよくある質問をまとめました。
Kuaishou の第3世代 AI 動画モデルで、2026年2月にリリース。統合マルチモーダルアーキテクチャを備えます。
1つのクリップで最大6ショットを生成でき、それぞれに固有の長さ・フレーミング・カメラワーク・ストーリーを設定できます。連続性は自動的に処理されます。
はい。5言語にわたる多言語リップシンクやキャラクター別の音声を含む、同期したネイティブ音声を同時生成します。
3〜15秒で長さを柔軟に設定でき、最大4Kのネイティブ解像度で出力します。
はい。画像や短い動画の参照を使って見た目と声を固定し、ショットやシーンの切り替えをまたいでアイデンティティを維持します。
Apiframe のほか、Kling AI アプリと API から利用できます。
解決しませんでしたか?
APIキーを取得すれば数分で Kling 3.0 を統合できます — 従量課金。
ご質問はありますか? Discordに参加 または 営業に問い合わせる。