首页/ 节点库/ FramePackSampler
第三方插件 ComfyUI-FramePackWrapper

FramePackSampler

用于视频生成的采样模块。它的主要作用是在条件控制(prompt embedding、image embedding、起始 latent 等)下生成一段时间长度的视频 latent 表示,供后续解码为视频帧。

FramePackSampler 2026-01-30 收录 673 次浏览

节点中英文对比

ComfyUI 结构对照

按当前节点配置,分别展示中文与英文节点结构。面板按 ComfyUI 实际界面还原: 左侧圆点是输入,右侧圆点与该行最右的名称为输出,下方胶囊是控件参数; 控件两端的三角表示可切换的选项。

中文节点 23 项
FramePackSampler
模型 samples
正面条件
负面条件
image_embeds
start_latent
end_latent
end_image_embeds
initial_samples
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 —
英文节点 23 项
FramePackSampler
model samples
positive
negative
image_embeds
start_latent
end_latent
end_image_embeds
initial_samples
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 —
模型 条件 / 数值 Latent 其它类型 左圆点 = 输入,右圆点 = 输出 可切换选项 — 未设置默认值

面板用于对照参数位置与命名,不做交互;实际节点外观以 ComfyUI 内的主题为准。

参数说明

输入 8 · 输出 1 · 控件 14

依据当前节点关联的 NodesItems 数据,按输入、输出、控件三类分别列出名称与说明。

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

节点详解

原理 · 用法 · 常见问题
暂无节点说明

常见问题

按节点参数整理
FramePackSampler是做什么的?
用于视频生成的采样模块。它的主要作用是在条件控制(prompt embedding、image embedding、起始 latent 等)下生成一段时间长度的视频 latent 表示,供后续解码为视频帧。
FramePackSampler有哪些输入参数?
共 8 个输入,包括 模型(model)、正面条件(positive)、负面条件(negative)、image_embeds(image_embeds)、start_latent(start_latent)、end_latent(end_latent)。
FramePackSampler的输出是什么?
共 1 个输出:samples(samples)。
FramePackSampler有哪些可调参数?
共 14 个控件参数,包括 steps(steps)、use_teacache(use_teacache)、teacache_rel_l1_thresh(teacache_rel_l1_thresh)、cfg(cfg)、guidance_scale(guidance_scale)、shift(shift)。
FramePackSampler属于哪个节点包?
属于「ComfyUI-FramePackWrapper」,节点分类为「第三方插件」。

同类节点

ComfyUI-FramePackWrapper