# inference.sora-2.pro.txt2vid.v1

Source: https://docs.prodia.com/job-types/inference-sora-2-pro-txt2vid-v1/

## Schema

```json
{
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"additionalProperties": false,
	"properties": {
		"type": {
			"type": "string",
			"enum": [
				"inference.sora-2.pro.txt2vid.v1"
			]
		},
		"config": {
			"type": "object",
			"required": [
				"prompt"
			],
			"additionalProperties": false,
			"properties": {
				"prompt": {
					"type": "string",
					"minLength": 3,
					"maxLength": 4096,
					"description": "Text description of the video to generate. Pro version includes synchronized audio."
				},
				"resolution": {
					"type": "string",
					"enum": [
						"720p",
						"1080p"
					],
					"default": "720p",
					"description": "Output video resolution."
				},
				"aspect_ratio": {
					"type": "string",
					"enum": [
						"9:16",
						"16:9"
					],
					"default": "16:9",
					"description": "Output video aspect ratio."
				},
				"duration": {
					"type": "integer",
					"enum": [
						4,
						8,
						12
					],
					"default": 4,
					"description": "Video duration in seconds."
				},
				"seed": {
					"type": "integer",
					"minimum": 1,
					"maximum": 2147483647,
					"description": "A randomness initializer for video reproducibility."
				}
			}
		}
	}
}
```
