ComfyUI-Flux-Replicate-API

ComfyUI-Flux-Replicate-API
★ 23

外部服务集成模型托管ReplicateFlux Pro
在 ComfyUI 中通过 Replicate API 调用 Flux Pro,实现远端模型推理,便于配置 API Key 与安装依赖。
💡 在 ComfyUI 使用 Replicate 的 Flux Pro 模型进行远程推理。
🍴 8 Forks💻 Python🔄 2024-12-26
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/a1f1f564f19c
📦 requirements.txt
torch
replicate==1.0.4
workflow-1.1.png
📄 README

ComfyUI-Flux-Replicate-API

Flux Pro via Replicate API

  • Create API key at https://replicate.com/account/api-tokens
  • Copy config.ini.example to config.ini and put the replicate key there.
  • Node

    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.

    Version History

  • 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