ComfyUI-fal-Connector

ComfyUI-fal-Connector
★ 53

远程执行云端算力fal.ai 集成ComfyUI 扩展
把 ComfyUI 与 fal.ai 集成,允许在 fal.ai 上远程运行 ComfyUI 工作流,借助云端算力加速与扩展资源调用。
💡 将耗时或资源密集的 ComfyUI 工作流移至 fal.ai 云端运行。
🍴 11 Forks💻 Python🔄 2026-02-23
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/79aaff81621b
📦 requirements.txt
fal-client>=0.3.0
httpx
httpx-sse
fal
📄 README

ComfyUI-fal-Connector

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.

Usage

Installation:

  • Cloning the required repositories: Clone the ComfyUI-fal and install the required dependencies using the
  • 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

  • Set up credentials:
  • Generate a fal API key from fal dashboard
  • (Optional) Get your Hugging Face token from Hugging Face settings
  • Add these credentials to the fal-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.ini file is not in the root directory of the ComfyUI-fal

    repository, but in the ComfyUI-fal/custom_nodes/ComfyUI-fal-Connector directory.

  • Start the Comfy Server: Run the main.py file to start the Comfy server and
  • initiate the connector.

  • Execute Workflows: Use ComfyUI to create and configure your AI workflows.
  • When ready, execute the workflows directly on fal using the connector.

    How to use it outside of ComfyUI?

    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.