ComfyUI nodes for Black Forest Labs API Services
This setup allows you to integrate and access BFL's API directly from within your ComfyUI workflow.
bfl_api.py
to Your ComfyUI EnvironmentComfyUI/custom_nodes
directory.To authenticate your requests, you need to provide your BFL API key from the Black Forest Labs API.
There are two ways to provide your key to ComfyUI:
export BFL_API_KEY=<your_api_key_here>
bfl_api_key.txt
.bfl_api_key.txt
file is placed in the same directory as bfl_api.py
.Once ComfyUI has restarted, you can now insert a FLUX API Node such as FLUX 1.1 [pro] into your workflow.
To get started quickly, drag and drop the following node image into your workflow:
bfl_api_key.txt
file.bfl_api.py
is placed somewhere in ComfyUI/custom_nodes
and restart ComfyUI.For more information about the Black Forest Labs API, visit the Black Forest Labs API.