fal-client>=0.3.0 httpx httpx-sse fal
The ComfyUI-fal-Connector is a tool designed to provide an integration between
ComfyUI and fal. This extension allows users to execute their ComfyUI
workflows directly on fal.ai. This enables users to leverage the
computational power and resources provided by fal.ai for running their
ComfyUI workflows.
provided requirements.txt file. ComfyUI-fal repository includes all the necessary custom extensions including this one.
git clone --recursive https://github.com/badayvedat/ComfyUI-fal.git
cd ComfyUI-fal
pip install -r requirements.txt
fal API key from fal dashboardfal-config.ini file in the ComfyUI-fal/custom_nodes/ComfyUI-fal-Connector directory:“`ini
[fal]
application_name = fal-ai/comfy-server/stream
api_key = your-fal-api-key
[huggingface]
token = your-huggingface-token # Optional
“`
[!WARNING]
The
fal-config.inifile is not in the root directory of theComfyUI-fal
repository, but in the
ComfyUI-fal/custom_nodes/ComfyUI-fal-Connectordirectory.
main.py file to start the Comfy server andinitiate the connector.
When ready, execute the workflows directly on fal using the connector.
After you set up a workflow, and made sure it is working properly. You can generate a
“fal format” using Save as fal format button. Then you can post the generated JSON
to https://fal.run/fal-ai/comfy-server to execute it and obtain the results.