把给定潜空间的 samples 张量沿时间轴复制 ((length - 1) // 4) + 1 次形成更长潜空间(为何用该特定复制次数见 EmptyHunyuanLatentVideo 实现),再准备同形状 noise_mask 张量:给定时间步的蒙版值由 desmos 计算器函数给出。
https://github.com/philiprodriguez/ComfyUI-HunyuanImageLatentToVideoLatent
git clone https://github.com/philiprodriguez/ComfyUI-HunyuanImageLatentToVideoLatent
comfy node install ComfyUI-HunyuanImageLatentToVideoLatent