# inference.flux-2.max.txt2img.v1

Source: https://docs.prodia.com/job-types/inference-flux-2-max-txt2img-v1/

## Schema

```json
{
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"properties": {
		"type": {
			"type": "string",
			"enum": [
				"inference.flux-2.max.txt2img.v1"
			]
		},
		"config": {
			"type": "object",
			"required": [
				"prompt"
			],
			"properties": {
				"prompt": {
					"type": "string",
					"minLength": 1,
					"maxLength": 32768,
					"examples": [
						"A serene mountain landscape at sunset, photorealistic, 4k"
					],
					"description": "Text description of the image to generate. Supports up to 32K tokens."
				},
				"width": {
					"type": "integer",
					"minimum": 256,
					"maximum": 2048,
					"multipleOf": 16,
					"default": 1024,
					"description": "Output width in pixels. Must be a multiple of 16."
				},
				"height": {
					"type": "integer",
					"minimum": 256,
					"maximum": 2048,
					"multipleOf": 16,
					"default": 1024,
					"description": "Output height in pixels. Must be a multiple of 16."
				},
				"seed": {
					"type": "integer",
					"description": "Random seed for reproducible results."
				},
				"safety_tolerance": {
					"type": "integer",
					"minimum": 0,
					"maximum": 5,
					"default": 2,
					"description": "Safety filter tolerance level. 0 is strict, 5 is permissive."
				}
			}
		}
	}
}
```
