# inference.topaz.proteus.upscale.v1

Source: https://docs.prodia.com/job-types/inference-topaz-proteus-upscale-v1/

The `inference.topaz.proteus.upscale.v1` job upscales and enhances an input image using Topaz Proteus.

```json
{
    "type": "inference.topaz.proteus.upscale.v1",
    "config": {
        "video": "input.mp4"
    }
}
```

Additional configuration:

- `scale` (integer; one of `2`, `4`; default `2`)
- `width` (integer)
- `height` (integer)

This job type is also available under its partner alias `inference.partner.topaz.proteus.upscale.v1`.

## Schema

```json
{
	"type": "object",
	"required": [
		"type"
	],
	"properties": {
		"type": {
			"type": "string"
		},
		"config": {
			"type": "object",
			"properties": {
				"video": {
					"description": "The filename of the input video to upscale.",
					"type": "string",
					"format": "filename",
					"example": "input.mp4"
				},
				"scale": {
					"description": "Upscale factor. Ignored if width and height are both set.",
					"type": "integer",
					"enum": [
						2,
						4
					],
					"default": 2
				},
				"width": {
					"description": "Desired output width in pixels. Must be provided together with height.",
					"type": "integer",
					"minimum": 1,
					"maximum": 16000,
					"examples": [
						3840,
						7680
					]
				},
				"height": {
					"description": "Desired output height in pixels. Must be provided together with width.",
					"type": "integer",
					"minimum": 1,
					"maximum": 16000,
					"examples": [
						2160,
						4320
					]
				}
			}
		}
	},
	"$schema": "https://json-schema.org/draft/2020-12/schema"
}
```
