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 密钥调用多个变体,组合成多步骤流水线。
使用与 WaveSpeedAI 上其他 1,000 多个 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
提交预测
把你的输入以 JSON 形式 POST 到 https://api.wavespeed.ai/api/v3/kwaivgi/kling-v3.0-std/text-to-video。端点会立即返回预测 ID——生成是异步的,因此推理期间你无需保持连接。
- 03
轮询完成状态
GET https://api.wavespeed.ai/api/v3/predictions/{request_id}/result。状态为 completed 时返回输出;状态为 failed、cancelled、timeout 或 deleted 时以错误终止;其他任何状态都继续轮询。
- 04
读取输出 URL
状态变为 "completed" 后,从 data.outputs[0] 读取 URL。该 URL 指向 WaveSpeedAI CDN 上你生成的媒体——具体是图片、视频、音频还是 3D 文件,取决于你调用的 Kling 3.0 变体。
应用场景
用 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 从参考视频迁移动作,让静态角色图像动起来——无需动作捕捉即可复现舞蹈、动作和手势。
各档位均带原生音频
通过 sound 参数,Kling 3.0 在 Std、Pro 和 4K 档位都提供原生音频合成——每次生成按需开关,无需另选音频模型。音频会增加单次调用的成本;如果后期要自行加音频,可将其关闭。
技巧
Kling 3.0 提示词技巧
让 Kling 3.0 输出更好结果的实用建议——总结自生产流水线中各类视频模型都适用的做法。
- 01
选择合适的档位(Standard / Pro / 4K)
Standard 是默认的交付级档位。Pro 是高端质量档位(比 Standard 贵 33%)。4K 是顶级档位——贵得多,但提供较低档位没有开放的首/尾帧控制和多提示词功能。
- 02
原生音频可开关
sound 参数在 Kling 3.0 各变体中均可使用——需要带同步声音、可直接分享的片段时开启,打算后期再加音频时关闭。
- 03
4K 档位提供首/尾帧控制
kwaivgi/kling-v3.0-4k/* 支持 Standard 或 Pro 档位所没有的首/尾帧控制和多提示词功能。需要对生成的片段进行关键帧级别控制时,请选择 4K。
- 04
运动控制是单独的子端点
需要把参考片段中的特定动作迁移到静态角色图像上时,请切换到 kwaivgi/kling-v3.0-std/motion-control(或 Pro 版本)。标准的 Kling 3.0 生成的是合理的运动;运动控制则会复现参考中的具体动作。
- 05
需要精确镜头语言时不要用 Kling
具体的摄影术语(anamorphic、crane、jib、dolly-zoom)更适合用 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 提交预测。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 对比 Seedance 2.0
Seedance 2.0 每个变体都带原生音频、4k 输出,并有快速的 Turbo 档位。Kling 3.0 则新增了 Seedance 没有的多提示词和首/尾帧控制。
Kling 3.0 对比 Veo 3.1
Veo 3.1 在人脸写实方面口碑更强,且各档位均为原生 1080p。Kling 3.0 大多数档位更便宜,并有支持首/尾帧控制的 4K 选项。
Kling 3.0 对比 Wan 2.7
Wan 2.7 在一个系列中提供参考生视频、视频编辑、视频延长和图像编辑变体。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。端点会返回预测 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 及 WaveSpeedAI 上 Kuaishou 更多模型背后的团队。
快手是中国领先的短视频平台,也是 Kling 系列视频生成模型背后的团队。Kling 3.0 提供 Standard、Pro 和 4K 档位,具备原生音频合成(每个变体都有 sound 参数),另有专用的运动控制端点,可从参考视频迁移动作,让静态角色图像动起来。
在 WaveSpeedAI 上用 Kling 3.0 开始构建
注册即送免费体验额度。一个 API 密钥,即可使用来自 Kuaishou 及其他所有提供方的 1,000 多个 AI 模型。