⚙️ Flux/Sdxl Settings Pipe
One node to set resolution, sampler, steps, CFG and seed — then pass it all down one wire
- model
- conditioning
- pipe
- LATENT
- width
- height
- sampler
- sigmas
- noise
- seed
- cfg
- conditioning
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/heightoutputs 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.
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| resolution_flux | COMBO | 1536x1536 (1.0) | 26 options: 1056x2112 (0.5), 1056x2016 (0.52), 1152x2016 (0.57), 1152x1920 (0.6), 1248x1824 (0.68), 1248x1728 (0.72), +20 |
| mode_resolution | BOOLEAN | true | — |
| resolution_sdxl | COMBO | 1024x1024 (1.0) | 26 options: 704x1408 (0.5), 704x1344 (0.52), 768x1344 (0.57), 768x1280 (0.6), 832x1216 (0.68), 832x1152 (0.72), +20 |
| flip_orientation | BOOLEAN | false | — |
| batch_size | INT | 11–4096 | — |
| width_override | INT | 00–16384 | — |
| height_override | INT | 00–16384 | — |
| sampler_name | COMBO | 44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38 | |
| scheduler | COMBO | 9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3 | |
| steps | INT | 201–10000 | — |
| denoise | FLOAT | 1.000–1 | — |
| apply_guidance_cfg | BOOLEAN | true | — |
| guidance | FLOAT | 3.50–100 | — |
| cfg | FLOAT | 4.50–30 | — |
| noise_seed | INT | 00–18446744073709550000 | — |
| modelopt | MODEL | — | |
| conditioningopt | CONDITIONING | — |
Outputs (10)
| Name | Type | Description |
|---|---|---|
| pipe | FLUX_PIPE | — |
| LATENT | LATENT | — |
| width | INT | — |
| height | INT | — |
| sampler | SAMPLER | — |
| sigmas | SIGMAS | — |
| noise | NOISE | — |
| seed | INT | — |
| cfg | FLOAT | — |
| conditioning | CONDITIONING | — |