From 80da0267ef707f09567bbdfe4909e4aff983ecba Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Fri, 2 May 2025 14:23:58 -0700 Subject: [PATCH] [Kling] Add `Duration` and `Video ID` outputs (#105) --- comfy_api_nodes/nodes_kling.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/comfy_api_nodes/nodes_kling.py b/comfy_api_nodes/nodes_kling.py index 4c23aec97..d25c4f99f 100644 --- a/comfy_api_nodes/nodes_kling.py +++ b/comfy_api_nodes/nodes_kling.py @@ -550,6 +550,9 @@ class KlingCameraControlT2VNode(KlingTextToVideoNode): def INPUT_TYPES(s): return { "required": { + "start_frame": model_field_to_node_input( + IO.IMAGE, KlingImage2VideoRequest, "image" + ), "prompt": model_field_to_node_input( IO.STRING, KlingText2VideoRequest, "prompt", multiline=True ), @@ -783,9 +786,6 @@ class KlingCameraControlI2VNode(KlingImage2VideoNode): enum_type=ModelName, default="kling-v2-master", ), - "start_frame": model_field_to_node_input( - IO.IMAGE, KlingImage2VideoRequest, "image" - ), "cfg_scale": model_field_to_node_input( IO.FLOAT, KlingImage2VideoRequest, @@ -822,7 +822,6 @@ class KlingCameraControlI2VNode(KlingImage2VideoNode): prompt: str, negative_prompt: str, model_name: str, - start_frame: torch.Tensor, cfg_scale: float, aspect_ratio: str, camera_control: KlingCameraControl,