fix(api-nodes): disable "std" mode for Kling2.5-turbo

This commit is contained in:
bigcat88 2025-10-05 09:17:46 +03:00
parent caf07331ff
commit d5efb22875
No known key found for this signature in database
GPG Key ID: 1F0BF0EC3CF22721

View File

@ -712,6 +712,9 @@ class KlingImage2VideoNode(KlingNodeBase):
# Camera control type for image 2 video is always `simple` # Camera control type for image 2 video is always `simple`
camera_control.type = KlingCameraControlType.simple camera_control.type = KlingCameraControlType.simple
if mode == "std" and model_name == KlingVideoGenModelName.kling_v2_5_turbo.value:
mode = "pro" # October 5: currently "std" mode is not supported for this model
initial_operation = SynchronousOperation( initial_operation = SynchronousOperation(
endpoint=ApiEndpoint( endpoint=ApiEndpoint(
path=PATH_IMAGE_TO_VIDEO, path=PATH_IMAGE_TO_VIDEO,