module pixeltable.functions.fal
Pixeltable UDFs that wrap various endpoints from the fal.ai API. In order to use them, you must firstpip install fal-client and configure your fal.ai credentials, as described in
the Working with fal.ai tutorial.
udf run()
Signature
fal, key rate_limit). If no rate
limit is configured, uses a default of 600 RPM.
Requirements:
pip install fal-client
input(pxt.Json): The input parameters for the model.app(pxt.String): The name or ID of the fal.ai application to run (e.g., ‘fal-ai/flux/schnell’).
pxt.Json: The output of the model as a JSON object.
fal-ai/flux/schnell to an existing Pixeltable column tbl.prompt of the table tbl:
fal-ai/fast-sdxl to generate images from an existing Pixeltable column tbl.prompt: