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

This commit is contained in:
Alexander Piskun 2025-10-05 09:34:18 +03:00 committed by GitHub
parent caf07331ff
commit 187f43696d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -712,6 +712,9 @@ class KlingImage2VideoNode(KlingNodeBase):
# Camera control type for image 2 video is always `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(
endpoint=ApiEndpoint(
path=PATH_IMAGE_TO_VIDEO,