# inference.topaz.gigapixel-standard-2.upscale.v1

Source: https://docs.prodia.com/job-types/inference-topaz-gigapixel-standard-2-upscale-v1/

## Schema

```json
{
	"type": "object",
	"required": [
		"type"
	],
	"properties": {
		"type": {
			"type": "string",
			"enum": [
				"inference.topaz.gigapixel-standard-2.upscale.v1"
			]
		},
		"config": {
			"type": "object",
			"properties": {
				"image": {
					"description": "The filename of the input image to upscale.",
					"type": "string",
					"format": "filename",
					"example": "input.png"
				},
				"width": {
					"description": "Desired output width in pixels. If omitted, Topaz determines the output size.",
					"type": "integer",
					"minimum": 1,
					"maximum": 32000,
					"examples": [
						2048,
						4096
					]
				},
				"height": {
					"description": "Desired output height in pixels. If omitted, Topaz determines the output size.",
					"type": "integer",
					"minimum": 1,
					"maximum": 32000,
					"examples": [
						2048,
						4096
					]
				},
				"face_recovery": {
					"description": "Enhance facial features and recover detail in faces.",
					"type": "boolean",
					"default": false
				},
				"subject_detection": {
					"description": "Target enhancement to a specific area of the image.",
					"type": "string",
					"enum": [
						"foreground",
						"background",
						"all"
					]
				}
			}
		}
	}
}
```
