inference.flux-2.pro.img2img.v1
Schema
Section titled “Schema”{ "type": "object", "required": [ "type", "config" ], "properties": { "type": { "type": "string", "enum": [ "inference.flux-2.pro.img2img.v1" ] }, "config": { "type": "object", "required": [ "prompt" ], "properties": { "images": { "type": "array", "minItems": 1, "maxItems": 8, "items": { "type": "string", "format": "filename", "example": "input.jpg", "description": "The filename of an input image." }, "description": "Input images for editing. Pro model supports up to 8 images (9MP combined). If not specified, uses uploaded files." }, "prompt": { "type": "string", "minLength": 1, "maxLength": 32768, "examples": [ "Replace the background with a forest" ], "description": "Text description of the edit to be applied. Supports up to 32K tokens." }, "width": { "type": "integer", "minimum": 64, "maximum": 4096, "multipleOf": 16, "description": "Output width in pixels. Must be a multiple of 16. If not specified, uses input image dimensions." }, "height": { "type": "integer", "minimum": 64, "maximum": 4096, "multipleOf": 16, "description": "Output height in pixels. Must be a multiple of 16. If not specified, uses input image dimensions." }, "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." } } } }}