跳转到内容

fal

OpenClaw 附带了一个捆绑的 fal 提供商,用于托管图像和视频生成。

  • 提供商: fal
  • 认证: FAL_KEY (规范; FAL_API_KEY 也可作为后备)
  • API: fal 模型端点
  1. 设置 API 密钥:
Terminal window
openclaw onboard --auth-choice fal-api-key
  1. 设置默认图像模型:
{
agents: {
defaults: {
imageGenerationModel: {
primary: "fal/fal-ai/flux/dev",
},
},
},
}

捆绑的 fal 图像生成提供商默认为 fal/fal-ai/flux/dev

  • 生成:每个请求最多 4 张图像
  • 编辑模式:已启用,1 张参考图像
  • 支持 sizeaspectRatioresolution
  • 当前编辑注意事项: fal 图像编辑端点 支持 aspectRatio 覆盖

要将 fal 用作默认图像提供商:

{
agents: {
defaults: {
imageGenerationModel: {
primary: "fal/fal-ai/flux/dev",
},
},
},
}

捆绑的 fal 视频生成提供商默认为 fal/fal-ai/minimax/video-01-live

  • 模式:文本生成视频和单图像参考流
  • 运行时:针对长时间运行作业的队列支持的提交/状态/结果流

要将 fal 用作默认视频提供商:

{
agents: {
defaults: {
videoGenerationModel: {
primary: "fal/fal-ai/minimax/video-01-live",
},
},
},
}