inference.flux-2.klein.9b.txt2img.v1
Schema
Section titled “Schema”{ "type": "object", "required": [ "type", "config" ], "properties": { "type": { "type": "string", "enum": [ "inference.flux-2.klein.4b.txt2img.v1", "inference.flux-2.klein.9b.txt2img.v1", "inference.flux-2.klein.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": 512, "maximum": 2048, "default": 1024, "description": "Output image width in pixels." }, "height": { "type": "integer", "minimum": 512, "maximum": 2048, "default": 1024, "description": "Output image height in pixels." }, "steps": { "type": "integer", "minimum": 1, "maximum": 4, "default": 4, "description": "Number of inference steps for distilled models (4b/9b)." }, "guidance_scale": { "type": "number", "minimum": 1, "maximum": 10, "default": 1, "description": "Guidance scale for classifier-free guidance in distilled models (4b/9b)." }, "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": "Style preset to apply to the prompt." }, "seed": { "type": "integer", "minimum": 0, "maximum": 18446744073709552000, "description": "Random seed for reproducible results." } } } }}