@@ -647,7 +647,7 @@ def define_schema(cls) -> comfy_io.Schema:
647647            category = "api node/video/Kling" ,
648648            description = "Allows specifying configuration options for Kling Camera Controls and motion control effects." ,
649649            inputs = [
650-                 comfy_io .Combo .Input ("camera_control_type" , options = [ i . value   for   i   in   KlingCameraControlType ] ),
650+                 comfy_io .Combo .Input ("camera_control_type" , options = KlingCameraControlType ),
651651                comfy_io .Float .Input (
652652                    "horizontal_movement" ,
653653                    default = 0.0 ,
@@ -772,7 +772,7 @@ def define_schema(cls) -> comfy_io.Schema:
772772                comfy_io .Float .Input ("cfg_scale" , default = 1.0 , min = 0.0 , max = 1.0 ),
773773                comfy_io .Combo .Input (
774774                    "aspect_ratio" ,
775-                     options = [ i . value   for   i   in   KlingVideoGenAspectRatio ] ,
775+                     options = KlingVideoGenAspectRatio ,
776776                    default = "16:9" ,
777777                ),
778778                comfy_io .Combo .Input (
@@ -840,7 +840,7 @@ def define_schema(cls) -> comfy_io.Schema:
840840                comfy_io .Float .Input ("cfg_scale" , default = 0.75 , min = 0.0 , max = 1.0 ),
841841                comfy_io .Combo .Input (
842842                    "aspect_ratio" ,
843-                     options = [ i . value   for   i   in   KlingVideoGenAspectRatio ] ,
843+                     options = KlingVideoGenAspectRatio ,
844844                    default = "16:9" ,
845845                ),
846846                comfy_io .Custom ("CAMERA_CONTROL" ).Input (
@@ -903,17 +903,17 @@ def define_schema(cls) -> comfy_io.Schema:
903903                comfy_io .String .Input ("negative_prompt" , multiline = True , tooltip = "Negative text prompt" ),
904904                comfy_io .Combo .Input (
905905                    "model_name" ,
906-                     options = [ i . value   for   i   in   KlingVideoGenModelName ] ,
906+                     options = KlingVideoGenModelName ,
907907                    default = "kling-v2-master" ,
908908                ),
909909                comfy_io .Float .Input ("cfg_scale" , default = 0.8 , min = 0.0 , max = 1.0 ),
910-                 comfy_io .Combo .Input ("mode" , options = [ i . value   for   i   in   KlingVideoGenMode ] , default = " std" 
910+                 comfy_io .Combo .Input ("mode" , options = KlingVideoGenMode , default = KlingVideoGenMode . std ),
911911                comfy_io .Combo .Input (
912912                    "aspect_ratio" ,
913-                     options = [ i . value   for   i   in   KlingVideoGenAspectRatio ] ,
914-                     default = "16:9" ,
913+                     options = KlingVideoGenAspectRatio ,
914+                     default = KlingVideoGenAspectRatio . field_16_9 ,
915915                ),
916-                 comfy_io .Combo .Input ("duration" , options = [ i . value   for   i   in   KlingVideoGenDuration ] , default = "5" ),
916+                 comfy_io .Combo .Input ("duration" , options = KlingVideoGenDuration , default = KlingVideoGenDuration . field_5 ),
917917            ],
918918            outputs = [
919919                comfy_io .Video .Output (),
@@ -984,8 +984,8 @@ def define_schema(cls) -> comfy_io.Schema:
984984                comfy_io .Float .Input ("cfg_scale" , default = 0.75 , min = 0.0 , max = 1.0 ),
985985                comfy_io .Combo .Input (
986986                    "aspect_ratio" ,
987-                     options = [ i . value   for   i   in   KlingVideoGenAspectRatio ] ,
988-                     default = "16:9" ,
987+                     options = KlingVideoGenAspectRatio ,
988+                     default = KlingVideoGenAspectRatio . field_16_9 ,
989989                ),
990990                comfy_io .Custom ("CAMERA_CONTROL" ).Input (
991991                    "camera_control" ,
0 commit comments