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

正在與團隊一起打造?

我們可以協助企業接入、整合與技術問題。

聯絡我們