mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-04 15:47:09 +08:00
[Kling] Add Duration and Video ID outputs (#105)
This commit is contained in:
parent
38e02619b7
commit
80da0267ef
@ -550,6 +550,9 @@ class KlingCameraControlT2VNode(KlingTextToVideoNode):
|
|||||||
def INPUT_TYPES(s):
|
def INPUT_TYPES(s):
|
||||||
return {
|
return {
|
||||||
"required": {
|
"required": {
|
||||||
|
"start_frame": model_field_to_node_input(
|
||||||
|
IO.IMAGE, KlingImage2VideoRequest, "image"
|
||||||
|
),
|
||||||
"prompt": model_field_to_node_input(
|
"prompt": model_field_to_node_input(
|
||||||
IO.STRING, KlingText2VideoRequest, "prompt", multiline=True
|
IO.STRING, KlingText2VideoRequest, "prompt", multiline=True
|
||||||
),
|
),
|
||||||
@ -783,9 +786,6 @@ class KlingCameraControlI2VNode(KlingImage2VideoNode):
|
|||||||
enum_type=ModelName,
|
enum_type=ModelName,
|
||||||
default="kling-v2-master",
|
default="kling-v2-master",
|
||||||
),
|
),
|
||||||
"start_frame": model_field_to_node_input(
|
|
||||||
IO.IMAGE, KlingImage2VideoRequest, "image"
|
|
||||||
),
|
|
||||||
"cfg_scale": model_field_to_node_input(
|
"cfg_scale": model_field_to_node_input(
|
||||||
IO.FLOAT,
|
IO.FLOAT,
|
||||||
KlingImage2VideoRequest,
|
KlingImage2VideoRequest,
|
||||||
@ -822,7 +822,6 @@ class KlingCameraControlI2VNode(KlingImage2VideoNode):
|
|||||||
prompt: str,
|
prompt: str,
|
||||||
negative_prompt: str,
|
negative_prompt: str,
|
||||||
model_name: str,
|
model_name: str,
|
||||||
start_frame: torch.Tensor,
|
|
||||||
cfg_scale: float,
|
cfg_scale: float,
|
||||||
aspect_ratio: str,
|
aspect_ratio: str,
|
||||||
camera_control: KlingCameraControl,
|
camera_control: KlingCameraControl,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user