---
title: 透過 RunAPI 在 WorkBuddy 使用 Kling — MCP 影片指南 | RunAPI
description: 透過 MCP 在 WorkBuddy 使用 Kling 3.0 生成影片。將 RunAPI 加入為 MCP server，工作台代理即可處理文字生影片、音效及 1080p 輸出。
url: https://runapi.ai/zh-HK/workbuddy-kling.md
canonical: https://runapi.ai/zh-HK/workbuddy-kling
locale: zh-HK
site: RunAPI
image: https://runapi.ai/assets/opengraph-bfaaa0f0.png
alternates:
  en: https://runapi.ai/workbuddy-kling
  zh-CN: https://runapi.ai/zh-CN/workbuddy-kling
  es: https://runapi.ai/es/workbuddy-kling
  ja: https://runapi.ai/ja/workbuddy-kling
  de: https://runapi.ai/de/workbuddy-kling
  fr: https://runapi.ai/fr/workbuddy-kling
  pt-BR: https://runapi.ai/pt-BR/workbuddy-kling
  ko: https://runapi.ai/ko/workbuddy-kling
  it: https://runapi.ai/it/workbuddy-kling
  nl: https://runapi.ai/nl/workbuddy-kling
  pl: https://runapi.ai/pl/workbuddy-kling
  tr: https://runapi.ai/tr/workbuddy-kling
  zh-TW: https://runapi.ai/zh-TW/workbuddy-kling
  zh-HK: https://runapi.ai/zh-HK/workbuddy-kling
  ar: https://runapi.ai/ar/workbuddy-kling
  x-default: https://runapi.ai/workbuddy-kling
model: kling
---

> HTML version: https://runapi.ai/zh-HK/workbuddy-kling
> Site index for agents: https://runapi.ai/llms.txt


# 在 WorkBuddy 使用 Kling。

快手的 Kling 3.0 可從文字或圖像生成最高 1080p 的影片，支援原生音訊、多鏡頭場景及 3–15 秒時長。WorkBuddy 原生支援 MCP — 只需一次將 RunAPI 加入為 MCP server，工作台代理便可發送 Kling 提示詞、等待非同步任務，並回傳完成的影片 URL。

- [取得 API Key](https://runapi.ai/zh-HK/login)
- [閱讀文件](https://runapi.ai/zh-HK/docs/guides)

一個 MCP server · 文字生影片 + 圖像生影片 · 按秒計費

### 提示詞

```text
Use the runapi MCP server to generate a video with Kling 3.0.

Requirements:
- Use model "kling-3.0".
- Prompt: a drone shot pulling back from a mountain lake at sunrise, mist
  rising off the water, cinematic lighting.
- Set duration_seconds to 5, aspect_ratio to "16:9", and
  output_resolution to "1080p".
- Enable native audio with enable_sound: true.
- The task is async. Wait for it to complete, then report the video URL
  and the cost.

```

### MCP 設定

```bash
{
  "mcpServers": {
    "runapi": {
      "url": "https://runapi.ai/mcp",
      "transport": "streamable_http",
      "headers": {
        "Authorization": "Bearer $RUNAPI_API_KEY"
      }
    }
  }
}

```

### 結果

```json
{
  "task_id": "tsk_abc123",
  "status": "completed",
  "model": "kling-3.0",
  "output": {
    "video_url": "https://media.runapi.ai/tasks/tsk_abc123/output.mp4",
    "duration_seconds": 5,
    "resolution": "1080p"
  }
}

```

## 三個步驟在 WorkBuddy 使用 Kling

1. **將 RunAPI 加入為 MCP server** - 在 WorkBuddy 中註冊一個名為 runapi 的 MCP server，透過 streamable HTTP 指向 https://runapi.ai/mcp，並在 Authorization 標頭中填入 RUNAPI_API_KEY 的金鑰。一個 server 即可存取 Kling 及所有其他 RunAPI 模型。 `url: https://runapi.ai/mcp
transport: streamable_http
auth: Bearer $RUNAPI_API_KEY
`
2. **提示工作台代理** - 要求 WorkBuddy 使用 Kling 3.0 生成影片。包含場景描述、duration_seconds（3–15）、aspect_ratio，以及可選的 enable_sound 以啟用原生音訊。如需以圖像驅動生成，附上第一幀圖像 URL，代理將改用 image_to_video 工具。 `Use the runapi MCP server to generate a 5-second Kling 3.0 clip: ...`
3. **讓代理執行工具並取得結果** - WorkBuddy 透過 runapi MCP server 呼叫 Kling 工具，並立即收到 task_id。代理輪詢非同步任務直至完成 — 視時長和解析度而定，通常需 30–120 秒 — 然後在工作台中回傳影片 URL。 `runapi.text_to_video -> task_id: tsk_abc123 -> status: completed`

## Kling text_to_video 參數

| 參數 | 類型 | 說明 |
| --- | --- | --- |
| `model` | `string` | 必填。kling-3.0 為最新版本。 |
| `prompt` | `string` | 影片描述。單鏡頭和 automatic 多鏡頭模式必填。custom 多鏡頭模式使用 multi_prompt 中每個鏡頭的 prompt。 |
| `duration_seconds` | `integer` | 影片時長。Kling 3.0 支援 3–15 秒，舊版本接受 5 或 10 秒。 |
| `aspect_ratio` | `string` | 輸出長寬比：16:9、9:16 或 1:1。 |
| `output_resolution` | `string` | 解析度：720p、1080p 或 4k。解析度越高，每秒費用越貴。 |
| `enable_sound` | `boolean` | 在影片旁同步生成原生音訊，將增加每秒費用。 |

## WorkBuddy 上的 Kling 是什麼？

快手的 Kling 3.0 以電影級畫質著稱，具備出色的布料模擬、流體動力學及運動物理效果。可從文字或圖像生成最高 1080p 的影片，支援原生音訊及多鏡頭場景。WorkBuddy 透過 runapi MCP server 存取它 — 工作台代理以 RUNAPI_API_KEY 中的單一金鑰將 Kling 作為標準工具呼叫，RunAPI 在底層處理非同步任務生命週期。

## Kling 使用場景

- **B-roll 及場景建立鏡頭** - 在緊迫截止日期前向 WorkBuddy 要求場景長度的 B-roll 素材 — 自然景觀、旅遊內容和環境鏡頭，充分展現 Kling 的運動物理效果和電影燈光。
- **產品生活情境內容** - 從單張圖片或文字提示詞為食品、時尚或生活品牌製作產品影片，具備自然鏡頭運動及逼真材質渲染。
- **社交媒體短片** - 以電影級構圖製作適用於 TikTok、Reels 或 YouTube Shorts 的短片。將 duration_seconds 設為 5 或 10，即可輸出平台適用的時長。

## Kling + WorkBuddy 常見問題

### 我可以在 WorkBuddy 使用 Kling 嗎？

可以。WorkBuddy 原生支援 MCP。以你的 RUNAPI_API_KEY 將 RunAPI 加入為 MCP server，工作台代理即可直接呼叫 Kling text_to_video 和 image_to_video 工具 — 無需外掛或獨立的影片服務帳戶。

### RunAPI 上 Kling 的按秒計費如何運作？

Kling 按生成影片的秒數收費，費率取決於 output_resolution 及是否啟用 enable_sound。5 秒 720p 無音訊片段為最低成本選項；1080p 加音訊每秒費用約為前者的兩倍。確切費率請查閱 RunAPI 定價頁面。

### Kling 生成失敗時，點數會被扣除嗎？

不會。RunAPI 只為已完成的生成任務計費。若任務失敗或逾時，預留的點數會退回你的帳戶餘額，WorkBuddy 只會回報失敗狀態。

### Kling 能生成帶音訊的影片嗎？

可以。要求 WorkBuddy 啟用音效，即在工具呼叫中將 enable_sound 設為 true。Kling 3.0 會生成與影片內容同步的音訊。啟用音效會增加每秒費用 — 在 720p 下，音效約增加每秒 3 美分。

### 我能控制 Kling 影片中的鏡頭運動嗎？

Kling 3.0 還有一個獨立的 motion_control 工具，可透過參考影片對來源圖像套用動態預設，同樣透過 runapi MCP server 提供。text_to_video 工具則依賴提示詞描述來控制鏡頭方向。


- [WorkBuddy 設定指南 →](https://runapi.ai/zh-HK/workbuddy.md) - 尚未連接？請先參閱 WorkBuddy 的 RunAPI MCP 設定指南。
- [Kling 模型 →](https://runapi.ai/zh-HK/models/kling.md) - 查看所有 Kling 變體、定價方案及 API 文件。

## 立即在 WorkBuddy 試用 Kling。

獲取免費 RunAPI 金鑰，將 MCP server 加入 WorkBuddy，即可開始使用 Kling 3.0 生成影片。

[瀏覽模型 →](https://runapi.ai/zh-HK/models.md)

---

## More from RunAPI

- [Home](https://runapi.ai/zh-HK/.md)
### 產品
- [模型目錄](https://runapi.ai/zh-HK/models.md)
- [收費](https://runapi.ai/zh-HK/pricing.md)
- [服務商](https://runapi.ai/zh-HK/models#all-models)
### 開發者
- [文件](https://runapi.ai/zh-HK/docs/guides)
- [SDK](https://runapi.ai/zh-HK/sdk.md)
- [CLI](https://runapi.ai/zh-HK/cli.md)
- [MCP Server](https://runapi.ai/zh-HK/mcp.md)
- [x402](https://runapi.ai/zh-HK/x402.md)
### 指南
- [Claude Code 與 Cursor](https://runapi.ai/zh-HK/claude-code-vs-cursor.md)
- [Cursor API 設定](https://runapi.ai/zh-HK/cursor-api-setup.md)
- [RunAPI 與 OpenRouter](https://runapi.ai/zh-HK/openrouter-alternative.md)
### 公司
- [企業版](https://runapi.ai/zh-HK/contact.md)
- [聯絡](https://runapi.ai/zh-HK/contact.md)
### 法律
- [條款](https://runapi.ai/zh-HK/terms.md)
- [私隱](https://runapi.ai/zh-HK/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-HK",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/zh-HK/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/zh-HK",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/zh-HKicon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "SoftwareApplication",
    "name": "適用於 WorkBuddy 的 RunAPI Kling",
    "applicationCategory": "DeveloperApplication",
    "description": "透過 MCP 在 WorkBuddy 使用 Kling 3.0 生成影片。將 RunAPI 加入為 MCP server，工作台代理即可處理文字生影片、音效及 1080p 輸出。",
    "url": "https://runapi.ai/zh-HK/workbuddy-kling"
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "我可以在 WorkBuddy 使用 Kling 嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "可以。WorkBuddy 原生支援 MCP。以你的 RUNAPI_API_KEY 將 RunAPI 加入為 MCP server，工作台代理即可直接呼叫 Kling text_to_video 和 image_to_video 工具 — 無需外掛或獨立的影片服務帳戶。"
        }
      },
      {
        "@type": "Question",
        "name": "RunAPI 上 Kling 的按秒計費如何運作？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Kling 按生成影片的秒數收費，費率取決於 output_resolution 及是否啟用 enable_sound。5 秒 720p 無音訊片段為最低成本選項；1080p 加音訊每秒費用約為前者的兩倍。確切費率請查閱 RunAPI 定價頁面。"
        }
      },
      {
        "@type": "Question",
        "name": "Kling 生成失敗時，點數會被扣除嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "不會。RunAPI 只為已完成的生成任務計費。若任務失敗或逾時，預留的點數會退回你的帳戶餘額，WorkBuddy 只會回報失敗狀態。"
        }
      },
      {
        "@type": "Question",
        "name": "Kling 能生成帶音訊的影片嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "可以。要求 WorkBuddy 啟用音效，即在工具呼叫中將 enable_sound 設為 true。Kling 3.0 會生成與影片內容同步的音訊。啟用音效會增加每秒費用 — 在 720p 下，音效約增加每秒 3 美分。"
        }
      },
      {
        "@type": "Question",
        "name": "我能控制 Kling 影片中的鏡頭運動嗎？",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Kling 3.0 還有一個獨立的 motion_control 工具，可透過參考影片對來源圖像套用動態預設，同樣透過 runapi MCP server 提供。text_to_video 工具則依賴提示詞描述來控制鏡頭方向。"
        }
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "HowTo",
    "name": "如何透過 RunAPI 在 WorkBuddy 使用 Kling",
    "description": "在 WorkBuddy 中將 RunAPI 加入為 MCP server，提示工作台代理，讓它呼叫 Kling text_to_video 或 image_to_video 工具生成影片。",
    "step": [
      {
        "@type": "HowToStep",
        "position": 1,
        "name": "將 RunAPI 加入為 MCP server",
        "text": "在 WorkBuddy 中註冊一個名為 runapi 的 MCP server，透過 streamable HTTP 指向 https://runapi.ai/mcp，並在 Authorization 標頭中填入 RUNAPI_API_KEY 的金鑰。一個 server 即可存取 Kling 及所有其他 RunAPI 模型。",
        "url": "https://runapi.ai/zh-HK/workbuddy-kling#how-step-1"
      },
      {
        "@type": "HowToStep",
        "position": 2,
        "name": "提示工作台代理",
        "text": "要求 WorkBuddy 使用 Kling 3.0 生成影片。包含場景描述、duration_seconds（3–15）、aspect_ratio，以及可選的 enable_sound 以啟用原生音訊。如需以圖像驅動生成，附上第一幀圖像 URL，代理將改用 image_to_video 工具。",
        "url": "https://runapi.ai/zh-HK/workbuddy-kling#how-step-2"
      },
      {
        "@type": "HowToStep",
        "position": 3,
        "name": "讓代理執行工具並取得結果",
        "text": "WorkBuddy 透過 runapi MCP server 呼叫 Kling 工具，並立即收到 task_id。代理輪詢非同步任務直至完成 — 視時長和解析度而定，通常需 30–120 秒 — 然後在工作台中回傳影片 URL。",
        "url": "https://runapi.ai/zh-HK/workbuddy-kling#how-step-3"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "zh-HK",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "主頁",
        "item": "https://runapi.ai/zh-HK"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "適用於 WorkBuddy 的 RunAPI Kling",
        "item": "https://runapi.ai/zh-HK/workbuddy-kling"
      }
    ]
  }
]
```
