OPENCLAW + SEEDANCE

在 OpenClaw 中使用 Seedance。

Seedance 2.0 可生成 4–15 秒、最高 1080p 的影片,按秒計費起價約 $0.05/秒 — 是 RunAPI 影片模型中每秒成本最低的選擇。它支援多模態參考輸入(圖片、影片和音訊 URL)、首尾幀控制及原生音訊同步。OpenClaw agent 透過與聊天相同的 RunAPI key 和端點呼叫。

一個 API key · 文生影片端點 · 按秒計費
Generate a product showcase video using Seedance 2.0 through RunAPI.

Requirements:
- Read the API key from RUNAPI_API_KEY.
- Call POST https://runapi.ai/api/v1/seedance/text_to_video
- Set model to "seedance-2.0".
- Set prompt to describe the video scene.
- Set duration_seconds to the desired length (4–15).
- Set aspect_ratio to "16:9" for landscape video.
- The task is async. Poll the returned task_id until status is "completed".
- When done, read the video URL from the response output.
curl -X POST https://runapi.ai/api/v1/seedance/text_to_video \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedance-2.0",
    "prompt": "A ceramic coffee mug rotates slowly on a wooden table, steam rising, warm morning light from a window, cinematic",
    "duration_seconds": 8,
    "aspect_ratio": "16:9",
    "output_resolution": "1080p"
  }'
{
  "task_id": "tsk_abc123",
  "status": "pending",
  "model": "seedance-2.0"
}
複製 curl 指令進行測試 seedance
運作原理

三步驟在 OpenClaw 中使用 Seedance

1

設定 RunAPI

在環境中設定 RUNAPI_API_KEY。如果你已在 OpenClaw 中設定 RunAPI 用於聊天,同一把 key 即可用於 Seedance 影片生成 — 無需額外的 provider 設定。

export RUNAPI_API_KEY=runapi_xxx
2

呼叫 Seedance text_to_video

發送 POST 請求至 text_to_video 端點,將 model 設為 seedance-2.0。加入 prompt、duration_seconds(4–15)、aspect_ratio 和 output_resolution。可選擇附加 first_frame_image_url、reference_image_urls 或 reference_audio_urls 進行多模態控制。

POST /api/v1/seedance/text_to_video
3

輪詢取得結果

端點會立即回傳 task_id。輪詢任務狀態端點,直到 status 為 completed,然後從回應中讀取輸出影片 URL。計費按生成影片的時長和解析度按秒收取。

GET /api/v1/seedance/text_to_video/tsk_abc123
參數

Seedance API 參數

參數 類型 說明
model string 必填。seedance-2.0、seedance-2.0-fast、seedance-1.5-pro、seedance-v1-pro、seedance-v1-lite。
prompt string 必填。描述要生成的影片場景的文字。
duration_seconds integer 影片長度(秒)。Seedance 2.0 支援 4–15 秒,v1 版本支援 5 或 10 秒。
aspect_ratio string 輸出長寬比。可接受的值:1:1、4:3、3:4、16:9、9:16、21:9、auto。
output_resolution string 影片解析度。可接受的值:480p、720p、1080p。解析度越高,每秒費用越高。
first_frame_image_url string 選填。用作第一幀的圖片 URL。可實現圖生影片工作流。
last_frame_image_url string 選填。用作最後一幀的圖片 URL。可限定結尾場景。
reference_image_urls array 選填。用於姿態、深度或邊緣引導的參考圖片 URL。
reference_audio_urls array 選填。用於在生成影片中進行原生音訊同步的參考音訊檔案 URL。
reference_video_urls array 選填。用於動態或風格轉移的參考影片 URL。
callback_url string 選填。任務完成時接收 POST 通知的 Webhook URL。

OpenClaw 上的 Seedance 是什麼?

字節跳動的 Seedance 2.0 是排行榜領先的影片模型,具備原生音頻集成和精準的音影片同步能力。它生成 4 至 15 秒、最高 1080p 的影片,支持多鏡頭敍事、導演級場景轉場控制和真正可用的口型同步功能。OpenClaw agent 通過 RunAPI 以按秒計費的方式呼叫它。

Seedance 使用場景

對話密集的短片

生成角色説話的短片——Seedance 能處理跨多個説話者的口型同步和對白歸屬,適合對話內容和説話頭像場景。

TikTok 和 Reels 短影片

生成精確時長的平台適配豎版影片。按秒計費意味着 5 秒短片的成本約為 15 秒影片的三分之一。

產品演示樣片

創作帶音頻旁白與視覺動作同步的產品演示短片。傳入參考音頻,將影片動作對齊旁白音軌。

FAQ

Seedance + OpenClaw 常見問題

OpenClaw 通用設定

尚未設定?請從 OpenClaw 的 RunAPI 設定指南開始。

OpenClaw 設定指南 →

Seedance 模型目錄

查看所有 Seedance 版本、定價方案及 API 文件。

Seedance on RunAPI →

立即在 OpenClaw 中試用 Seedance。

取得免費 RunAPI key,將 prompt 貼入 OpenClaw,即可開始使用 Seedance 2.0 按秒計費生成影片。