mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-06 06:57:05 +08:00
[Kling] Don't return video_id from dual effect video (#162)
This commit is contained in:
parent
5d3e055753
commit
5bb5cc7c5e
@ -1001,6 +1001,8 @@ class KlingDualCharacterVideoEffectNode(KlingVideoEffectsBase):
|
||||
}
|
||||
|
||||
DESCRIPTION = "Achieve different special effects when generating a video based on the effect_scene. First image will be positioned on left side, second on right side of the composite."
|
||||
RETURN_TYPES = ("VIDEO", "STRING")
|
||||
RETURN_NAMES = ("VIDEO", "duration")
|
||||
|
||||
def api_call(
|
||||
self,
|
||||
@ -1012,7 +1014,7 @@ class KlingDualCharacterVideoEffectNode(KlingVideoEffectsBase):
|
||||
duration: KlingVideoGenDuration,
|
||||
auth_token: Optional[str] = None,
|
||||
):
|
||||
return super().api_call(
|
||||
video, _, duration = super().api_call(
|
||||
dual_character=True,
|
||||
effect_scene=effect_scene,
|
||||
model_name=model_name,
|
||||
@ -1022,7 +1024,7 @@ class KlingDualCharacterVideoEffectNode(KlingVideoEffectsBase):
|
||||
image_2=image_right,
|
||||
auth_token=auth_token,
|
||||
)
|
||||
|
||||
return video, duration
|
||||
|
||||
class KlingSingleImageVideoEffectNode(KlingVideoEffectsBase):
|
||||
"""Kling Single Image Video Effect Node"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user