Hello there and thanks for checking out this workflow!
What's new in v27? : Major rework with new SubGraphs to streamline and compact the workflow even more, removal of outdated/broken nodes + fixes and optimizations all over!
—Purpose—
Built to provide an advanced, versatile and modular workflow for Flux with focus on efficiency, structure and information.
It comes with many notes explaining node settings and recommendations, as well as general guides from instructions to troubleshooting.
—Features—
Convenient loaders for all common versions of Flux and Clip models
Full metadata; recognized by CivitAI
LoRA support
SageAttention, EasyCache + Model Compile acceleration
ControlNet with Union support
Flux Tools LoRAs Canny + Depth (alt. to CNet based on LoRA)
Flux Redux (similar to IPAdapter)
PuLID (SVDQuant version only)
Wildcard prompting
Installation and download guide for models and nodes
multiple passes with optional upscales
— 1st : Detail Daemon + Variation Seed
— 2nd : DD. + Tiled Diffusion / UltimateSDUpscale
— ADetailer with dedicated LoRA Loader
— Inpainting
—Custom Nodes—
ComfyUI-nunchaku — SVDQuant version only
All of which can be installed through the ComfyUI-Manager
—Troubleshooting—
If nodes show up red (failing to load), check the 'Install Missing Custom Nodes' tab of the ComfyUI Manager for the missing node packs and install them.
Please check if all custom node packs load properly after installing, i.e. no
(IMPORT FAILED)messages next to any of them in the console upon ComfyUI startup.Always reload/drag'n'drop the original, downloaded workflow file into ComfyUI to reload an intact version of the workflow.
→ The last opened workflow that appears on startup shows a cached version of the workflow, "remembering" group nodes that failed due to missing nodes as failed, keeping them broken even after having everything installed correctly.
—Thanks—
The workflow would not be possible as is without these custom node packs. If you want to support the custom node creators, give them a ⭐ on their github repos! Thank you!
Feel free to ask questions, share improvements and suggestions in the comment section!
Let me know if you encounter confusing points I can elaborate on in the next update!
Description
v17
— fixed issue with ADetailer and Inpainting passes caused by introduction of LTXV-scheduler by the Impact-Pack
— reworked PuLID section and exchanged default PuLID for enhanced
— custom node pack changes :
+ : ComfyUI-PuLID-Flux-Enhanced
- : ComfyUI-PuLID-Flux
v17.1
— hotfix for changes in Flux Redux nodes
FAQ
Comments (15)
hello, I have a problem here I don't know why, I have the same problem everywhere, v15, v16, v17
Hey there, can you confirm all required node packs import properly? (i.e. no (IMPORT FAILED) next to any in the console)
This is what the NInjA Sampler group node looks like under the hood with custom node pack names enabled, so you can check specifically for those packs.
https://wormhole.app/BRqnL#u_EB_EsySTT4Pbp7Clvm7g
@redpinkretro The instructions are similar to creating a game 😂, for beginners it would be good to have a YouTube video for this workflow
https://wormhole.app/7Kpl4#C8JTG0ZJaxBTL2-hUGxB0w https://github.com/CREATOR'S_NAME/CUSTOM_NODE_PACK_NAME.git
I'm following the instructions but this link doesn't work.
@ak21 I assembled so much information to have it all as easily accessible as I can make it. The underlying difficulties of ComfyUI and custom node pack issues are outside the scope of my workflows and I still try to give as much tech-support as I can. Most of the notes are there for beginners in the first place. I wouldn't be able to cover anything more than that in a YT video, which would probably take upwards of 30 minutes just to go through all the things that are written out already. "Advanced" is in the workflow name for a reason. 😅
You just copy-pasted this?
https://github.com/CREATOR'S_NAME/CUSTOM_NODE_PACK_NAME.git
That is just a placeholder to show how those git links look like.
@redpinkretro :D yah i install all pach jus pulid not working for me
@ak21 Oh, just PuLID? Did you use the fix here already?
PuLID issues
1.) An issue is connected to using PuLID in conjunction with ControlNet with a fix posted here yet to be merged into the main branch pulidflux.py(fix)
→ Exception Message: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
You can just replace the pulidflux.py in "ComfyUI\custom_nodes\ComfyUI-PuLID-Flux-Enhanced"
and it also works when used together with regular ControlNet as well as Flux Redux. Only the FluxTools ControlNet is not getting along with it at the moment.
@redpinkretro same error (IMPORT FAILED): D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-PuLID-Flux-Enhanced
@ak21 Oh, I thought it was runnig and only PuLID not quite.
In case of (IMPORT FAILED) errors, something in the installation didn't work out. You should take a look on the github issues of ComfyUI-PuLID-Flux-Enhanced , but I can take a look at your startup log, when you https://wormhole.app/ it
@redpinkretro https://wormhole.app/mLB3Z#IGcGShIn89pHbNS7KxzqDA
@ak21 You have some kind of dll error I have never had myself. Maybe something is incompatible, or not didn't install right, but I can only guess. The github issues of the PuLID enhanced pack could maybe help with that.
Hi, thanks for this amazing workflow
I don't have missing nod, but I still have an error on the 1st pass, I use v17.1
Prompt executed in 0.39 seconds
got prompt
Failed to validate prompt for output 13:
* LatentClamp 12509:5:
- Value 30.0 bigger than max of 10.0: outside_multiplier
- Required input is missing: samples
- Value 13.0 bigger than max of 10.0: min
* InjectLatentNoise+ 12509:29:
- Value not in list: normalize: '0.7' not in ['false', 'true']
Output will be ignored
Failed to validate prompt for output 11052:19:
Output will be ignored
Failed to validate prompt for output 11668:30:
Output will be ignored
Failed to validate prompt for output 6308:
Output will be ignored
Failed to validate prompt for output 11668:29:
Output will be ignored
Failed to validate prompt for output 1565:
Output will be ignored
Failed to validate prompt for output 1563:
Output will be ignored
!!! Exception during processing!!! Name not found: HEX
Traceback (most recent call last):
File "D:\ComfyUI\execution.py", line 323, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^|
File "D:\ComfyUI\execution.py", line 198, in get_output_data
return_values = mapnode_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^'
File "D:\ComfyUI\execution.py", line 169, in mapnode_over_list
process_inputs(input_dict, i)
File "D:\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts\py\math_expression.py", line 241, in evaluate
r = eval_expr(node)
^^^^^^^^^^^^^^^
File "D:\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts\py\math_expression.py", line 204, in eval_expr
raise NameError(f"Name not found: {node.id}")
NameError: Name not found: HEX
I have a difference here. https://we.tl/t-ktpGu4ESm5
I found an error hereComfyUI\custom_nodes\ComfyUI-LatentClamp. __init_
Can you upload your init file here ? thanks
@Samsam77 Your error seems to come from this ComfyUI-LatentClamp , which is not part of this workflow nor any other of my workflows. I suggest disabling/uninstalling it and retrying with an unmodified download of the workflow.



















