Nodes/Light-x02 Nodes/⚙️ Flux/Sdxl Settings Pipe
ComfyUI Node

⚙️ Flux/Sdxl Settings Pipe

One node to set resolution, sampler, steps, CFG and seed — then pass it all down one wire

By Light-x02·Created 11 months ago·Updated 9 months ago· 11
⚙️ Flux/Sdxl Settings Pipe
  • model
  • conditioning
  • pipe
  • LATENT
  • width
  • height
  • sampler
  • sigmas
  • noise
  • seed
  • cfg
  • conditioning
resolution_flux1536x1536 (1.0)
mode_resolutiontrue
resolution_sdxl1024x1024 (1.0)
flip_orientationfalse
batch_size1
width_override0
height_override0
sampler_name
scheduler
steps20
denoise1.00
apply_guidance_cfgtrue
guidance3.5
cfg4.5
noise_seed0

Every Flux workflow ends up with the same ten widgets scattered across half a dozen nodes: resolution here, sampler there, steps in the KSampler, guidance buried in a conditioning node. The ⚙️ Flux/Sdxl Settings Pipe grabs all of it and puts it in one place, then hands it to the rest of your graph as a single FLUX_PIPE bundle. It's the flagship node of this pack - the one the author originally posted to r/comfyui back in September 2025 - and it earns its keep if you build a lot of Flux/SDXL workflows and want the settings in a fixed, reproducible spot.

What it builds

It computes everything a sampler needs and stuffs it into a pipe:

  • pipe (FLUX_PIPE) - the bundle, which the 📤 Settings Pipe Unpack node or the pack's Pipe nodes can carry further.
  • LATENT, width, height - a blank latent at your chosen resolution.
  • sampler (a real SAMPLER object), sigmas, noise, seed - the sampling half.
  • cfg (FLOAT) and conditioning - with guidance written into the conditioning via ComfyUI's conditioning_set_values.

Resolution is the headliner: two curated 26-entry lists (Flux and SDXL, each labeled with aspect ratio) plus a mode_resolution toggle, flip_orientation to swap W/H, and width_override/height_override for when you want something off-list. Then the standard knobs: sampler_name (ComfyUI's full official list), scheduler, steps, denoise. Guidance and CFG are separate fields with an apply_guidance_cfg switch that zeroes both when off.

Two optional inputs matter: connect model and the node will compute a real sigmas tensor from the model's actual sampling schedule; connect conditioning and it stamps your guidance value into it. Leave them unconnected and you get the pipe minus the model-aware bits - fine for a settings reference, useless for actually sampling.

The gotchas

  • The LATENT is 4-channel (SDXL-style). Flux and Z-Image run on a 16-channel VAE, so for those models this node's latent won't directly feed the sampler. In practice, treat it as a settings-and-size bundle for Flux and use its width/height outputs with an EmptySD3LatentImage.
  • Guidance vs CFG on Civitai. The author's own advice: Civitai's metadata parser only reads CFG, so set guidance and CFG to the same value if you want the number on your post to be truthful. This packs nicely with the pack's ImageMetadataSaver or edelvarden's extension.
  • Sigmas depend on the model. No model connected → empty sigmas, so don't skip that wire if you're sampling.

Presets and the little extras

There's a "Manage presets" button: save/load/rename/export the node's widget state as JSON files in the pack's presets/ folder (exposed via server routes under /extensions/flux-suite/presets). The section headers are clickable and colorable, with colors remembered in your browser's localStorage - cosmetic, but handy for color-coding settings sections across a busy graph.

Install

Light-x02 Nodes via ComfyUI Manager (search "ComfyUI-Lightx02-Nodes"), or:

cd ComfyUI/custom_nodes
git clone https://github.com/Light-x02/ComfyUI-Lightx02-Nodes

Restart ComfyUI. No models to download - everything is pure settings and tensor math.

Category💡Lightx02/utilities

Inputs (17)

NameTypeDefaultDescription
resolution_fluxCOMBO1536x1536 (1.0)26 options: 1056x2112 (0.5), 1056x2016 (0.52), 1152x2016 (0.57), 1152x1920 (0.6), 1248x1824 (0.68), 1248x1728 (0.72), +20
mode_resolutionBOOLEANtrue
resolution_sdxlCOMBO1024x1024 (1.0)26 options: 704x1408 (0.5), 704x1344 (0.52), 768x1344 (0.57), 768x1280 (0.6), 832x1216 (0.68), 832x1152 (0.72), +20
flip_orientationBOOLEANfalse
batch_sizeINT11–4096
width_overrideINT00–16384
height_overrideINT00–16384
sampler_nameCOMBO44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
schedulerCOMBO9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3
stepsINT201–10000
denoiseFLOAT1.000–1
apply_guidance_cfgBOOLEANtrue
guidanceFLOAT3.50–100
cfgFLOAT4.50–30
noise_seedINT00–18446744073709550000
modeloptMODEL
conditioningoptCONDITIONING

Outputs (10)

NameTypeDescription
pipeFLUX_PIPE
LATENTLATENT
widthINT
heightINT
samplerSAMPLER
sigmasSIGMAS
noiseNOISE
seedINT
cfgFLOAT
conditioningCONDITIONING