# inference.flux-kontext.pro.img2img.v1

Source: https://docs.prodia.com/job-types/inference-flux-kontext-pro-img2img-v1/

## Schema

```json
{
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"properties": {
		"type": {
			"type": "string",
			"enum": [
				"inference.flux-kontext.pro.img2img.v1",
				"inference.flux-kontext.max.img2img.v1"
			]
		},
		"config": {
			"type": "object",
			"required": [
				"prompt"
			],
			"properties": {
				"prompt": {
					"type": "string",
					"minLength": 3,
					"maxLength": 4096,
					"examples": [
						"puppies in a cloud, 4k"
					]
				},
				"prompt_upsampling": {
					"description": "Whether to perform upsampling on the prompt. If active, automatically modifies the prompt for more creative generation.",
					"type": "boolean",
					"default": false
				},
				"aspect_ratio": {
					"description": "Aspect Ratio",
					"type": "string",
					"enum": [
						"21:9",
						"16:9",
						"4:3",
						"3:2",
						"1:1",
						"2:3",
						"3:4",
						"9:16",
						"9:21"
					]
				},
				"safety_tolerance": {
					"description": "Tolerance level for input and output moderation. Between 0 and 2, 0 being most strict, 2 being least strict.",
					"type": "integer",
					"default": 2,
					"minimum": 0,
					"maximum": 2
				},
				"seed": {
					"type": "integer",
					"examples": [
						42,
						531286735183442
					]
				}
			}
		}
	}
}
```
