Skip to content

inference.kling.txt2vid.v1

Schema

{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"inference.kling.img2vid.v1"
]
},
"config": {
"type": "object",
"additionalProperties": false,
"properties": {
"model_name": {
"type": "string",
"default": "kling-v1",
"enum": [
"kling-v1"
]
},
"image": {
"type": "string",
"format": "filename",
"example": "reference.png"
},
"image_tail": {
"type": "string",
"format": "filename",
"example": "last.png"
},
"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"
]
},
"static_mask": {
"type": "string",
"format": "filename",
"example": "static-mask.png"
},
"dynamic_masks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"mask": {
"type": "string",
"format": "filename",
"example": "dynamic-mask.png"
},
"trajectories": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"x",
"y"
],
"properties": {
"x": {
"type": "integer"
},
"y": {
"type": "integer"
}
}
}
}
}
}
},
"duration": {
"type": "string",
"default": "5",
"enum": [
"5",
"10"
]
}
}
}
}
}