1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Not really tested WAN Phantom Support. (#8321)

This commit is contained in:
comfyanonymous
2025-05-28 20:46:15 -07:00
committed by GitHub
parent 4eba3161cf
commit 5e5e46d40c
3 changed files with 52 additions and 1 deletions

View File

@@ -1057,6 +1057,11 @@ class WAN21(BaseModel):
clip_vision_output = kwargs.get("clip_vision_output", None)
if clip_vision_output is not None:
out['clip_fea'] = comfy.conds.CONDRegular(clip_vision_output.penultimate_hidden_states)
time_dim_concat = kwargs.get("time_dim_concat", None)
if time_dim_concat is not None:
out['time_dim_concat'] = comfy.conds.CONDRegular(self.process_latent_in(time_dim_concat))
return out