The ComfyUI-fal Connector is a tool that facilitates integration between ComfyUI and fal, allowing users to run their ComfyUI workflows directly on fal.ai. This extension enables users to take advantage of the computational resources and power offered by fal.ai for their workflows.
Usage Instructions
Installation:
- Clone the required repositories: Clone the ComfyUI-fal repository and install the necessary dependencies using the
requirements.txt
file. This repository includes all required custom extensions, including the ComfyUI-fal Connector.
git clone --recursive https://github.com/badayvedat/ComfyUI-fal.git
cd ComfyUI-fal
pip install -r requirements.txt
- Set up a fal API key: Generate an API key from the fal dashboard and add it to the
fal-config.ini
file, located in theComfyUI-fal/custom_nodes/ComfyUI-fal-Connector
directory.
[!WARNING] The
fal-config.ini
file is not located in the root directory, but within theComfyUI-fal/custom_nodes/ComfyUI-fal-Connector
directory.
- Start the Comfy server: Run the
main.py
file to launch the Comfy server and initiate the connector. - Execute Workflows: Use ComfyUI to design and configure your AI workflows. When ready, you can execute them directly on fal using the connector.
Running workflows outside of ComfyUI:
Once your workflow is set up and working, you can save it in “fal format” using the Save as fal format button. Then, submit the generated JSON file to https://fal.run/fal-ai/comfy-server
to run the workflow and retrieve the results.