跳轉到主要內容

Documentation Index

Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt

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

OpenClaw 內建隨附 fal 提供者,用於託管式圖片與影片生成。
屬性
提供者fal
驗證FAL_KEY(標準;FAL_API_KEY 也可作為備援使用)
APIfal 模型端點

開始使用

1

Set the API key

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

Set a default image model

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

圖片生成

內建隨附的 fal 圖片生成提供者預設使用 fal/fal-ai/flux/dev
功能
圖片數量上限每次請求 4 張
編輯模式已啟用,1 張參考圖片
尺寸覆寫支援
長寬比支援
解析度支援
輸出格式pngjpeg
fal 圖片編輯端點支援 aspectRatio 覆寫。
若要輸出 PNG,請使用 outputFormat: "png"。fal 未在 OpenClaw 中宣告明確的透明背景控制項,因此對於 fal 模型,background: "transparent" 會回報為已忽略的覆寫。 若要將 fal 作為預設圖片提供者:
{
  agents: {
    defaults: {
      imageGenerationModel: {
        primary: "fal/fal-ai/flux/dev",
      },
    },
  },
}

影片生成

內建隨附的 fal 影片生成提供者預設使用 fal/fal-ai/minimax/video-01-live
功能
模式文字轉影片、單張圖片參考、Seedance 參考轉影片
執行階段適用於長時間執行工作的佇列式提交/狀態/結果流程
HeyGen video-agent:
  • fal/fal-ai/heygen/v2/video-agent
Seedance 2.0:
  • fal/bytedance/seedance-2.0/fast/text-to-video
  • fal/bytedance/seedance-2.0/fast/image-to-video
  • fal/bytedance/seedance-2.0/fast/reference-to-video
  • fal/bytedance/seedance-2.0/text-to-video
  • fal/bytedance/seedance-2.0/image-to-video
  • fal/bytedance/seedance-2.0/reference-to-video
{
  agents: {
    defaults: {
      videoGenerationModel: {
        primary: "fal/bytedance/seedance-2.0/fast/text-to-video",
      },
    },
  },
}
{
  agents: {
    defaults: {
      videoGenerationModel: {
        primary: "fal/bytedance/seedance-2.0/fast/reference-to-video",
      },
    },
  },
}
參考轉影片最多接受 9 張圖片、3 支影片,以及 3 個音訊參考, 透過共用的 video_generate imagesvideosaudioRefs 參數傳入,且參考檔案總數最多為 12 個。
{
  agents: {
    defaults: {
      videoGenerationModel: {
        primary: "fal/fal-ai/heygen/v2/video-agent",
      },
    },
  },
}
使用 openclaw models list --provider fal 查看可用 fal 模型的完整清單, 包含任何最近新增的項目。

相關

Image generation

共用圖片工具參數與提供者選擇。

Video generation

共用影片工具參數與提供者選擇。

Configuration reference

Agent 預設值,包含圖片與影片模型選擇。