{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prompt":{"description":"Text description of the image to generate. The model automatically enhances prompts for better results.","type":"string"},"aspect_ratio":{"description":"Aspect ratio for the image. Use \"custom\" with width/height for exact dimensions.","default":"16:9","type":"string","enum":["1:1","16:9","9:16","4:3","3:4","3:2","2:3","custom"]},"width":{"description":"Custom width in pixels (256-1440, multiple of 16). Only used when aspect_ratio=\"custom\".","type":"integer","minimum":256,"maximum":1440,"multipleOf":16},"height":{"description":"Custom height in pixels (256-1440, multiple of 16). Only used when aspect_ratio=\"custom\".","type":"integer","minimum":256,"maximum":1440,"multipleOf":16},"lora_weights":{"description":"Load LoRA weights. Supports HuggingFace URLs in the format huggingface.co/<owner>/<model-name>[/<file.safetensors>].","type":"string"},"lora_scale":{"description":"How strongly the LoRA should be applied (-1 to 3).","default":0.5,"type":"number","minimum":-1,"maximum":3},"hf_api_token":{"description":"HuggingFace API token for accessing private LoRAs. This credential is forwarded verbatim to Pruna. It is only written to gateway request-body logs when the gateway-level collectLogPayload debug flag is explicitly enabled — it never appears in structured analytics logs.","type":"string"},"prompt_upsampling":{"description":"Upsample the prompt with an LLM for enhanced results.","default":false,"type":"boolean"},"seed":{"description":"Random seed for reproducible generation.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"disable_safety_checker":{"description":"Disable safety checker for generated images.","default":false,"type":"boolean"}},"required":["prompt","aspect_ratio","lora_scale","prompt_upsampling","disable_safety_checker"],"additionalProperties":{}}