# inference.veo.txt2vid.v2

Source: https://docs.prodia.com/job-types/inference-veo-txt2vid-v2/

## Schema

```json
{
	"unevaluatedProperties": false,
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"properties": {
		"type": {
			"type": "string",
			"enum": [
				"inference.veo.txt2vid.v2",
				"inference.veo.fast.txt2vid.v2"
			]
		},
		"config": {
			"unevaluatedProperties": false,
			"type": "object",
			"required": [
				"prompt"
			],
			"properties": {
				"prompt": {
					"type": "string",
					"minLength": 0,
					"maxLength": 2500,
					"examples": [
						"puppies in a cloud, 4k"
					],
					"description": "A description of the desired output."
				},
				"negative_prompt": {
					"type": "string",
					"maxLength": 2500,
					"description": "Text to discourage specific content generation."
				},
				"generate_audio": {
					"type": "boolean",
					"default": false,
					"description": "Add generated audio to the video."
				},
				"resolution": {
					"type": "string",
					"default": "720p",
					"enum": [
						"720p",
						"1080p"
					],
					"description": "Output video resolution."
				},
				"aspect_ratio": {
					"type": "string",
					"default": "16:9",
					"enum": [
						"16:9",
						"9:16"
					],
					"description": "Aspect ratio of output."
				},
				"duration_seconds": {
					"type": "integer",
					"default": 8,
					"enum": [
						4,
						6,
						8
					],
					"description": "Duration of the generated video in seconds."
				},
				"person_generation": {
					"type": "string",
					"default": "allow_adult",
					"enum": [
						"allow_adult",
						"dont_allow"
					],
					"description": "Person generation policy."
				},
				"seed": {
					"type": "integer",
					"examples": [
						42,
						531286735183442
					],
					"description": "Seed for random number generation."
				}
			}
		}
	}
}
```
