# inference.partner.kling.img2vid.v1

Source: https://docs.prodia.com/job-types/inference-partner-kling-img2vid-v1/

## Schema

```json
{
	"type": "object",
	"required": [
		"type"
	],
	"properties": {
		"type": {
			"type": "string"
		},
		"config": {
			"type": "object",
			"additionalProperties": false,
			"properties": {
				"model_name": {
					"type": "string",
					"default": "kling-v1",
					"enum": [
						"kling-v1",
						"kling-v1-6",
						"kling-v2-master",
						"kling-v2-1",
						"kling-v2-1-master",
						"kling-v3"
					]
				},
				"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"
					]
				}
			}
		}
	},
	"$schema": "https://json-schema.org/draft/2020-12/schema"
}
```
