Kling 4.0 现已上线 — 真实到难以置信的视频 | 立即体验 →
Kuaishou视频 API$0.035/次起

Kling 2.6 API

快手 Kling 2.6——文生视频和图生视频,运动流畅、画面电影感强、提示词遵循准确,提供 Standard 和 Pro 两个档位,Pro 带原生音频,另有可从参考视频迁移动作的 motion-control 端点,以及用于自定义声音的 create-voice 端点。

本 Kling 2.6 API 指南介绍 WaveSpeedAI 上已上线的 Standard 和 Pro 端点:文生视频、可选尾帧图像的图生视频、基于参考视频的运动控制,以及 create-voice。下方的 Playground、示例、价格和 API 代码示例均使用已上线的 Kling 2.6 端点。

概览

关于 Kling 2.6 API

Kling 2.6 能做什么、它在 Kuaishou 模型阵容中的定位,以及团队选择它的原因。

Kling 2.6 是 Kuaishou 推出的视频生成模型,可通过 WaveSpeedAI REST API 使用。快手 Kling 2.6——文生视频和图生视频,运动流畅、画面电影感强、提示词遵循准确,提供 Standard 和 Pro 两个档位,Pro 带原生音频,另有可从参考视频迁移动作的 motion-control 端点,以及用于自定义声音的 create-voice 端点。

本 Kling 2.6 API 指南介绍 WaveSpeedAI 上已上线的 Standard 和 Pro 端点:文生视频、可选尾帧图像的图生视频、基于参考视频的运动控制,以及 create-voice。下方的 Playground、示例、价格和 API 代码示例均使用已上线的 Kling 2.6 端点。

WaveSpeedAI 上的 Kling 2.6 系列提供 7 个 REST 端点,涵盖 Voice-Cloning, Text-To-Video, Image-To-Video, Motion-Control 个工作流。每个变体都有各自的定价、参数选项和示例输出——请选择与你的输入模态和生产约束相匹配的那一个,或使用同一个 API 密钥调用多个变体,组合成多步骤流水线。

使用与 WaveSpeedAI 上其他 1,000 多个 AI 模型相同的 API 密钥、账单账户和速率限制来运行 Kling 2.6。无需单独对接供应商,无需各家 SDK,也无需应对各家不同的速率限制——一次集成即可覆盖从文生图、文生视频到音频合成、3D 生成、放大和编辑的全部能力。

规格

Kling 2.6 API 的能力与发布状态

开发者在选择 API 之前会搜索的模型细节:可用性、预期输出时长、参考素材支持情况,以及当前可用的在线替代方案。

可用性

已上线

Kling 2.6 端点已在 WaveSpeedAI 目录中上线:Standard 和 Pro 的文生视频、图生视频和运动控制,以及 create-voice,全部使用同一套 REST 预测流程。

档位

Standard 和 Pro

Standard 是高性价比档位;Pro 是追求画质的顶级选择。两者的提示词格式相同。

时长

5 或 10 秒

文生视频和图生视频生成 5 或 10 秒的片段。

画幅比例

1:1、9:16、16:9

文生视频支持方形、竖版或横版画面;图生视频以输入图像为准,图像每边至少 300 px,宽高比在 1:2.5 到 2.5:1 之间。

原生音频

sound 开关

Pro 端点会同步生成声音;可通过 sound 参数按请求开启或关闭。

运动控制

3 到 30 秒的参考视频

motion-control 端点用参考视频的动作驱动角色图像(角色跟随视频时最长 30 秒),并可保留原始声音。

端点

全部 Kling 2.6 API 端点

WaveSpeedAI 现已提供 7 个 Kling 2.6 端点——请选择适合你工作流的变体。

voice-cloningKling v2.6 Create Voice — Kuaishou 的 Kling 2.6 voice-cloning 预览

Kling v2.6 Create Voice

Kling 2.6 Create Voice is a model can generate custom voice. Upload an audio file to create a custom voice that can be used with the voice control feature in V2.6 video generation. The audio should be clean, noise-free, with a single voice, and duration between 5-30 seconds. Built for stable production use with a ready-to-use REST API, no cold starts, and predictable pricing.

$0.035 起
text-to-videoKling v2.6 Std Text To Video — Kuaishou 的 Kling 2.6 text-to-video 预览

Kling v2.6 Std Text To Video

Kling 2.6 Standard offers cost-effective text-to-video generation with smooth motion, cinematic visuals, and strong prompt adherence. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

$0.042 起
text-to-videoKling v2.6 Pro Text To Video — Kuaishou 的 Kling 2.6 text-to-video 预览

Kling v2.6 Pro Text To Video

Kling 2.6 Pro delivers top-tier text-to-video generation with smooth motion, cinematic visuals, strong prompt adherence, and native audio for ready-to-share clips. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.

$0.14 起
image-to-videoKling v2.6 Std Image To Video — Kuaishou 的 Kling 2.6 image-to-video 预览

Kling v2.6 Std Image To Video

Kling 2.6 Standard offers cost-effective image-to-video generation with smooth motion, cinematic visuals, and accurate prompt adherence. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

$0.042 起
motion-controlKling v2.6 Std Motion Control — Kuaishou 的 Kling 2.6 motion-control 预览

Kling v2.6 Std Motion Control

Kling 2.6 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.

$0.07 起
motion-controlKling v2.6 Pro Motion Control — Kuaishou 的 Kling 2.6 motion-control 预览

Kling v2.6 Pro Motion Control

Kling 2.6 Pro Motion Control turns reference motion clips (dance, action, gesture) into smooth, realistic animations. Upload a character image (or source video) and a motion video; the model transfers the movement while preserving identity and temporal consistency. Ready-to-use REST API with fast response, native-audio option, no cold starts, and affordable pricing.

$0.112 起
image-to-videoKling v2.6 Pro Image To Video — Kuaishou 的 Kling 2.6 image-to-video 预览

Kling v2.6 Pro Image To Video

Kling 2.6 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.

$0.07 起

示例

看看 Kling 2.6 的实际效果

由 Kling 2.6 API 生成的真实输出。悬停在任意视频上即可预览,点击可打开全尺寸查看器。

使用方法

如何使用 Kling 2.6 API

从注册到完成一次生成,只需四步。完整的 Python、Node.js 和 cURL 示例见下方的 API 部分。

  1. 01

    获取 API 密钥

    注册 WaveSpeedAI 账号,并从控制台复制你的 API 密钥。新账号附带免费体验额度——足够在开始计费前把 Playground 运行几十次。

  2. 02

    提交预测

    把你的输入以 JSON 形式 POST 到 https://api.wavespeed.ai/api/v3/kwaivgi/kling-v2.6-pro/text-to-video。端点会立即返回预测 ID——生成是异步的,因此推理期间你无需保持连接。

  3. 03

    轮询完成状态

    GET https://api.wavespeed.ai/api/v3/predictions/{request_id}/result。状态为 completed 时返回输出;状态为 failed、cancelled、timeout 或 deleted 时以错误终止;其他任何状态都继续轮询。

  4. 04

    读取输出 URL

    状态变为 "completed" 后,从 data.outputs[0] 读取 URL。该 URL 指向 WaveSpeedAI CDN 上你生成的媒体——具体是图片、视频、音频还是 3D 文件,取决于你调用的 Kling 2.6 变体。

应用场景

用 Kling 2.6 可以构建什么

开发者和创作者使用 Kling 2.6 API 的常见工作流。

01

用 Standard 以更低成本文生视频

kwaivgi/kling-v2.6-std/text-to-video 是高性价比的方式,可把提示词转成 5 或 10 秒的片段,运动流畅且提示词遵循能力强。

text-to-videostandard
02

Pro 档位的顶级片段与原生音频

kwaivgi/kling-v2.6-pro/text-to-video 生成电影感片段,声音与画面一同生成,无需单独处理音频即可直接分享。

pronative-audio
03

让静态图动起来,还可指定尾帧图像

kwaivgi/kling-v2.6-pro/image-to-video 及其 Standard 变体可根据提示词让静态图动起来,Pro 端点还接受尾帧图像,使片段落在你选定的画面上。

image-to-videoend-frame
04

用参考视频驱动角色

kwaivgi/kling-v2.6-std/motion-control 及其 Pro 变体把参考片段中的动作(舞蹈、动作戏、手势)迁移到角色图像上。

motion-controldance
05

在视频中使用你自己的声音

kwaivgi/kling-v2.6/create-voice 可用一段干净的 5 到 30 秒录音创建自定义声音,image-to-video 可通过 voice_list 引用最多两个声音。

custom-voicecreate-voice

技巧

Kling 2.6 提示词技巧

让 Kling 2.6 输出更好结果的实用建议——总结自生产流水线中各类视频模型都适用的做法。

  1. 01

    先用 Standard,再用 Pro 定稿

    先在成本更低的 Standard 档位探索提示词,再把满意的结果用 Pro 重新生成,获得最终画质和原生音频。

  2. 02

    打算自己配音频时关闭 sound

    sound 参数会在 Pro 上让音频与视频一同生成。如果片段之后要另配音乐或旁白,请关闭它。

  3. 03

    给图生视频一张尾帧图像,精准落点

    当最后一帧很重要时,在首帧之外再发送一张尾帧图像,让动作落在你选定的构图上。

  4. 04

    让动作片段与角色匹配

    使用运动控制时,参考视频中的表演者应完整入镜,角色图像应展示全身,然后选择角色跟随图像还是跟随视频。

定价

Kling 2.6 API 定价

按输出计费。最终费用会随你在各变体 Playground 中设置的参数(分辨率、时长、输出数量、参考素材)而变化。

起步价

$0.035/ 次

7 个端点 · Kling 2.6

打开 Playground

API

调用 Kling 2.6 API

在 wavespeed.ai/accesskey 注册并获取 API 密钥,然后通过 REST 提交预测。Playground 可以为任意输入组合生成可直接粘贴的示例代码。

POSThttps://api.wavespeed.ai/api/v3/kwaivgi/kling-v2.6-pro/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-v2.6-pro/text-to-video" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY" \
  -d '{
    "prompt": "A cinematic shot of a city at sunset, soft golden light",
    "cfg_scale": 0.5,
    "sound": true,
    "aspect_ratio": "1:1",
    "duration": 5
}')

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
done

对比

Kling 2.6 与其他方案对比

在 WaveSpeedAI 上,何时应选择 Kling 2.6 而不是同类模型。

Kling 2.6 对比 Kling 3.0

Kling 3.0 是较新的一代,有 Standard、Pro 和 4K 档位以及运动控制端点。Kling 2.6 仍是 5 秒和 10 秒 Standard、Pro 片段以及其专属 create-voice 端点的选择。

Kling 2.6 对比 Wan 2.5

Wan 2.5 可生成 480p 到 1080p 的同步音频视频,同系列还有 video-extend、image-edit 和 text-to-image。Kling 2.6 则增加了运动控制端点和自定义声音。

Kling 2.6 对比 Veo 3.1

Veo 3.1 可在 Standard、Fast 和 Lite 档位生成带同步原生音频的 1080p 视频。Kling 2.6 提供 Standard 和 Pro 档位,并带运动控制与 create-voice。

常见问题

Kling 2.6 API — 常见问题

定价、许可、集成——关于在 WaveSpeedAI 上运行 Kling 2.6 的常见问题。

Kling 2.6 Standard 和 Pro 有什么区别?

Standard 是高性价比档位,Pro 是顶级选择。两者都支持文生视频、图生视频和运动控制;Pro 另外提供与视频一同生成的原生音频。

Kling 2.6 会生成音频吗?

Pro 端点会:sound 参数让音频与视频一同生成,也可以关闭。运动控制可保留参考视频的原始声音。

Kling 2.6 的片段最长多久?

文生视频和图生视频生成 5 或 10 秒的片段。运动控制的时长跟随参考视频,为 3 到 30 秒。

可以为 Kling 2.6 创建自定义声音吗?

可以。把一段干净的 5 到 30 秒单人声音录音发送到 create-voice 端点,然后在 image-to-video 请求的 voice_list 中引用返回的声音 id(最多两个声音)。

Kling 2.6 API 是什么?

Kling 2.6 是 Kuaishou 的视频生成模型,在 WaveSpeedAI 上以 REST API 形式提供。快手 Kling 2.6——文生视频和图生视频,运动流畅、画面电影感强、提示词遵循准确,提供 Standard 和 Pro 两个档位,Pro 带原生音频,另有可从参考视频迁移动作的 motion-control 端点,以及用于自定义声音的 create-voice 端点。你可以通过编程方式调用它,也可以在上方链接的 Playground 中试用。

如何调用 Kling 2.6 API?

注册 WaveSpeedAI 账号,从 /accesskey 复制你的 API 密钥,然后把输入以 JSON 形式 POST 到 https://api.wavespeed.ai/api/v3/kwaivgi/kling-v2.6-pro/text-to-video。端点会返回预测 ID。从大约每 2 秒一次开始轮询结果端点,长耗时任务可适当拉长间隔,并在任何终止状态时停止。上方有面向生产环境的 Python / Node.js / cURL 示例。

Kling 2.6 API 的费用是多少?

Kling 2.6 每次调用 $0.035 起。实际费用会随你设置的参数(分辨率、时长、输出数量、参考素材)而变化。Playground 中“生成”按钮旁的实时费用预览会显示你当前输入对应的准确价格。

有哪些 Kling 2.6 变体可用?

WaveSpeedAI 托管了 7 个已上线的 Kling 2.6 端点:kwaivgi/kling-v2.6/create-voice, kwaivgi/kling-v2.6-std/text-to-video, kwaivgi/kling-v2.6-pro/text-to-video, kwaivgi/kling-v2.6-std/image-to-video, kwaivgi/kling-v2.6-std/motion-control, kwaivgi/kling-v2.6-pro/motion-control, kwaivgi/kling-v2.6-pro/image-to-video。每个变体都有自己的 Playground 页面和定价。

Kling 2.6 的输出可以商用吗?

商用权利遵循 Kuaishou 的模型许可。大多数 Kuaishou 模型允许商用输出;具体许可摘要请查看各模型的 Playground 页面,平台层面的条件请参阅 WaveSpeedAI 的服务条款。

为什么要在 WaveSpeedAI 上使用 Kling 2.6,而不是直接对接?

一个 API 密钥、一个账单账户,即可使用 Kling 2.6 以及来自其他提供方的 1,000 多个 AI 模型。无需逐家配置 SDK,无需应对各自独立的速率限制,也无需为每家重写集成代码。价格通常与 Kuaishou 直接提供的 API 持平或更低。

提供方

关于 Kuaishou

Kling 2.6 及 WaveSpeedAI 上 Kuaishou 更多模型背后的团队。

快手是中国领先的短视频平台,也是 Kling 系列视频生成模型背后的团队。Kling 3.0 提供 Standard、Pro 和 4K 档位,具备原生音频合成(每个变体都有 sound 参数),另有专用的运动控制端点,可从参考视频迁移动作,让静态角色图像动起来。

在 WaveSpeedAI 上用 Kling 2.6 开始构建

注册即送免费体验额度。一个 API 密钥,即可使用来自 Kuaishou 及其他所有提供方的 1,000 多个 AI 模型。