FramePackSampler
节点功能:用于视频生成的采样模块。它的主要作用是在条件控制(prompt embedding、image embedding、起始 latent 等)下生成一段时间长度的视频 latent 表示,供后续解码为视频帧。
节点中英文对比
FramePackSampler
steps
use_teacache
teacache_rel_l1_thresh
cfg
guidance_scale
shift
seed
latent_window_size
total_second_length
gpu_memory_preservation
sampler
embed_interpolation
start_embed_strength
denoise_strength
FramePackSampler
steps
use_teacache
teacache_rel_l1_thresh
cfg
guidance_scale
shift
seed
latent_window_size
total_second_length
gpu_memory_preservation
sampler
embed_interpolation
start_embed_strength
denoise_strength
FramePackSampler - 参数说明
输入参数
model
加载好的 FramePackTransformer 模型对象。
positive
正向提示词的嵌入(如文本或图像引导)。
negative
反向提示词的嵌入,用于去除不希望出现的内容。
image_embeds
起始图像的视觉引导嵌入。
start_latent
初始 latent 编码,通常来自图像或起始帧。
end_latent
终止图像 latent,用于渐变过渡。
end_image_embeds
终止图像嵌入。
initial_samples
初始 latent 输入(视频 to 视频)。可用于视频重建或风格迁移。
输出参数
samples
最终生成的视频 latent 编码序列。
控件参数
steps
采样步数,越高细节越多,推理时间越长。
use_teacache
是否启用 TeaCache 加速机制。
teacache_rel_l1_thresh
TeaCache 相对 L1 阈值。控制跳帧保留策略,默认 0.15,一般无需修改。
cfg
提示词引导系数。
guidance_scale
图文双引导强度(如 StableDiffusion 中 CFG)。
shift
动作偏移控制参数。控制镜头移动或视频动态感,常设为 0。
seed
随机种子,用于复现生成结果。相同配置下种子一致将生成相同视频。
latent_window_size
每段时间窗口的 latent 数量。
total_second_length
视频总时长(秒)。
gpu_memory_preservation
GPU 显存保留容量(GB)。控制 Transformer 模型加载时预留显存,防 OOM。建议值:4~8。
sampler
采样算法类型。unipc_bh1 速度快且平衡;unipc_bh2 收敛更稳定,适用于长视频。
embed_interpolation
图像嵌入插值方式。
disabled 关闭插值;
linear 分段线性过渡;
weighted_average 基于权重混合。
start_embed_strength
起始图像嵌入强度。仅当启用插值时生效。默认 1.0 表示全图像控制。
denoise_strength
去噪强度,影响 v2v 模式稳定性。值越小越保留原始风格,默认 1.0。
暂无节点说明