Tools
Fal
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.
Example
The following agent will use FAL to generate any video requested by the user.
cookbook/tools/fal_tools.py
Toolkit Params
Parameter | Type | Default | Description |
---|---|---|---|
api_key | str | None | API key for authentication purposes. |
model | str | None | The model to use for the media generation. |
Toolkit Functions
Function | Description |
---|---|
generate_media | Generate either images or videos depending on the user prompt. |
Information
- View on Github