Skip to content

Commit bf0d69a

Browse files
bigcat88adlerfaulkner
authored andcommitted
fix(api-nodes): disable "std" mode for Kling2.5-turbo (comfyanonymous#10212)
1 parent 4f822a1 commit bf0d69a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

comfy_api_nodes/nodes_kling.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,9 @@ async def api_call(
712712
# Camera control type for image 2 video is always `simple`
713713
camera_control.type = KlingCameraControlType.simple
714714

715+
if mode == "std" and model_name == KlingVideoGenModelName.kling_v2_5_turbo.value:
716+
mode = "pro" # October 5: currently "std" mode is not supported for this model
717+
715718
initial_operation = SynchronousOperation(
716719
endpoint=ApiEndpoint(
717720
path=PATH_IMAGE_TO_VIDEO,

0 commit comments

Comments
 (0)