# inference.pruna.p-video.txt2vid.v1

Source: https://docs.prodia.com/job-types/inference-pruna-p-video-txt2vid-v1/

## Schema

```json
{
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"additionalProperties": false,
	"properties": {
		"type": {
			"type": "string",
			"enum": [
				"inference.pruna.p-video.txt2vid.v1"
			]
		},
		"config": {
			"type": "object",
			"required": [
				"prompt"
			],
			"additionalProperties": false,
			"properties": {
				"prompt": {
					"type": "string",
					"minLength": 1,
					"maxLength": 4096,
					"description": "Text prompt for video generation."
				},
				"duration": {
					"type": "integer",
					"default": 5,
					"enum": [
						5,
						10
					],
					"description": "Duration of the video in seconds."
				},
				"resolution": {
					"type": "string",
					"default": "720p",
					"enum": [
						"720p",
						"1080p"
					],
					"description": "Video resolution."
				},
				"fps": {
					"type": "integer",
					"default": 24,
					"enum": [
						24,
						48
					],
					"description": "Frames per second."
				},
				"aspect_ratio": {
					"type": "string",
					"default": "16:9",
					"enum": [
						"16:9",
						"9:16",
						"4:3",
						"3:4",
						"3:2",
						"2:3",
						"1:1"
					],
					"description": "Aspect ratio of the video."
				},
				"seed": {
					"type": "integer",
					"description": "Random seed for reproducible generation."
				},
				"draft": {
					"type": "boolean",
					"default": false,
					"description": "Draft mode generates a lower-quality preview."
				},
				"prompt_upsampling": {
					"type": "boolean",
					"default": true,
					"description": "Use prompt upsampling to enhance the prompt."
				}
			}
		}
	}
}
```
