For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /chapters/02-sampling.md.

02 采样与引导

采样是整条链唯一真正「画图」的环节:模型在每个时间步预测噪声并减去它,几十步之后噪声变成画面。这一章分三层:KSampler 这类一体化采样器、KSamplerAdvanced / SamplerCustom 这类可分段流程,以及采样器对象、调度器、引导器、噪声源这些「零件」——后者只有搭自定义流程时才需要。

关联工作流

两段式采样放大(Hires Fix)

两段式采样放大(Hires Fix)

先用 KSamplerAdvanced 跑前半段并保留残余噪声,LatentUpscale 放大后接着跑后半段,最后一次性解码。相比「出图后再放大」,这种方式细节是模型重新画的。

本章节点分布

分类中文名节点数
model/sampling/samplers采样 · 采样器对象16
model/sampling/schedulers采样 · 调度器14
model/sampling/guiders采样 · 引导器8
model/sampling/sigmas采样 · 噪声调度表7
model/sampling/custom采样 · 自定义流程3
model/sampling/noise采样 · 噪声源3
model/sampling采样2

节点清单

采样 · 采样器对象

model/sampling/samplers · 16 个

节点角色参数输出
K采样器选择 ★
KSamplerSelect
采样器对象1SAMPLER
采样器 AR 视频
SamplerARVideo
采样器对象1SAMPLER
DPMAdaptative采样器 ★
SamplerDPMAdaptative
采样器对象10SAMPLER
DPMPP_2M_SDE采样器 ★
SamplerDPMPP_2M_SDE
采样器对象4SAMPLER
DPMPP_2S_Ancestral采样器
SamplerDPMPP_2S_Ancestral
采样器对象2SAMPLER
DPMPP_3M_SDE采样器 ★
SamplerDPMPP_3M_SDE
采样器对象3SAMPLER
DPMPP_SDE采样器
SamplerDPMPP_SDE
采样器对象4SAMPLER
ER_SDE采样器
SamplerER_SDE
采样器对象4SAMPLER
EulerAncestral采样器 ★
SamplerEulerAncestral
采样器对象2SAMPLER
EulerAncestralCFG++采样器
SamplerEulerAncestralCFGPP
采样器对象2SAMPLER
SamplerLCM ★
SamplerLCM
采样器对象3SAMPLER
LCM缩放采样器
SamplerLCMUpscale
采样器对象3SAMPLER
LMS采样器
SamplerLMS
采样器对象1SAMPLER
SASolver采样器
SamplerSASolver
采样器对象9SAMPLER
SEEDS2采样器
SamplerSEEDS2
采样器对象4SAMPLER
VOIDSampler
VOIDSampler
采样器对象0SAMPLER

采样 · 调度器

model/sampling/schedulers · 14 个

节点角色参数输出
AlignYourSteps调度器
AlignYourStepsScheduler
噪声调度表3SIGMAS
基本调度器 ★
BasicScheduler
噪声调度表4SIGMAS
Beta采样调度器
BetaSamplingScheduler
噪声调度表4SIGMAS
Exponential调度器
ExponentialScheduler
噪声调度表3SIGMAS
Flux2调度器
Flux2Scheduler
噪声调度表3SIGMAS
GITS调度器
GITSScheduler
噪声调度表3SIGMAS
Ideogram 4 调度器
Ideogram4Scheduler
噪声调度表5SIGMAS
Karras调度器 ★
KarrasScheduler
噪声调度表4SIGMAS
Laplace调度器
LaplaceScheduler
噪声调度表5SIGMAS
LTXV调度器
LTXVScheduler
噪声调度表6SIGMAS
OptimalSteps调度器
OptimalStepsScheduler
噪声调度表3SIGMAS
Polyexponential调度器
PolyexponentialScheduler
噪声调度表4SIGMAS
SDTurbo调度器
SDTurboScheduler
噪声调度表3SIGMAS
VPS调度器
VPScheduler
噪声调度表4SIGMAS

采样 · 引导器

model/sampling/guiders · 8 个

节点角色参数输出
基本引导器 ★
BasicGuider
引导器2GUIDER
CFG引导器 ★
CFGGuider
引导器4GUIDER
CFG 覆盖
CFGOverride
模型补丁4MODEL
双CFG引导器 ★
DualCFGGuider
引导器7GUIDER
双模型 CFG 指导器
DualModelGuider
引导器5GUIDER
LTXV 双CFG引导器
LTXVDualCFGGuider
引导器5GUIDER
视频线性CFG引导
VideoLinearCFGGuidance
模型补丁2MODEL
视频三角形CFG引导
VideoTriangleCFGGuidance
模型补丁2MODEL

采样 · 噪声调度表

model/sampling/sigmas · 7 个

节点角色参数输出
插值扩展Sigmas
ExtendIntermediateSigmas
噪声调度表5SIGMAS
翻转Sigma ★
FlipSigmas
噪声调度表1SIGMAS
自定义Sigmas ★
ManualSigmas
噪声调度表1SIGMAS
采样比到Sigma
SamplingPercentToSigma
数值读取3FLOAT
设置第一个Sigma ★
SetFirstSigma
噪声调度表2SIGMAS
分离Sigma ★
SplitSigmas
噪声调度表2SIGMAS / SIGMAS
分离Sigma降噪 ★
SplitSigmasDenoise
噪声调度表2SIGMAS / SIGMAS

采样 · 自定义流程

model/sampling/custom · 3 个

节点角色参数输出
自适应投影引导
APG
模型补丁4MODEL
自定义采样器 ★
SamplerCustom
采样器9LATENT / LATENT
自定义采样器(高级) ★
SamplerCustomAdvanced
采样器5LATENT / LATENT

采样 · 噪声源

model/sampling/noise · 3 个

节点角色参数输出
添加噪波 ★
AddNoise
采样器4LATENT
禁用噪波 ★
DisableNoise
噪声源0NOISE
随机噪波 ★
RandomNoise
噪声源1NOISE

采样

model/sampling · 2 个

节点角色参数输出
K采样器 ★
KSampler
采样器10LATENT
K采样器(高级) ★
KSamplerAdvanced
采样器13LATENT