Kuaishou · 视频

OpenClaw x Kling

Kling 是快手的旗舰视频模型,支持 4K、AI 数字人和多模态音频。通过 RunAPI,所有 Kling 变体共享统一 API 和计费。

18 variants 起价 $0.05 / 秒 可商用

Prerequisite: npx runapi mcp install

Prompt

Prompt 模型

任务匹配时使用 kling-3.0:原生 4K,最长 15 秒,多镜头分镜。

You have access to RunAPI task tools for Kling.

Available Kling models:
- kling-3.0: 原生 4K,最长 15 秒,多镜头分镜
  endpoints: /api/v1/kling/text_to_video, /api/v1/kling/motion_control
  request fields: model, prompt, duration_seconds, aspect_ratio, output_resolution
- kling-ai-avatar-pro: 1080p 增强唇形同步 + 面部微表情
  endpoints: /api/v1/kling/ai_avatar
  request fields: model, source_image_url, source_audio_url, prompt
- kling-ai-avatar-standard: 720p 基础唇形同步
  endpoints: /api/v1/kling/ai_avatar
  request fields: model, source_image_url, source_audio_url, prompt
- kling-ai-avatar-v1-pro: v1 Pro 数字人生成,音频驱动唇形同步
  endpoints: /api/v1/kling/ai_avatar
  request fields: model, source_image_url, source_audio_url, prompt
- kling-o1: 支持图像与视频参考的全能视频生成
  endpoints: /api/v1/kling/image_to_video, /api/v1/kling/text_to_video
  request fields: model, prompt, duration_seconds, aspect_ratio
- kling-v1-avatar-standard: v1 Standard 数字人生成,适合高效说话头像
  endpoints: /api/v1/kling/ai_avatar
  request fields: model, source_image_url, source_audio_url, prompt
- kling-v2.1-master-image-to-video: V2.1 高质量图生视频,更强渲染
  endpoints: /api/v1/kling/image_to_video
  request fields: model, prompt, first_frame_image_url
- kling-v2.1-master-text-to-video: V2.1 高质量文生视频,更强渲染
  endpoints: /api/v1/kling/text_to_video
  request fields: model, prompt, duration_seconds, aspect_ratio
- kling-v2.1-pro: 图生视频,支持可选尾帧控制
  endpoints: /api/v1/kling/image_to_video
  request fields: model, prompt, first_frame_image_url
- kling-v2.1-standard: 更低成本的 V2.1 图像动画草稿
  endpoints: /api/v1/kling/image_to_video
  request fields: model, prompt, first_frame_image_url
- kling-v2.5-turbo-image-to-video-pro: 1080p 图生视频;输入图像为首帧
  endpoints: /api/v1/kling/extend_video, /api/v1/kling/image_to_video
  request fields: model, prompt, first_frame_image_url
- kling-v2.5-turbo-text-to-video-pro: 1080p,最长 10 秒,30 fps;快速文生视频
  endpoints: /api/v1/kling/text_to_video, /api/v1/kling/extend_video
  request fields: model, prompt, duration_seconds, aspect_ratio
- kling-v2.6: 文生与图生视频一体化生成,支持同步原生音频
  endpoints: /api/v1/kling/text_to_video, /api/v1/kling/image_to_video, /api/v1/kling/motion_control
  request fields: model, prompt, duration_seconds, aspect_ratio
- kling-v3-omni: Kling v3 Omni 全能视频生成,原生 4K、音画同步,支持灵活的 3–15 秒时长。
  endpoints: /api/v1/kling/image_to_video, /api/v1/kling/text_to_video
  request fields: model, prompt, duration_seconds, aspect_ratio, output_resolution
- kling-v3-omni-edit: 使用可选参考图编辑源视频
  endpoints: /api/v1/kling/edit_video
  request fields: model, prompt, source_video_url, reference_image_urls, duration_seconds, output_resolution, aspect_ratio, enable_sound
- kling-v3-omni-reference: 基于参考图像或源视频的可控视频生成
  endpoints: /api/v1/kling/text_to_video, /api/v1/kling/edit_video
  request fields: model, prompt, duration_seconds, aspect_ratio, output_resolution, reference_image_urls
- kling-v3-turbo-image-to-video: 基于单张首帧图片生成 3-15 秒图生视频
  endpoints: /api/v1/kling/image_to_video
  request fields: model, prompt, first_frame_image_url
- kling-v3-turbo-text-to-video: 3-15 秒文生视频,支持 720p 或 1080p
  endpoints: /api/v1/kling/text_to_video
  request fields: model, prompt, duration_seconds, aspect_ratio, output_resolution

Use the model ID and endpoint that match the user's request.
Example prompt: 创建一段 10 秒的秋日森林漫步视频,落叶飘落,电影级运镜。
/api/v1/kling/text_to_video: Submit the task, poll for its status, then verify the completed output. POST /api/v1/kling/text_to_video,并保存返回的 Task ID。
GET /api/v1/kling/text_to_video/<task-id>,直到状态为 completed 或 failed。
确认 completed 响应包含 API 参考中记录的端点专属输出。
/api/v1/kling/motion_control: Submit the task, poll for its status, then verify the completed output. POST /api/v1/kling/motion_control,并保存返回的 Task ID。
GET /api/v1/kling/motion_control/<task-id>,直到状态为 completed 或 failed。
确认 completed 响应包含 API 参考中记录的端点专属输出。
/api/v1/kling/ai_avatar: Submit the task, poll for its status, then verify the completed output. POST /api/v1/kling/ai_avatar,并保存返回的 Task ID。
GET /api/v1/kling/ai_avatar/<task-id>,直到状态为 completed 或 failed。
确认 completed 响应包含 API 参考中记录的端点专属输出。
/api/v1/kling/image_to_video: Submit the task, poll for its status, then verify the completed output. POST /api/v1/kling/image_to_video,并保存返回的 Task ID。
GET /api/v1/kling/image_to_video/<task-id>,直到状态为 completed 或 failed。
确认 completed 响应包含 API 参考中记录的端点专属输出。
/api/v1/kling/extend_video: Submit the task, poll for its status, then verify the completed output. POST /api/v1/kling/extend_video,并保存返回的 Task ID。
GET /api/v1/kling/extend_video/<task-id>,直到状态为 completed 或 failed。
确认 completed 响应包含 API 参考中记录的端点专属输出。
/api/v1/kling/edit_video: Submit the task, poll for its status, then verify the completed output. POST /api/v1/kling/edit_video,并保存返回的 Task ID。
GET /api/v1/kling/edit_video/<task-id>,直到状态为 completed 或 failed。
确认 completed 响应包含 API 参考中记录的端点专属输出。

公开版本与端点

模型 ID 端点 起步价格 模型目录
kling-3.0
/api/v1/kling/text_to_video /api/v1/kling/motion_control
$0.43 / 秒 模型详情
kling-ai-avatar-pro
/api/v1/kling/ai_avatar
$0.16 / 秒 模型详情
kling-ai-avatar-standard
/api/v1/kling/ai_avatar
$0.08 / 秒 模型详情
kling-ai-avatar-v1-pro
/api/v1/kling/ai_avatar
$0.16 / 秒 模型详情
kling-o1
/api/v1/kling/image_to_video /api/v1/kling/text_to_video
$0.08 / 秒 模型详情
kling-v1-avatar-standard
/api/v1/kling/ai_avatar
$0.08 / 秒 模型详情
kling-v2.1-master-image-to-video
/api/v1/kling/image_to_video
$0.61 / 秒 模型详情
kling-v2.1-master-text-to-video
/api/v1/kling/text_to_video
$0.61 / 秒 模型详情
kling-v2.1-pro
/api/v1/kling/image_to_video
$0.10 / 秒 模型详情
kling-v2.1-standard
/api/v1/kling/image_to_video
$0.05 / 秒 模型详情
kling-v2.5-turbo-image-to-video-pro
/api/v1/kling/extend_video /api/v1/kling/image_to_video
$0.16 / 秒 模型详情
kling-v2.5-turbo-text-to-video-pro
/api/v1/kling/text_to_video /api/v1/kling/extend_video
$0.16 / 秒 模型详情
kling-v2.6
/api/v1/kling/text_to_video /api/v1/kling/image_to_video /api/v1/kling/motion_control
$0.29 / 秒 模型详情
kling-v3-omni
/api/v1/kling/image_to_video /api/v1/kling/text_to_video
$0.91 / 秒 模型详情
kling-v3-omni-edit
/api/v1/kling/edit_video
$0.91 / 秒 模型详情
kling-v3-omni-reference
/api/v1/kling/text_to_video /api/v1/kling/edit_video
$0.91 / 秒 模型详情
kling-v3-turbo-image-to-video
/api/v1/kling/image_to_video
$0.18 / 秒 模型详情
kling-v3-turbo-text-to-video
/api/v1/kling/text_to_video
$0.18 / 秒 模型详情

验证

轮询,直到 Task 进入终态

选择 <model-id> 后生成验证命令。

配置

指南端点: <endpoint>

选择 <model-id> 后,按端点的公开输入契约生成请求。
使用流程

三步开始使用

  1. 选择模型 ID

    选择公开模型 ID,并查看其端点与当前起步价格。

  2. 配置 RunAPI

    调用端点前设置 RUNAPI_API_KEY。

  3. 验证结果

    对于异步端点,轮询同一端点,直到 Task 进入终态。

使用 OpenClaw + Kling 可以构建什么

  • 空镜与定场镜头

    在紧迫的工期内生成空镜素材:自然风光、旅行内容和各类环境,发挥 Kling 在运动和电影感光线上的优势。

  • 商品生活方式内容

    用一张图或一段文字提示词,为食品、服饰或生活方式品牌制作商品视频,运镜自然。

  • 社交媒体短视频

    为 TikTok、Reels 或 YouTube Shorts 制作短片,画面有电影感,时长符合平台要求。

为什么通过 RunAPI + OpenClaw 使用 Kling

  • 18 个变体,一个 API 密钥

    通过一个 RunAPI 连接选择可用的模型变体,无需更改现有集成。

  • 清晰的用量价格

    发送请求前查看目录中的当前价格,无需订阅或最低消费。

  • 自动化任务流程

    通过一致的任务流程提交任务、查询状态并收集异步结果,无需编写手动轮询代码。

OpenClaw + Kling 常见问题

可以在 OpenClaw 中使用 Kling 吗?

可以。如果 RunAPI 已在 OpenClaw 中配置为提供方,同一个 API 密钥就能用于 Kling 视频任务。选择本页列出的版本和端点即可。

Kling 生成失败会怎样?

RunAPI 只对成功完成的生成计费。任务失败或超时时,预扣的金额会退回你的余额。

Kling 生成需要多长时间?

取决于时长和分辨率,时长越长、分辨率越高耗时越久。API 会立即返回任务 ID,Agent 在等待期间可以继续处理其他工作。

应该使用哪个模型 ID?

从版本表选择公开模型 ID。每个 ID 可使用的端点均显示在对应行。

本指南会配置聊天模型吗?

不会。该 Model Line 使用页面所示的端点流程,不会被描述为 Agent 聊天模型。

开始在 OpenClaw 中使用 Kling

需要团队接入支持?

我们可以协助团队接入、完成系统集成并解答技术问题。

联系我们