Nodes/Flux_ID_Adjuster/FLUX Identity Adjuster
ComfyUI Node

FLUX Identity Adjuster

A ComfyUI node in Advanced/Model Bending with 17 inputs and 1 output.

By Magirad·Created 3 months ago·Updated 3 months ago· 59
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)

NameTypeDefaultDescription
modelMODEL
layout_blocksSTRING3-7Double Blocks. Establishes global layout and integrates the subject into the background safely. Anchors run at 25% strength to prevent Janus artifacts.
identity_blocksSTRING8-19Single Blocks. Synthesizes high-frequency identity, facial micro-geometry, and photorealism. Hard snapping runs at 100% strength here.
saliency_scan_blocksSTRING6-23The specific blocks where the script analyzes the canvas to dynamically isolate the face from the background during Step 1.
photorealistic_smoothingBOOLEANtrueON = Mathematically deletes static/noise for photorealistic skin. OFF = Transfers raw reference textures like brushstrokes or film grain.
total_sampling_stepsINT41–100MUST match your KSampler steps! Syncs the internal curve to ensure style and geometry inject at the correct anatomical phases.
boost_fade_curveCOMBOEase-InControls how the identity injection fades out over time. Ease-In is highly recommended for preserving late-stage text styling.
identity_strengthFLOAT1.500–3Primary multiplier for facial likeness. Higher values force a stronger resemblance but may stiffen the pose.
background_text_strengthFLOAT0.600–10Amplifies the text prompt to construct the background. Automatically muted during delicate anatomy phases (Step 2).
dynamic_text_balancingBOOLEANtrueON = Automatically throttles text strength when the face is struggling to form, preventing the prompt from crushing the identity.
target_likeness_metricFLOAT0.35-1–1The raw cosine goal. 0.35 is mathematically ideal for Flux. Pushing higher forces aggressive pulling; lower allows more stylistic freedom.
soft_blend_kINT11–10Averages 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_strictnessFLOAT1.000.01–1Top % 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_gateFLOAT0.150–1Minimum confidence required to soft-pull a token. Higher values prevent artifacts but might freeze rendering. 0.0 disables the gate.
hard_anchor_marginFLOAT0.060–0.2The margin difference required to permanently lock a token (like a pupil). Lower means anchors lock faster; higher requires absolute certainty.
contrast_and_texture_floorFLOAT0.18-1–1Base similarity cutoff. Increasing this boosts visual contrast and removes noise, but pushing too high creates waxy, over-smoothed skin.
subject_maskoptMASKOptional. Restricts the Saliency Radar to only consider tokens inside this drawn area.

Outputs (1)

NameTypeDescription
MODELMODEL