ComfyUI Workflow: Flux Sampling and Enhancements
Runtime profile
Source description
ComfyUI Workflow: Flux Sampling and Enhancements
This ComfyUI workflow focuses on enhancing image generation using advanced techniques like Flux Sampling, Skimmed CFG, Split Sigmas Denoising, and Clip Attention Multiply. Additionally, it incorporates FaceDetailer for targeted refinement of specific body parts. Below is a concise description of each node and its role in the workflow:
Custom Nodes
AddLabel / https://github.com/kijai/ComfyUI-KJNodes
Anything Everywhere /
Sources
1 sourceSource excerpts
1 excerptSource context: 17 downloads · Type Workflows · Base model Flux.1 D
Bookmark (rgthree) / https://github.com/rgthree/rgthree-comfy
FaceDetailer / https://github.com/ltdrdata/ComfyUI-Impact-Pack
Fast Groups Bypasser (rgthree) / https://github.com/rgthree/rgthree-comfy
FluxSamplerParams+ / https://github.com/cubiq/ComfyUI_essentials
Image Comparer (rgthree) / https://github.com/rgthree/rgthree-comfy
Image Filter / https://github.com/chrisgoringe/cg-image-filter
InjectLatentNoise+ / https://github.com/cubiq/ComfyUI_essentials
JWInteger / https://github.com/jamesWalker55/comfyui-various
OverrideVAEDevice / https://github.com/city96/ComfyUI_ExtraModels
Power Lora Loader (rgthree) / https://github.com/rgthree/rgthree-comfy
ProjectFilePathNode / https://github.com/MushroomFleet/DJZ-Nodes
SAMLoader / https://github.com/ltdrdata/ComfyUI-Impact-Pack
SaveText|pysssss / https://github.com/pythongosssss/ComfyUI-Custom-Scripts
Searge_LLM_Node / https://github.com/SeargeDP/ComfyUI_Searge_LLM
Seed Everywhere / https://github.com/chrisgoringe/cg-use-everywhere
Simple String / https://github.com/chrisgoringe/cg-use-everywhere
Skimmed CFG / https://github.com/Extraltodeus/Skimmed_CFG
Switch any [Crystools] / https://github.com/crystian/ComfyUI-Crystools
Text to Conditioning / https://github.com/WASasquatch/was-node-suite-comfyui
UltimateSDUpscale / https://github.com/ssitu/ComfyUI_UltimateSDUpscale
UltralyticsDetectorProvider / https://github.com/ltdrdata/ComfyUI-Impact-Subpack
UnetLoaderGGUF / https://github.com/city96/ComfyUI-GGUF
easy boolean / https://github.com/yolain/ComfyUI-Easy-Use
easy showAnything / https://github.com/yolain/ComfyUI-Easy-Use
Model Sampling Flux provides control over the sampling process during image generation by using parameters like max_shift and base_shift :
max_shift : Controls the extent of variability in the latent space. Higher values produce more diverse outputs, while lower values create more stable results.
base_shift : Ensures a minimum level of exploration in the latent space, preventing overly deterministic outputs.
Practical Tips:
High max_shift with low base_shift encourages creative outputs.
Low max_shift with moderate base_shift delivers controlled, predictable results.
Skimmed CFG refines Classifier-Free Guidance by reducing conflicts between positive and negative prompts. This improves prompt adherence, sharpness, and avoids visual artifacts like burned-out details.
Key Features:
Replace Negative Values : Replaces conflicting negative values with positive ones for balanced results.
Linear Interpolation : Smooths transitions between positive and negative predictions.
Dual Scales : Separate controls for positive and negative guidance, allowing fine-tuned adjustments.
Timed Flip : Enhances quality and reduces artifacts by dynamically flipping guidance.
Recommendations:
Scales between 2-4 offer balanced results.
Higher scales (5-7) enhance vividness but may require cutting negative prompts early (~65%).
Split Sigmas Denoising divides sigma values into two parts, enabling precise control over denoising at different stages of the diffusion process.
How It Works:
Pre-split : Handles coarse, noise-heavy stages to establish structural elements.
Post-split : Refines details and reduces noise for polished results.
Benefits:
Enhances prompt adherence by controlling noise reduction.
Prevents over-processing for natural, balanced outputs.
Practical Tips:
Lower denoise factor: Prioritizes coarse noise removal.
Higher denoise factor: Focuses more on later-stage refinements.
Clip Attention Multiply scales the attention weights in the text prompt, allowing control over the influence of specific tokens.
Key Features:
Scaling Attention Weights:
1: Amplifies token importance.
=1: Leaves token influence unchanged.
Use Cases:
Refine prompt influence by amplifying or reducing token weights.
Balance visual elements in multi-element prompts (e.g., emphasizing a subject over the background).
Practical Tips:
Start with slight adjustments (e.g., 1.2 or 0.8).
Iterate to refine prompt adherence and visual composition.
This node enables targeted enhancement of facial and body parts like eyes, lips, or hands. It ensures these elements receive focused refinement, improving realism and visual appeal.
Workflow Summary
This ComfyUI workflow provides:
Creative Flexibility : Through Model Sampling Flux and Split Sigmas Denoise.
Improved Prompt Adherence : With Skimmed CFG and Clip Attention Multiply.
Targeted Refinement : Using FaceDetailer for high-detail areas.
By combining these nodes, users can achieve visually stunning, controlled, and highly customized outputs tailored to their artistic or practical needs.
Remaining hardware or download-size estimates are not available yet.
Requirements
Upscaler · 63.9 MB · PTH · Unknown
ae.safetensors
PossibleVAE · Unknown
Object Detector · Hugging Face
Object Detector · Hugging Face
Object Detector · 21.4 MB · Hugging Face · danaidesign/comfyui
Object Detector · Hugging Face
Object Detector · Hugging Face
clip_l.safetensors
PossibleText encoder · Unknown
Checkpoint · 11.8 GB · GGUF · fp16 · Unknown
Checkpoint · 22.2 GB · SAFETENSORS · fp32 · full · Unknown
Mistral-7B-Instruct-v0.3-Q8_0.gguf
Not resolvedCheckpoint · Unknown
sam_vit_b_01ec64.pth
File unverifiedSegmentation · Unknown
Text encoder · 9.12 GB · SAFETENSORS · Unknown