# inference.wan2-2.lightning.img2vid.v0

Source: https://docs.prodia.com/job-types/inference-wan2-2-lightning-img2vid-v0/

## Schema

```json
{
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"additionalProperties": false,
	"properties": {
		"type": {
			"type": "string",
			"enum": [
				"inference.wan2-2.lightning.img2vid.v0"
			]
		},
		"config": {
			"type": "object",
			"required": [
				"prompt"
			],
			"additionalProperties": false,
			"properties": {
				"prompt": {
					"type": "string",
					"minLength": 1,
					"maxLength": 2500,
					"examples": [
						"A cat walking through a garden."
					],
					"description": "Text description to guide the video generation from the input image."
				},
				"image": {
					"type": "string",
					"format": "filename",
					"examples": [
						"reference.png"
					],
					"description": "Input image to animate into a video."
				},
				"seed": {
					"type": "integer",
					"examples": [
						42,
						531286735183442
					],
					"description": "A randomness initializer for video reproducibility."
				},
				"resolution": {
					"type": "string",
					"default": "720p",
					"enum": [
						"720p",
						"480p"
					],
					"description": "Output resolution. 720p = 1280x720, 480p = 832x480."
				}
			}
		}
	}
}
```
