# inference.flux.pro11.txt2img.v1

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

The `inference.flux.pro11.txt2img.v1` job generates an image from a text prompt using FLUX 1.1 Pro.

```json
{
    "type": "inference.flux.pro11.txt2img.v1",
    "config": {
        "prompt": "a serene mountain landscape at golden hour"
    }
}
```

Additional configuration:

- `prompt_upsampling` (boolean; default `False`)
- `style_preset` (string; one of `3d-model`, `analog-film`, `anime`, `cinematic`, `comic-book`, `digital-art`, `enhance`, `fantasy-art`, `isometric`, `line-art`, `low-poly`, `neon-punk`, `origami`, `photographic`, `pixel-art`, `texture`, `craft-clay`)
- `safety_tolerance` (integer; default `4`)
- `seed` (integer)
- `width` (number; default `1024`)
- `height` (number; default `768`)

This job type is also available under its partner alias `inference.partner.flux.pro11.txt2img.v1`.

## Schema

```json
{
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"properties": {
		"type": {
			"type": "string"
		},
		"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
				},
				"style_preset": {
					"type": "string",
					"enum": [
						"3d-model",
						"analog-film",
						"anime",
						"cinematic",
						"comic-book",
						"digital-art",
						"enhance",
						"fantasy-art",
						"isometric",
						"line-art",
						"low-poly",
						"neon-punk",
						"origami",
						"photographic",
						"pixel-art",
						"texture",
						"craft-clay"
					]
				},
				"safety_tolerance": {
					"description": "Tolerance level for input and output moderation. Between 0 and 6, 0 being most strict, 6 being least strict.",
					"type": "integer",
					"default": 4,
					"minimum": 0,
					"maximum": 6
				},
				"seed": {
					"type": "integer",
					"examples": [
						42,
						531286735183442
					]
				},
				"width": {
					"type": "number",
					"multipleOf": 32,
					"minimum": 256,
					"maximum": 1440,
					"default": 1024
				},
				"height": {
					"type": "number",
					"multipleOf": 32,
					"minimum": 256,
					"maximum": 1440,
					"default": 768
				}
			}
		}
	},
	"$schema": "https://json-schema.org/draft/2020-12/schema"
}
```
