Skip to main content

Documentation Index

Fetch the complete documentation index at: https://openclaw.zhcndoc.com/llms.txt

Use this file to discover all available pages before exploring further.

OpenClaw 提供了一个内置的 runway 提供商,用于托管视频生成。
属性
提供商 IDrunway
认证RUNWAYML_API_SECRET(规范)或 RUNWAY_API_KEY
APIRunway 基于任务的视频生成(轮询 GET /v1/tasks/{id}

开始使用

1

设置 API 密钥

openclaw onboard --auth-choice runway-api-key
2

将 Runway 设置为默认视频提供商

openclaw config set agents.defaults.videoGenerationModel.primary "runway/gen4.5"
3

生成视频

让代理生成一个视频。Runway 将会自动使用。

支持的模式

模式模型参考输入
文本生成视频gen4.5(默认)
图片生成视频gen4.51 张本地或远程图片
视频生成视频gen4_aleph1 个本地或远程视频
本地图片和视频引用支持通过 data URI 传入。仅文本运行 当前提供 16:99:16 两种宽高比。
视频生成视频目前需要特定使用 runway/gen4_aleph

配置

{
  agents: {
    defaults: {
      videoGenerationModel: {
        primary: "runway/gen4.5",
      },
    },
  },
}

高级配置

OpenClaw 同时识别 RUNWAYML_API_SECRET(规范)和 RUNWAY_API_KEY。 任一变量都可用于对 Runway 提供商进行身份验证。
Runway 使用基于任务的 API。提交生成请求后,OpenClaw 会轮询 GET /v1/tasks/{id},直到视频准备就绪。轮询行为无需额外 配置。

相关内容

视频生成

共享工具参数、提供商选择和异步行为。

配置参考

包括视频生成模型在内的代理默认设置。