Claude 訪客:新帳戶可在 30 天內獲得 $1.00 API 贈送額度。每人限領一次,僅用於 API 用量。

WORKBUDDY + WAN

在 WorkBuddy 中使用 Wan。

Wan 是 Alibaba 的開源影片與圖片生成模型,採用 Apache 2.0 授權,並在 Artificial Analysis text-to-video 排行榜位居第 1。它涵蓋從 Wan 2.2 至 2.7 的 20 多種變體 — text-to-video、image-to-video、具唇形同步的 speech-to-video、透過 R2V 進行影片編輯,以及最高 4K 的圖片生成。只要將 RunAPI 新增為 MCP server 一次,WorkBuddy workbench 內的每個 Wan endpoint 都會成為可呼叫工具。

一個 MCP server · 20 多種 Wan 變體 · Apache 2.0 開源
Generate a video with Alibaba Wan 2.7 using the runapi MCP server.

Requirements:
- Use the RunAPI MCP tool for text-to-video generation.
- Set model to "wan-2.7-text-to-video".
- Set output_resolution to "1080p" for full HD output.
- Prompt: "A drone shot rising over terraced rice paddies at golden hour, mist rolling through the valleys, slow upward camera tilt".
- The task is async — wait for the tool to report the task as completed, then give me the video URL.
{
  "mcp_servers": {
    "runapi": {
      "url": "https://runapi.ai/mcp",
      "transport": "streamable_http",
      "headers": {
        "Authorization": "Bearer $RUNAPI_API_KEY"
      }
    }
  }
}
{
  "task_id": "tsk_abc123",
  "status": "completed",
  "model": "wan-2.7-text-to-video",
  "output": {
    "video_url": "https://media.runapi.ai/outputs/tsk_abc123.mp4"
  }
}
將 prompt 複製到 WorkBuddy 進行測試 wan
運作方式

三個步驟在 WorkBuddy 中使用 Wan

1

新增 RunAPI MCP server

在 WorkBuddy 中註冊名為 runapi 的 MCP server,透過 streamable HTTP 指向 https://runapi.ai/mcp,並從 RUNAPI_API_KEY 環境變數讀取您的 key。若 RunAPI 已連接用於 chat 或 images,同一個 server 即涵蓋全部 20 多種 Wan 變體 — 無需額外設定。

export RUNAPI_API_KEY=runapi_xxx # MCP server: runapi → https://runapi.ai/mcp
2

提示工作台 agent

告訴 WorkBuddy 要生成什麼及使用哪種 Wan 變體 — text-to-video 使用 wan-2.7-text-to-video、image-to-video 使用帶有 first_frame_image_url 的 wan-2.7-image-to-video,或使用帶有 source_audio_url 和 source_image_url 的 wan-2.2-a14b-speech-to-video-turbo 製作唇形同步語音影片。agent 會選擇相符的 RunAPI MCP 工具並填入參數。

"Generate a 1080p video with wan-2.7-text-to-video: ..."
3

讓工具傳回結果

RunAPI MCP 工具會建立任務、處理非同步輪詢直到 status 為 completed,並將完成的影片或圖片 URL 交回 workbench — 無需手動檢查狀態。

status: completed → video_url
參數

Wan text_to_video 參數

參數 類型 說明
model string 必填。wan-2.7-text-to-video、wan-2.6-text-to-video、wan-2.5-text-to-video、wan-2.2-a14b-text-to-video-turbo 或 wan-2.7-r2v。
prompt string 必填。目標影片場景的文字描述,包含鏡頭運動、燈光及主體細節。
output_resolution string 選填。Wan 2.5+ 可選 720p 或 1080p;Wan 2.2 另可接受 480p 與 580p,預設為 720p。
aspect_ratio string 選填。僅適用於 wan-2.7-r2v。可接受值:16:9、9:16、1:1、4:3、3:4。
duration_seconds integer 選填。僅適用於 wan-2.7-r2v。影片長度(秒),範圍 2 至 10。
seed integer 選填。用於確定性輸出的重現種子值。

WorkBuddy 上的 Wan 是什麼?

Alibaba 的 Wan 是一款開源(Apache 2.0)影片模型,在 Artificial Analysis text-to-video 排行榜名列前茅。它提供第一影格與最後影格控制,讓生成內容固定於 endpoint 錨點;也支援具角色一致性的多鏡頭影片,以及包含唇形同步 speech-to-video 的原生音訊。透過 runapi MCP server,WorkBuddy 只需一組 RUNAPI_API_KEY,即可將全部 20 多種 Wan 變體作為可呼叫工具使用。

Wan 使用情境

分鏡稿轉影片工作流程

利用首幀與末幀錨點將分鏡稿面板轉換為影片序列。每段片段的起點與終點對應您的關鍵幀,確保多鏡頭專案的視覺連貫性。

虛擬主持人與品牌吉祥物

使用 Wan 的 speech-to-video 工具,根據臉部圖片和音訊檔生成真人講解影片。模型會處理唇形同步和頭部動作,適合一致的品牌代言人內容。

具角色一致性的多鏡頭序列

製作對話量大或敘事性內容,讓相同角色出現在多段片段中。Wan 的時間一致性可確保跨鏡頭的面孔與服裝保持穩定。

FAQ

Wan + WorkBuddy 問題

WorkBuddy 一般設定

尚未連線嗎?請先參閱 WorkBuddy 的 RunAPI MCP 設定指南。

WorkBuddy 設定指南 →

Wan 模型目錄

查看所有 20+ 種 Wan 變體、定價方案與 endpoint 文件。

Wan on RunAPI →

立即在 WorkBuddy 中試用 Wan。

取得免費 RunAPI key,將 MCP server 加入 WorkBuddy,並使用排名第 1 的開源模型生成影片 — text-to-video、image-to-video 或 speech-to-video。