# inference.wan2-7.txt2vid.v1

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

## Schema

```json
{
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"additionalProperties": false,
	"properties": {
		"type": {
			"type": "string",
			"enum": [
				"inference.wan2-7.txt2vid.v1"
			]
		},
		"config": {
			"type": "object",
			"required": [
				"prompt"
			],
			"additionalProperties": false,
			"properties": {
				"prompt": {
					"type": "string",
					"minLength": 1,
					"maxLength": 5000,
					"description": "Text description of the video content and visual style.",
					"examples": [
						"A kitten running in the moonlight"
					]
				},
				"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. 720P outputs at up to 1280×720; 1080P outputs at up to 1920×1080."
				},
				"ratio": {
					"type": "string",
					"default": "16:9",
					"enum": [
						"16:9",
						"9:16",
						"1:1",
						"4:3",
						"3:4"
					],
					"description": "Aspect ratio of the generated video."
				},
				"duration": {
					"type": "integer",
					"minimum": 2,
					"maximum": 15,
					"default": 5,
					"description": "Duration of the generated video in seconds (2-15)."
				},
				"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."
				}
			}
		}
	}
}
```
