Skip to content

inference.flux-fast.dev-kontext.img2img.v1

Schema

{
"type": "object",
"required": [
"type",
"config"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"inference.flux-fast.dev-kontext.img2img.v1"
]
},
"config": {
"type": "object",
"required": [
"prompt"
],
"additionalProperties": false,
"properties": {
"prompt": {
"type": "string",
"minLength": 3,
"maxLength": 4096,
"examples": [
"puppies in a cloud, 4k"
],
"description": "Input description of desired output."
},
"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"
],
"description": "Apply a visual theme to your output image."
},
"width": {
"type": "number",
"multipleOf": 32,
"minimum": 512,
"maximum": 1040,
"default": 1024
},
"height": {
"type": "number",
"multipleOf": 32,
"minimum": 512,
"maximum": 1040,
"default": 1024
},
"steps": {
"type": "integer",
"default": 30,
"minimum": 1,
"maximum": 50,
"description": "Amount of computational iterations to run. More is typically higher quality."
},
"seed": {
"type": "integer",
"examples": [
42,
531286735183442
],
"description": "A randomness initializer for image reproducability."
},
"guidance_scale": {
"type": "number",
"default": 2.5
},
"progressive": {
"type": "boolean",
"default": false,
"description": "When using JPEG output, return a progressive JPEG."
}
}
}
}
}