Skip to content

Commit af91eb6

Browse files
authored
api-nodes: drop Kling v1 model (#11307)
1 parent 5cb1e0c commit af91eb6

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

comfy_api_nodes/nodes_kling.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,6 @@
105105

106106

107107
MODE_TEXT2VIDEO = {
108-
"standard mode / 5s duration / kling-v1": ("std", "5", "kling-v1"),
109-
"standard mode / 10s duration / kling-v1": ("std", "10", "kling-v1"),
110-
"pro mode / 5s duration / kling-v1": ("pro", "5", "kling-v1"),
111-
"pro mode / 10s duration / kling-v1": ("pro", "10", "kling-v1"),
112108
"standard mode / 5s duration / kling-v1-6": ("std", "5", "kling-v1-6"),
113109
"standard mode / 10s duration / kling-v1-6": ("std", "10", "kling-v1-6"),
114110
"pro mode / 5s duration / kling-v2-master": ("pro", "5", "kling-v2-master"),
@@ -129,8 +125,6 @@
129125

130126

131127
MODE_START_END_FRAME = {
132-
"standard mode / 5s duration / kling-v1": ("std", "5", "kling-v1"),
133-
"pro mode / 5s duration / kling-v1": ("pro", "5", "kling-v1"),
134128
"pro mode / 5s duration / kling-v1-5": ("pro", "5", "kling-v1-5"),
135129
"pro mode / 10s duration / kling-v1-5": ("pro", "10", "kling-v1-5"),
136130
"pro mode / 5s duration / kling-v1-6": ("pro", "5", "kling-v1-6"),
@@ -754,7 +748,7 @@ def define_schema(cls) -> IO.Schema:
754748
IO.Combo.Input(
755749
"mode",
756750
options=modes,
757-
default=modes[4],
751+
default=modes[8],
758752
tooltip="The configuration to use for the video generation following the format: mode / duration / model_name.",
759753
),
760754
],
@@ -1489,7 +1483,7 @@ def define_schema(cls) -> IO.Schema:
14891483
IO.Combo.Input(
14901484
"mode",
14911485
options=modes,
1492-
default=modes[8],
1486+
default=modes[6],
14931487
tooltip="The configuration to use for the video generation following the format: mode / duration / model_name.",
14941488
),
14951489
],
@@ -1952,7 +1946,7 @@ def define_schema(cls) -> IO.Schema:
19521946
IO.Combo.Input(
19531947
"model_name",
19541948
options=[i.value for i in KlingImageGenModelName],
1955-
default="kling-v1",
1949+
default="kling-v2",
19561950
),
19571951
IO.Combo.Input(
19581952
"aspect_ratio",

0 commit comments

Comments
 (0)