# inference.wan2-7.vid2vid.v1

Source: https://docs.prodia.com/job-types/inference-wan2-7-vid2vid-v1/

## Schema

```json
{
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"additionalProperties": false,
	"properties": {
		"type": {
			"type": "string",
			"enum": [
				"inference.wan2-7.vid2vid.v1"
			]
		},
		"config": {
			"type": "object",
			"additionalProperties": false,
			"properties": {
				"video": {
					"type": "string",
					"format": "filename",
					"description": "Input video clip to continue. Supported formats: MP4, MOV. Duration: 2-10 seconds, max 100 MB.",
					"examples": [
						"input.mp4",
						"clip.mov"
					]
				},
				"last_frame": {
					"type": "string",
					"format": "filename",
					"description": "Target last-frame image to guide the video continuation endpoint.",
					"examples": [
						"last_frame.png",
						"end.jpg"
					]
				},
				"prompt": {
					"type": "string",
					"maxLength": 5000,
					"description": "Text description of the desired video continuation content and motion.",
					"examples": [
						"The camera pans to reveal a mountain landscape"
					]
				},
				"negative_prompt": {
					"type": "string",
					"maxLength": 500,
					"description": "Description of content to exclude from the video.",
					"examples": [
						"low resolution, error, worst quality, deformed"
					]
				},
				"resolution": {
					"type": "string",
					"default": "720P",
					"enum": [
						"720P",
						"1080P"
					],
					"description": "Resolution tier of the generated video."
				},
				"duration": {
					"type": "integer",
					"minimum": 2,
					"maximum": 15,
					"default": 5,
					"description": "Total output video duration in seconds (2-15). The continuation length is this value minus the input clip duration."
				},
				"seed": {
					"type": "integer",
					"minimum": 0,
					"maximum": 2147483647,
					"description": "A randomness initializer for video reproducibility.",
					"examples": [
						42,
						12345
					]
				},
				"prompt_extend": {
					"type": "boolean",
					"default": true,
					"description": "Enable intelligent prompt rewriting for better results."
				}
			}
		}
	}
}
```
