fal 提供程序,用于托管图像、视频和音乐
生成。
| 属性 | 值 |
|---|---|
| 提供程序 | fal |
| 认证 | FAL_KEY(规范;FAL_API_KEY 也可作为回退使用) |
| API | fal 模型端点 |
开始使用
图像生成
内置的fal 图像生成提供程序默认使用
fal/fal-ai/flux/dev。
| Capability | Value |
|---|---|
| Max images | 4 per request; Krea 2: 1 per request |
| Edit mode | Flux: 1 reference image; GPT Image 2: 10; Nano Banana 2: 14 |
| Style refs | Krea 2: up to 10 style references via image / images |
| Size overrides | Supported |
| Aspect ratio | Supported for generate, Krea 2, and GPT Image 2/Nano Banana 2 edit |
| Resolution | Supported |
| Output format | png or jpeg |
aspect_ratio、creativity 和 image_style_references,而不是 Flux 使用的
通用 image_size / 编辑端点负载。模型引用为:
fal/krea/v2/medium/text-to-imagefal/krea/v2/large/text-to-image
fal.creativity: "medium";
支持的值为 raw、low、medium 和 high。
Krea 2 在 fal 的请求架构中暴露的是宽高比,而不是 image_size。优先使用 aspectRatio;
OpenClaw 会将 size 映射为最接近的 Krea 支持的宽高比,并拒绝 Krea 的 resolution
覆盖项,而不是忽略它。
当您希望从暴露 output_format 的 fal 模型获得 PNG 输出时,请使用
outputFormat: "png"。fal 在 OpenClaw 中没有声明明确的透明背景控制,因此
background: "transparent" 会被报告为 fal 模型被忽略的覆盖项。
Krea 2 端点不会通过 fal 暴露 output_format 请求字段,因此
OpenClaw 会拒绝 Krea 请求中的 outputFormat 覆盖项。
要将 fal 设为默认图像提供程序:
视频生成
内置的fal 视频生成提供程序默认使用
fal/fal-ai/minimax/video-01-live。
| 能力 | 值 |
|---|---|
| 模式 | 文本生成视频、单图参考、Seedance 参考生成视频 |
| 运行时 | 面向长时间运行任务的基于队列的提交/状态/结果流程 |
可用的视频模型
可用的视频模型
HeyGen video-agent:
fal/fal-ai/heygen/v2/video-agent
fal/bytedance/seedance-2.0/fast/text-to-videofal/bytedance/seedance-2.0/fast/image-to-videofal/bytedance/seedance-2.0/fast/reference-to-videofal/bytedance/seedance-2.0/text-to-videofal/bytedance/seedance-2.0/image-to-videofal/bytedance/seedance-2.0/reference-to-video
Seedance 2.0 配置示例
Seedance 2.0 配置示例
Seedance 2.0 参考生成视频配置示例
Seedance 2.0 参考生成视频配置示例
video_generate images、videos 和 audioRefs
参数传入,总参考文件数最多 12 个。HeyGen video-agent 配置示例
HeyGen video-agent 配置示例
音乐生成
内置的fal 插件还为共享的 music_generate 工具注册了一个音乐生成提供程序。
| 能力 | 值 |
|---|---|
| 默认模型 | fal/fal-ai/minimax-music/v2.6 |
| 模型 | fal-ai/minimax-music/v2.6, fal-ai/ace-step/prompt-to-audio, fal-ai/stable-audio-25/text-to-audio |
| 运行时 | 同步请求加生成音频下载 |
fal-ai/minimax-music/v2.6 支持显式歌词和纯音乐模式。
ACE-Step 和 Stable Audio 是 prompt-to-audio 端点;当您需要这些模型家族时,请使用
model 覆盖项来选择它们。
相关内容
图像生成
共享的图像工具参数和提供程序选择。
视频生成
共享的视频工具参数和提供程序选择。
音乐生成
共享的音乐工具参数和提供程序选择。
配置参考
代理默认设置,包括图像、视频和音乐模型选择。