Nodes Browser

ComfyDeploy: How ComfyUI-CatvtonFluxWrapper works in ComfyUI?

What is ComfyUI-CatvtonFluxWrapper?

ComfyUI-CatvtonFluxWrapper provides ComfyUI nodes for diffusers implementation of Catvton-Flux.

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-CatvtonFluxWrapper and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI-CatvtonFluxWrapper

ComfyUI wrapper of catvton-flux

workflow usage

The workflows can be found in the examples folder.

If you'd like more flexibility like using fp8 flux fill model, use CatvtonLoRA-SAM2.json or CatvtonLoRA-Draw.json. You can download the LoRA here.

If you'd like to automatically download all models with diffusers, use CatvtonFluxWrapper-SAM2.json or CatvtonFluxWrapper-draw.json, but You may have to set up a huggingface token BEFORE you start ComfyUI.

  • Go to https://huggingface.co/black-forest-labs/FLUX.1-Fill-dev
  • Accept FLUX policy
  • Get a huggingface token for your account in settings->Access Tokens
  • Set environment variable set HF_TOKEN=PUT-YOUR-TOKEN-HERE and set HUGGING_FACE_HUB_TOKEN=PUT-YOUR-TOKEN-HERE, thanks to raymondgp.

Then you are safe to start ComfyUI; search ComfyUI-CatvtonFluxWrapper in the ComfyUI manager and install it; if you cannot find it, update the ComfyUI-manager node, then search again.

workflow preview

SAM2 segment

Manually segment