Nodes/comfyui-fams/KSampler (Complex)
ComfyUI Node

KSampler (Complex)

A ComfyUI node in Fams/Samplers with 37 inputs and 3 outputs.

By famellad·Created 2 months ago·Updated 4 days ago· 0
KSampler (Complex)
  • latent_image
  • structure_model
  • structure_positive
  • structure_negative
  • style_model
  • style_positive
  • style_negative
  • specifics_model
  • specifics_positive
  • specifics_negative
  • FINAL_LATENT
  • STYLIZED_LATENT
  • STRUCTURAL_LATENT
structure_noise_seed0
structure_steps7
structure_cfg7.00
structure_sampler_name
structure_scheduler
style_noise_seed0
style_steps7
style_cfg7.00
style_sampler_name
style_scheduler
specifics_noise_seed0
specifics_steps7
specifics_cfg7.00
specifics_sampler_name
specifics_scheduler
share_seedfalse
share_cfgfalse
share_sampler_namefalse
share_schedulerfalse
generation_strategy
pass_overlap0
preview_structurefalse
low_res_hackfalse
lrh_factor0.70
hi_res_fixfalse
hrf_factor1.5
hrf_method
CategoryFams/Samplers

Inputs (37)

NameTypeDefaultDescription
latent_imageLATENT
structure_modelMODEL
structure_noise_seedINT00–18446744073709550000
structure_stepsINT71–10000
structure_cfgFLOAT7.000–100
structure_sampler_nameCOMBO44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
structure_schedulerCOMBO9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3
structure_positiveCONDITIONING
structure_negativeCONDITIONING
style_noise_seedINT00–18446744073709550000
style_stepsINT70–10000
style_cfgFLOAT7.000–100
style_sampler_nameCOMBO44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
style_schedulerCOMBO9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3
specifics_noise_seedINT00–18446744073709550000
specifics_stepsINT70–10000
specifics_cfgFLOAT7.000–100
specifics_sampler_nameCOMBO44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
specifics_schedulerCOMBO9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3
share_seedBOOLEANfalseOnly use the seed defined in the Structure section.
share_cfgBOOLEANfalseOnly use the CFG value defined in the Structure section.
share_sampler_nameBOOLEANfalseOnly use the sampler defined in the Structure section.
share_schedulerBOOLEANfalseOnly use the scheduler defined in the Structure section.
generation_strategyCOMBO3 options: total_pass, cumulative_pass, individual_pass
pass_overlapINT00–5
preview_structureBOOLEANfalseOnly generate the structure pass, to get a preview of the composition and a sense of the colors.
low_res_hackBOOLEANfalseSome models produce better compositions with smaller latents, this shrinks the latent for the first pass to lock that smaller composition in, and then restores the original size for the rest of the generation.
lrh_factorFLOAT0.700.05–0.95
hi_res_fixBOOLEANfalseIncrease the size of the latent mid-generation to ultimate generate a larger image with more detail.
hrf_factorFLOAT1.51–8Higher values tend to overcook the image, pick more conservative sampler/scheduler pairs or lower the guidance for the latter passes.
hrf_methodCOMBOdouble: The latent is upscaled two times, once before the style pass and again before the specifics pass to reach the desired factor. single_early: The latent is upscaled only once, right before the style pass. single_late: The latent is upscaled only once, right before the specifics pass.
style_modeloptMODEL
style_positiveoptCONDITIONING
style_negativeoptCONDITIONING
specifics_modeloptMODEL
specifics_positiveoptCONDITIONING
specifics_negativeoptCONDITIONING

Outputs (3)

NameTypeDescription
FINAL_LATENTLATENT
STYLIZED_LATENTLATENT
STRUCTURAL_LATENTLATENT