# inference.partner.wan2-6.txt2vid.v1

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

## Schema

```json
{
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"additionalProperties": false,
	"properties": {
		"type": {
			"type": "string"
		},
		"config": {
			"type": "object",
			"required": [
				"prompt"
			],
			"additionalProperties": false,
			"properties": {
				"prompt": {
					"type": "string",
					"minLength": 1,
					"maxLength": 1500,
					"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"
					]
				},
				"size": {
					"type": "string",
					"default": "1280*720",
					"enum": [
						"1920*1080",
						"1080*1920",
						"1440*1440",
						"1632*1248",
						"1248*1632",
						"1280*720",
						"720*1280",
						"960*960",
						"1088*832",
						"832*1088"
					],
					"description": "Resolution of the generated video in width*height format."
				},
				"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."
				}
			}
		}
	},
	"$schema": "https://json-schema.org/draft/2020-12/schema"
}
```
