Skip to content

Commit

Permalink
PR #38 improved.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous committed Sep 2, 2024
1 parent 8a0e625 commit 8fc76f4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions flux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,18 @@ For Flux schnell you can get the checkpoint [here](https://huggingface.co/Comfy-
You can then load or drag the following image in ComfyUI to get the workflow:

![Example](flux_schnell_checkpoint_example.png)


### Flux Controlnets

XLab and InstantX + Shakker Labs have released Controlnets for Flux. You can find the InstantX Canny model file [here](https://huggingface.co/InstantX/FLUX.1-dev-Controlnet-Canny/blob/main/diffusion_pytorch_model.safetensors) (rename to instantx_flux_canny.safetensors for the example below), the Depth controlnet [here](https://huggingface.co/Shakker-Labs/FLUX.1-dev-ControlNet-Depth/blob/main/diffusion_pytorch_model.safetensors) and the Union Controlnet [here](https://huggingface.co/Shakker-Labs/FLUX.1-dev-ControlNet-Union-Pro/blob/main/diffusion_pytorch_model.safetensors).

The XLab controlnets can be found here [here](https://huggingface.co/XLabs-AI/flux-controlnet-collections).

Put these files under `ComfyUI/models/controlnet` directory.

Try an example Canny Controlnet workflow by dragging in this image into ComfyUI.

![Example](flux_controlnet_example.png)

If you need an example input image for the canny, use [this](girl_in_field.png). Put it under `ComfyUI/input`.
Binary file added flux/flux_controlnet_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added flux/girl_in_field.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8fc76f4

Please sign in to comment.