Nodes Browser

ComfyDeploy: How ComfyUI-Flux-Replicate-API works in ComfyUI?

What is ComfyUI-Flux-Replicate-API?

Flux Pro via Replicate API Create API key at [a/https://replicate.com/account/api-tokens](https://replicate.com/account/api-tokens) Copy config.ini.example to config.ini and put the replicate key there.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI-Flux-Replicate-API and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI-Flux-Replicate-API

Flux Pro via Replicate API

Node

workflow-1.png

Installation

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.