From d8fe0613c8d0065d8258d3407df3237c19fc6730 Mon Sep 17 00:00:00 2001 From: wallen0322 <496727593@qq.com> Date: Fri, 14 Nov 2025 22:02:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=A8=E4=B8=8D=E4=BD=BF?= =?UTF-8?q?=E7=94=A8lightx2v=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B=E5=A4=9A?= =?UTF-8?q?=E5=9B=BE=E5=8F=82=E8=80=83=E5=A4=B1=E6=95=88=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wan_4_frame_ultimate.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/wan_4_frame_ultimate.py b/wan_4_frame_ultimate.py index b508004..a5833e2 100644 --- a/wan_4_frame_ultimate.py +++ b/wan_4_frame_ultimate.py @@ -210,7 +210,11 @@ class WanFourFrameReferenceUltimate: "concat_mask": mask_low_reshaped }) - negative_out = negative + # 修复:negative也设置图像条件(使用high noise的条件) + negative_out = node_helpers.conditioning_set_values(negative, { + "concat_latent_image": concat_latent_image_high, + "concat_mask": mask_high_reshaped + }) clip_vision_output = self._merge_clip_vision_outputs( clip_vision_frame_1, clip_vision_frame_2, @@ -220,6 +224,9 @@ class WanFourFrameReferenceUltimate: if clip_vision_output is not None: positive_low_noise = node_helpers.conditioning_set_values(positive_low_noise, {"clip_vision_output": clip_vision_output}) + # 修复:negative也应用clip_vision_output + negative_out = node_helpers.conditioning_set_values(negative_out, + {"clip_vision_output": clip_vision_output}) return (positive_high_noise, positive_low_noise, negative_out, {"samples": latent})