Kling 3.0 API
快手 Kling 3.0 提供文字轉影片與圖片轉影片,動態流暢、畫面具電影感、提示詞遵循精準,並內建原生音訊。分為 Standard、Pro 與 4K 三個等級。
Standard 等級為預設交付;Pro 等級提供頂級畫質;4K 等級用於 4K 交付,並支援多提示詞與首尾幀控制。另有獨立的動作控制端點(Std / Pro),可從參考影片轉移動作。
概覽
關於 Kling 3.0 API
Kling 3.0 的功能、它在 Kuaishou 模型陣容中的定位,以及團隊選用它的原因。
Kling 3.0 是來自 Kuaishou 的影片生成模型,可透過 WaveSpeedAI REST API 使用。快手 Kling 3.0 提供文字轉影片與圖片轉影片,動態流暢、畫面具電影感、提示詞遵循精準,並內建原生音訊。分為 Standard、Pro 與 4K 三個等級。
Standard 等級為預設交付;Pro 等級提供頂級畫質;4K 等級用於 4K 交付,並支援多提示詞與首尾幀控制。另有獨立的動作控制端點(Std / Pro),可從參考影片轉移動作。
WaveSpeedAI 上的 Kling 3.0 系列提供 8 個 REST 端點,涵蓋 Text-To-Video, Motion-Control, Image-To-Video 等工作流程。每個變體都有各自的定價、參數選項與範例輸出 — 請挑選符合您輸入模態與生產限制的版本,或使用同一組 API 金鑰呼叫多個變體,組合成多步驟的處理流程。
使用您呼叫其他 1,000+ 個 WaveSpeedAI AI 模型時相同的 API 金鑰、帳單帳戶與速率限制額度來執行 Kling 3.0。無需另外設定供應商、無需各家 SDK、無需處理各家不同的速率限制 — 一次整合,涵蓋從文字轉圖片、文字轉影片,到音訊合成、3D 生成、放大與編輯的所有功能。
端點
所有 Kling 3.0 API 端點
WaveSpeedAI 目前提供 8 個 Kling 3.0 端點 — 請選擇符合您工作流程的變體。
/filters:quality(82)/media/images/1777710010082553282_8zsCLV4e.webp)
Kling v3.0 4k Text To Video
Kling V3.0 4K delivers top-tier 4K text-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and optional audio. Supports flexible aspect ratios, multi-prompt, and element references. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.
/filters:quality(82)/media/images/20260408113003_zrzrvv9r.webp)
Kling v3.0 Pro Text To Video
Kling 3.0 Pro delivers top-tier text-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.
/filters:quality(82)/media/images/20260408113047_z025e0td.webp)
Kling v3.0 Std Text To Video
Kling 3.0 Standard delivers high-quality text-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.
/filters:quality(82)/media/images/20260408113043_9bp6l97o.webp)
Kling v3.0 Std Motion Control
Kling 3.0 Standard Motion Control transfers motion from reference videos to animate still images. Upload a character image and a motion clip (dance, action, gesture), and the model extracts the movement to generate smooth, realistic video. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.
/filters:quality(82)/media/images/20260408113000_4lxan5i2.webp)
Kling v3.0 Pro Motion Control
Kling 3.0 Standard Motion Control transfers motion from reference videos to animate still images. Upload a character image and a motion clip (dance, action, gesture), and the model extracts the movement to generate smooth, realistic video. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.
/filters:quality(82)/media/images/1777710020485474221_JjDMV5Z8.webp)
Kling v3.0 4k Image To Video
Kling V3.0 4K delivers top-tier 4K image-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and optional audio. Supports start/end frame control, multi-prompt, and element references. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.
/filters:quality(82)/media/images/20260408112956_u1xy8vi4.webp)
Kling v3.0 Pro Image To Video
Kling 3.0 Pro 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.
/filters:quality(82)/media/images/20260408113039_z1f0f3iw.webp)
Kling v3.0 Std Image To Video
Kling 3.0 Standard delivers high-quality 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.
範例
看看 Kling 3.0 的實際效果
由 Kling 3.0 API 生成的真實輸出。將滑鼠移到任一影片上即可預覽,點擊可開啟完整尺寸檢視器。
使用方式
如何使用 Kling 3.0 API
從註冊到完成生成,只要四個步驟。完整的 Python、Node.js 與 cURL 範例請見下方的 API 區段。
- 01
取得 API 金鑰
註冊 WaveSpeedAI 帳號,並從控制台複製您的 API 金鑰。新帳號會獲贈免費入門點數 — 足以在開始計費前執行數十次 Playground。
- 02
提交 prediction
將您的輸入以 JSON 格式 POST 到 https://api.wavespeed.ai/api/v3/kwaivgi/kling-v3.0-std/text-to-video。端點會立即回傳 prediction id — 生成是非同步進行的,因此推論期間您不需要保持連線。
- 03
輪詢完成狀態
GET https://api.wavespeed.ai/api/v3/predictions/{request_id}/result。狀態為 completed 時回傳輸出;狀態為 failed、cancelled、timeout 或 deleted 時停止並回報錯誤;其他狀態則持續輪詢。
- 04
讀取輸出網址
當狀態為 "completed" 時,從 data.outputs[0] 讀取網址。該網址指向 WaveSpeedAI CDN 上您生成的媒體 — 依您呼叫的 Kling 3.0 變體,可能是圖片、影片、音訊或 3D 檔案。
應用情境
您可以用 Kling 3.0 打造什麼
開發者與創作者使用 Kling 3.0 API 的常見工作流程。
具原生音訊的文字轉影片
kwaivgi/kling-v3.0-std/text-to-video 動態流暢、畫面具電影感,並內建原生音訊,可直接產出可分享的影片,是交付作業的預設 Kling 版本。
圖片轉影片動畫
kwaivgi/kling-v3.0-std/image-to-video 可為靜態圖片加入動態,音訊與動態特性與文字轉影片版本相同。
Pro 等級,頂級畫質
kwaivgi/kling-v3.0-pro/text-to-video 與 image-to-video 的價格比 Standard 高 33%,換取頂級輸出。相同的提示詞格式適用於 Std 與 Pro。
4K 等級,支援多提示詞與首尾幀控制
kwaivgi/kling-v3.0-4k/text-to-video 與 image-to-video 提供頂級的 4K 生成,支援首尾幀控制與多提示詞。4K 等級的成本約為 Standard 等級的 5 倍。
動作控制(獨立端點)
kwaivgi/kling-v3.0-std/motion-control 與 pro/motion-control 可將參考影片中的動作轉移,讓靜態角色圖片動起來,無須動作捕捉即可重現舞蹈、動作與手勢。
各等級皆有原生音訊
Kling 3.0 透過 sound 參數在 Std、Pro 與 4K 等級提供原生音訊合成,每次生成可自行開關,不必另外選擇音訊模型。音訊會增加每次呼叫的費用;若之後打算在後製加入音訊,可將其關閉。
技巧
Kling 3.0 提示詞技巧
讓 Kling 3.0 產出更好結果的實用建議 — 整理自在實際生產流程中,影片模型通用的有效做法。
- 01
選擇合適的等級(Standard / Pro / 4K)
Standard 是預設的交付等級。Pro 是高階畫質等級(比 Standard 貴 33%)。4K 是最高等級,價格明顯更高,但提供較低等級所沒有的首尾幀控制與多提示詞。
- 02
原生音訊可開關
Kling 3.0 各版本皆提供 sound 參數:需要帶同步聲音、可直接分享的影片時開啟;打算在後製加入音訊時則關閉。
- 03
4K 等級提供首尾幀控制
kwaivgi/kling-v3.0-4k/* 支援 Standard 或 Pro 等級沒有的首尾幀控制與多提示詞功能。需要對生成影片進行關鍵幀層級的控制時,請選擇 4K。
- 04
動作控制是獨立的子端點
需要將參考影片中的特定動作轉移到靜態角色圖片時,請切換至 kwaivgi/kling-v3.0-std/motion-control(或 Pro 版本)。標準 Kling 3.0 會生成合理的動態;motion-control 則重現您參考影片中的特定動作。
- 05
精準的運鏡工作不要用 Kling
具體的攝影術語(變形寬銀幕、升降鏡頭、搖臂、推拉變焦)在 Seedance 2.0 或 Veo 3.1 上的對應更精確。使用 Kling 3.0 是看中它的品質等級與動作控制子端點;需要精準運鏡控制時請更換模型。
定價
Kling 3.0 API 定價
依輸出計費。最終費用會依您在各變體 Playground 中設定的參數(解析度、時長、輸出數量、參考素材)而調整。
| 端點 | 類型 | 起始價格 |
|---|---|---|
| kwaivgi/ | text-to-video | $2.10 |
| kwaivgi/ | text-to-video | $0.56 |
| kwaivgi/ | text-to-video | $0.42 |
| kwaivgi/ | motion-control | $0.63 |
| kwaivgi/ | motion-control | $0.84 |
| kwaivgi/ | image-to-video | $2.10 |
| kwaivgi/ | image-to-video | $0.56 |
| kwaivgi/ | image-to-video | $0.42 |
API
呼叫 Kling 3.0 API
請到 wavespeed.ai/accesskey 註冊取得 API 金鑰,然後透過 REST 提交 prediction。Playground 會為任何輸入組合產生可直接貼上的範例。
POSThttps://api.wavespeed.ai/api/v3/kwaivgi/kling-v3.0-std/text-to-video
# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
-X POST "https://api.wavespeed.ai/api/v3/kwaivgi/kling-v3.0-std/text-to-video" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"duration": 5,
"aspect_ratio": "16:9",
"cfg_scale": 0.5,
"shot_type": "customize"
}')
TASK=$(printf '%s' "$SUBMIT_RESPONSE" | jq 'if has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "$TASK" | jq -r '.id')
if [ -z "$PREDICTION_ID" ] || [ "$PREDICTION_ID" = "null" ]; then
printf 'Submission response did not contain a prediction id
' >&2
exit 1
fi
RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/$PREDICTION_ID/result"
# 2. Poll until the prediction finishes.
while true; do
RESPONSE=$(curl --silent --show-error --fail-with-body "$RESULT_URL" \
-H "Authorization: Bearer $WAVESPEED_API_KEY")
RESULT=$(printf '%s' "$RESPONSE" | jq 'if has("data") then .data else . end')
STATUS=$(printf '%s' "$RESULT" | jq -r '.status')
case "$STATUS" in
completed) printf '%s\n' "$RESULT" | jq '.outputs'; break ;;
failed|cancelled|timeout|deleted) printf '%s\n' "$RESULT" | jq . >&2; exit 1 ;;
*) sleep 2 ;;
esac
doneconst submitUrl = "https://api.wavespeed.ai/api/v3/kwaivgi/kling-v3.0-std/text-to-video";
const apiKey = process.env.WAVESPEED_API_KEY;
if (!apiKey) throw new Error('Set WAVESPEED_API_KEY');
async function requestJson(url, options = {}) {
const response = await fetch(url, options);
if (!response.ok) throw new Error(await response.text());
return response.json();
}
// 1. Submit the prediction.
const body = await requestJson(submitUrl, {
method: "POST",
headers: {
"Authorization": `Bearer ${apiKey}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"duration": 5,
"aspect_ratio": "16:9",
"cfg_scale": 0.5,
"shot_type": "customize"
}),
});
const task = body.data ?? body;
const resultUrl = `https://api.wavespeed.ai/api/v3/predictions/${task.id}/result`;
// 2. Poll until the prediction finishes.
while (true) {
const resultBody = await requestJson(resultUrl, {
headers: { "Authorization": `Bearer ${apiKey}` },
});
const result = resultBody.data ?? resultBody;
if (result.status === "completed") {
console.log(result.outputs);
break;
}
if (["failed", "cancelled", "timeout", "deleted"].includes(result.status)) throw new Error(JSON.stringify(result));
await new Promise(resolve => setTimeout(resolve, 2000));
}import json
import os
import time
from urllib.request import Request, urlopen
api_key = os.environ["WAVESPEED_API_KEY"]
headers = {"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}
payload = {
"duration": 5,
"aspect_ratio": "16:9",
"cfg_scale": 0.5,
"shot_type": "customize"
}
def request_json(url, data=None):
request = Request(url, data=data, headers=headers, method="POST" if data else "GET")
with urlopen(request) as response:
return json.load(response)
# 1. Submit the prediction.
body = request_json("https://api.wavespeed.ai/api/v3/kwaivgi/kling-v3.0-std/text-to-video", json.dumps(payload).encode())
task = body.get("data", body)
result_url = f"https://api.wavespeed.ai/api/v3/predictions/{task['id']}/result"
# 2. Poll until the prediction finishes.
while True:
result_body = request_json(result_url)
result = result_body.get("data", result_body)
status = result.get("status")
if status == "completed":
print(result.get("outputs", []))
break
if status in {"failed", "cancelled", "timeout", "deleted"}:
raise RuntimeError(result)
time.sleep(2)比較
Kling 3.0 與其他選擇比較
在 WaveSpeedAI 上,何時該選擇 Kling 3.0 而非類似的模型。
Kling 3.0 vs Seedance 2.0
Seedance 2.0 在所有版本皆具原生音訊、4k 輸出與快速的 Turbo 等級。Kling 3.0 則新增 Seedance 所沒有的多提示詞與首尾幀控制。
Kling 3.0 vs Veo 3.1
Veo 3.1 在人臉寫實度上口碑更佳,且各等級皆為原生 1080p。Kling 3.0 在多數等級較便宜,並提供支援首尾幀控制的 4K 選項。
Kling 3.0 vs Wan 2.7
Wan 2.7 在同一系列提供參考轉影片、video-edit、video-extend 與圖片編輯版本。Kling 3.0 則專注於文字轉影片與圖片轉影片,提供三種品質等級(Standard / Pro / 4K),另有動作控制作為子端點。
常見問題
Kling 3.0 API — 常見問題
定價、授權、整合 — 關於在 WaveSpeedAI 上執行 Kling 3.0 的常見問題。
什麼是 Kling 3.0 API?
Kling 3.0 是 Kuaishou 的影片生成模型,在 WaveSpeedAI 上以 REST API 提供。快手 Kling 3.0 提供文字轉影片與圖片轉影片,動態流暢、畫面具電影感、提示詞遵循精準,並內建原生音訊。分為 Standard、Pro 與 4K 三個等級。您可以透過程式呼叫,也可以在上方連結的 Playground 試用。
如何呼叫 Kling 3.0 API?
註冊 WaveSpeedAI 帳號,從 /accesskey 複製您的 API 金鑰,然後將您的輸入以 JSON 格式 POST 到 https://api.wavespeed.ai/api/v3/kwaivgi/kling-v3.0-std/text-to-video。端點會回傳 prediction id。請從約每 2 秒輪詢一次結果端點開始,長時間任務可拉長間隔,並在任何終止狀態時停止。上方提供適用於生產環境的 Python / Node.js / cURL 範例。
Kling 3.0 API 的費用是多少?
Kling 3.0 每次執行 $0.42 起。實際費用會依您設定的參數(解析度、時長、輸出數量、參考素材)而調整。Playground 中「生成」按鈕旁的即時費用預覽會顯示您目前輸入的確切價格。
有哪些 Kling 3.0 變體可用?
WaveSpeedAI 提供 8 個已上線的 Kling 3.0 端點:kwaivgi/kling-v3.0-4k/text-to-video, kwaivgi/kling-v3.0-pro/text-to-video, kwaivgi/kling-v3.0-std/text-to-video, kwaivgi/kling-v3.0-std/motion-control, kwaivgi/kling-v3.0-pro/motion-control, kwaivgi/kling-v3.0-4k/image-to-video, kwaivgi/kling-v3.0-pro/image-to-video, kwaivgi/kling-v3.0-std/image-to-video。每個變體都有各自的 Playground 頁面與定價。
Kling 3.0 的輸出可以商用嗎?
商業使用權依 Kuaishou 的模型授權而定。多數 Kuaishou 模型允許商用輸出;請參閱各模型 Playground 頁面中的授權摘要,以及 WaveSpeedAI 的服務條款了解平台層級的條件。
為什麼要在 WaveSpeedAI 上使用 Kling 3.0,而不是直接使用?
一組 API 金鑰、一個帳單帳戶,即可使用 Kling 3.0 以及來自其他供應商的 1,000+ 個 AI 模型。無需設定各家 SDK、無需處理各自獨立的速率限制、無需為每個供應商重寫整合程式碼。價格通常與 Kuaishou 的直接 API 相當或更低。
提供者
關於 Kuaishou
Kling 3.0 背後的團隊,以及 Kuaishou 在 WaveSpeedAI 上的完整模型陣容。
快手是中國大型短影音平台,也是 Kling 影片生成模型系列背後的團隊。Kling 3.0 提供 Standard、Pro 與 4K 等級,並具備原生音訊合成(每個版本皆有 sound 參數),另有專用的動作控制端點,可將參考影片中的動作轉移,讓靜態角色圖片動起來。
在 WaveSpeedAI 上開始使用 Kling 3.0 打造應用
註冊即贈免費入門點數。一組 API 金鑰,涵蓋來自 Kuaishou 與所有其他供應商的 1,000+ 個 AI 模型。