Skip to content

inference.kling.txt2vid.v1

Schema

{
"type": "object",
"required": [
"type",
"config"
],
"properties": {
"type": {
"type": "string",
"enum": [
"inference.kling.txt2vid.v1"
]
},
"config": {
"type": "object",
"additionalProperties": false,
"required": [
"prompt"
],
"properties": {
"model": {
"type": "string",
"default": "kling-v1",
"enum": [
"kling-v1",
"kling-v1-6",
"kling-v2-master"
]
},
"prompt": {
"type": "string",
"minLength": 0,
"maxLength": 2500,
"examples": [
"puppies in a cloud, 4k"
]
},
"negative_prompt": {
"type": "string",
"minLength": 0,
"maxLength": 2500,
"examples": [
"puppies in a cloud, 4k"
]
},
"cfg_scale": {
"type": "number",
"default": 0.5,
"minimum": 0,
"maximum": 1
},
"mode": {
"type": "string",
"default": "std",
"enum": [
"std",
"pro"
]
},
"camera_control": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"simple",
"down_back",
"forward_up",
"right_turn_forward",
"left_turn_forward"
]
},
"config": {
"type": "object",
"additionalProperties": false,
"properties": {
"horizontal": {
"type": "number",
"minimum": -10,
"maximum": 10
},
"vertical": {
"type": "number",
"minimum": -10,
"maximum": 10
},
"pan": {
"type": "number",
"minimum": -10,
"maximum": 10
},
"tilt": {
"type": "number",
"minimum": -10,
"maximum": 10
},
"roll": {
"type": "number",
"minimum": -10,
"maximum": 10
},
"zoom": {
"type": "number",
"minimum": -10,
"maximum": 10
}
}
}
}
},
"aspect_ratio": {
"type": "string",
"default": "16:9",
"enum": [
"16:9",
"9:16",
"1:1"
]
},
"duration": {
"type": "string",
"default": "5",
"enum": [
"5",
"10"
]
}
}
}
}
}