Skip to main content
FalTools enable an Agent to perform media generation tasks.

Prerequisites

The following example requires the fal_client library and an API key which can be obtained from Fal.
FalTools checks the FAL_API_KEY environment variable and logs an error when it is missing. Authentication still works with FAL_KEY alone because fal_client reads it directly. Set both variables to avoid the log message.

Example

The following agent will use FAL to generate any video requested by the user.
cookbook/91_tools/fal_tools.py

Toolkit Params

Toolkit Functions

Developer Resources