Fal
Last updated
Last updated
FalTools enable an Agent to perform media generation tasks.
The following example requires the fal_client
library and an API key which can be obtained from .
The following agent will use FAL to generate any video requested by the user.
cookbook/tools/fal_tools.py
api_key
str
None
API key for authentication purposes.
model
str
None
The model to use for the media generation.
generate_media
Generate either images or videos depending on the user prompt.
image_to_image
Transform an input image based on a text prompt.