Flux Pro via Replicate API
- Create API key at https://replicate.com/account/api-tokens
- Copy
config.ini.example
toconfig.ini
and put the replicate key there.
Navigate to where you have installed ComfyUI. For example:
cd ~/dev/ComfyUI/
Go to the custom nodes folder:
cd custom_nodes
Clone this repo
git clone https://github.com/smlbiobot/ComfyUI-Flux-Replicate-API
Go inside the repo folder
cd ComfyUI-Flux-Replicate-API
Install the requirements
pip install -r requirements.txt
Copy the example config config.ini.example
to config.ini
, then edit the config.ini
with the actual Repliate API token.
cp config.ini.example config.ini
Start ComfyUI.
- 2024-10-22: Updated to Replicate Flex Pro 1.1. Please note that this version is not compatible with Replicate Flex Pro 1.0 because of changed parameter