ComfyUI Node
FLUX Identity Adjuster
A ComfyUI node in Advanced/Model Bending with 17 inputs and 1 output.
FLUX Identity Adjuster
- model
- subject_mask
- MODEL
◄layout_blocks3-7►
◄identity_blocks8-19►
◄saliency_scan_blocks6-23►
◄photorealistic_smoothingtrue►
◄total_sampling_steps4►
◄boost_fade_curveEase-In►
◄identity_strength1.50►
◄background_text_strength0.60►
◄dynamic_text_balancingtrue►
◄target_likeness_metric0.35►
◄soft_blend_k1►
◄face_isolation_strictness1.00►
◄confidence_gate0.15►
◄hard_anchor_margin0.06►
◄contrast_and_texture_floor0.18►
CategoryAdvanced/Model Bending
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| layout_blocks | STRING | 3-7 | Double Blocks. Establishes global layout and integrates the subject into the background safely. Anchors run at 25% strength to prevent Janus artifacts. |
| identity_blocks | STRING | 8-19 | Single Blocks. Synthesizes high-frequency identity, facial micro-geometry, and photorealism. Hard snapping runs at 100% strength here. |
| saliency_scan_blocks | STRING | 6-23 | The specific blocks where the script analyzes the canvas to dynamically isolate the face from the background during Step 1. |
| photorealistic_smoothing | BOOLEAN | true | ON = Mathematically deletes static/noise for photorealistic skin. OFF = Transfers raw reference textures like brushstrokes or film grain. |
| total_sampling_steps | INT | 41–100 | MUST match your KSampler steps! Syncs the internal curve to ensure style and geometry inject at the correct anatomical phases. |
| boost_fade_curve | COMBO | Ease-In | Controls how the identity injection fades out over time. Ease-In is highly recommended for preserving late-stage text styling. |
| identity_strength | FLOAT | 1.500–3 | Primary multiplier for facial likeness. Higher values force a stronger resemblance but may stiffen the pose. |
| background_text_strength | FLOAT | 0.600–10 | Amplifies the text prompt to construct the background. Automatically muted during delicate anatomy phases (Step 2). |
| dynamic_text_balancing | BOOLEAN | true | ON = Automatically throttles text strength when the face is struggling to form, preventing the prompt from crushing the identity. |
| target_likeness_metric | FLOAT | 0.35-1–1 | The raw cosine goal. 0.35 is mathematically ideal for Flux. Pushing higher forces aggressive pulling; lower allows more stylistic freedom. |
| soft_blend_k | INT | 11–10 | Averages the top K matches for smooth skin and soft regions. Committed anchors ignore this and snap exactly to K=1 for sharp eyes/lips. |
| face_isolation_strictness | FLOAT | 1.000.01–1 | Top % of tokens to lock as the 'Face'. 1.0 pulls the full body/background. Lower values (e.g., 0.35) isolate just the face for hybrids. |
| confidence_gate | FLOAT | 0.150–1 | Minimum confidence required to soft-pull a token. Higher values prevent artifacts but might freeze rendering. 0.0 disables the gate. |
| hard_anchor_margin | FLOAT | 0.060–0.2 | The margin difference required to permanently lock a token (like a pupil). Lower means anchors lock faster; higher requires absolute certainty. |
| contrast_and_texture_floor | FLOAT | 0.18-1–1 | Base similarity cutoff. Increasing this boosts visual contrast and removes noise, but pushing too high creates waxy, over-smoothed skin. |
| subject_maskopt | MASK | Optional. Restricts the Saliency Radar to only consider tokens inside this drawn area. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |