{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prompt":{"description":"Text prompt for image generation or editing.","type":"string"},"seed":{"description":"Optional seed for reproducible generation.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"width":{"description":"Width of the generated image in pixels (minimum 64). Omit to let BFL pick.","type":"integer","minimum":64,"maximum":9007199254740991},"height":{"description":"Height of the generated image in pixels (minimum 64). Omit to let BFL pick.","type":"integer","minimum":64,"maximum":9007199254740991},"safety_tolerance":{"description":"Tolerance for input/output moderation. 0 is the strictest, 5 the most permissive. Defaults to 2.","type":"integer","minimum":0,"maximum":5},"output_format":{"description":"Output image format. Defaults to jpeg.","type":"string","enum":["jpeg","png","webp"]},"input_images":{"description":"Up to 8 reference images for editing or multi-image composition. Each entry is an HTTPS URL or a data:image/...;base64,... URI.","maxItems":8,"type":"array","items":{"type":"string"}},"prompt_upsampling":{"description":"Whether BFL should expand short prompts before generation. Defaults to true on flex.","type":"boolean"},"guidance":{"description":"Classifier-free guidance scale (1.5–10). Higher values follow the prompt more strictly at the cost of realism.","type":"number","minimum":1.5,"maximum":10},"steps":{"description":"Number of denoising steps (1–50). Higher steps yield more detail at the cost of latency.","type":"integer","minimum":1,"maximum":50}},"required":["prompt"],"additionalProperties":false}