Skip to content

Fal

OpenClaw ships a bundled fal provider for hosted image, video, and music generation.

PropertyValue
Providerfal
AuthFAL_KEY (canonical; FAL_API_KEY also works as a fallback)
APIfal model endpoints
  1. Set the API key

    Terminal window
    openclaw onboard --auth-choice fal-api-key
  2. Set a default image model

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

The bundled fal image-generation provider defaults to fal/fal-ai/flux/dev.

CapabilityValue
Max images4 per request
Edit modeFlux: 1 reference image; GPT Image 2: 10; Nano Banana 2: 14
Size overridesSupported
Aspect ratioSupported for generate and GPT Image 2/Nano Banana 2 edit
ResolutionSupported
Output formatpng or jpeg

Use outputFormat: "png" when you want PNG output. fal does not declare an explicit transparent-background control in OpenClaw, so background: "transparent" is reported as an ignored override for fal models.

To use fal as the default image provider:

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

The bundled fal video-generation provider defaults to fal/fal-ai/minimax/video-01-live.

CapabilityValue
ModesText-to-video, single-image reference, Seedance reference-to-video
RuntimeQueue-backed submit/status/result flow for long-running jobs
Available video models

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
Seedance 2.0 config example
{
agents: {
defaults: {
videoGenerationModel: {
primary: "fal/bytedance/seedance-2.0/fast/text-to-video",
},
},
},
}
Seedance 2.0 reference-to-video config example
{
agents: {
defaults: {
videoGenerationModel: {
primary: "fal/bytedance/seedance-2.0/fast/reference-to-video",
},
},
},
}

Reference-to-video accepts up to 9 images, 3 videos, and 3 audio references through the shared video_generate images, videos, and audioRefs parameters, with at most 12 total reference files.

HeyGen video-agent config example
{
agents: {
defaults: {
videoGenerationModel: {
primary: "fal/fal-ai/heygen/v2/video-agent",
},
},
},
}

The bundled fal plugin also registers a music-generation provider for the shared music_generate tool.

CapabilityValue
Default modelfal/fal-ai/minimax-music/v2.6
Modelsfal-ai/minimax-music/v2.6, fal-ai/ace-step/prompt-to-audio, fal-ai/stable-audio-25/text-to-audio
RuntimeSynchronous request plus generated audio download

Use fal as the default music provider:

{
agents: {
defaults: {
musicGenerationModel: {
primary: "fal/fal-ai/minimax-music/v2.6",
},
},
},
}

fal-ai/minimax-music/v2.6 supports explicit lyrics and instrumental mode. ACE-Step and Stable Audio are prompt-to-audio endpoints; choose them with the model override when you want those model families.

Image generation

Shared image tool parameters and provider selection.

Video generation

Shared video tool parameters and provider selection.

Music generation

Shared music tool parameters and provider selection.

Configuration reference

Agent defaults including image, video, and music model selection.