{"components":{"schemas":{"Input":{"type":"object","title":"Input","required":["screenshot"],"properties":{"device":{"enum":["iphone_6_5","iphone_6_5_landscape","iphone_6_5_1284","iphone_6_5_1284_landscape","ipad_13","ipad_13_landscape","ipad_13_2064","ipad_13_2064_landscape"],"type":"string","title":"Device","default":"iphone_6_9","x-order":0,"description":"Target App Store device and orientation. Sets exact output pixel dimensions.\n\n• iphone_6_9 — 1290×2796 (6.9\" iPhone, portrait)\n• iphone_6_5 — 1242×2688 (6.5\" iPhone, portrait)\n• iphone_6_5_landscape — 2688×1242 (6.5\" iPhone, landscape)\n• iphone_6_5_1284 — 1284×2778 (6.5\" iPhone alt, portrait)\n• iphone_6_5_1284_landscape — 2778×1284 (6.5\" iPhone alt, landscape)\n• ipad_13 — 2048×2732 (13\" iPad, portrait)\n• ipad_13_landscape — 2732×2048 (13\" iPad, landscape)\n• ipad_13_2064 — 2064×2752 (13\" iPad alt, portrait)\n• ipad_13_2064_landscape — 2752×2064 (13\" iPad alt, landscape)"},"layout":{"enum":["device_centered","device_angled","text_top","text_bottom"],"type":"string","title":"Layout","default":"device_centered","x-order":1},"app_icon":{"type":"string","title":"App Icon","format":"uri","x-order":2,"description":"Optional app icon, composited as a small rounded badge."},"headline":{"type":"string","title":"Headline","x-order":3,"description":"Optional. If omitted, a short headline is generated from the screenshot and application details."},"variants":{"type":"integer","title":"Variants","default":3,"maximum":4,"minimum":1,"x-order":4,"description":"Number of options to generate per run. Each option is a separately billed output image."},"enhance_ui":{"type":"boolean","title":"Enhance UI Presentation","default":true,"x-order":5,"description":"Assess the app screenshot for visual presentation issues (unbalanced padding, awkward spacing, poor crops) and improve them via subtle zoom, reframing, or minor compositional adjustment — without altering any app UI content."},"screenshot":{"type":"string","title":"App Screenshot","format":"uri","x-order":6,"description":"Your real app UI screenshot. Becomes image 1 (the device screen content). Required."},"brand_color":{"type":"string","title":"Brand Color","x-order":7,"description":"Optional hex or color name used as the dominant background color."},"subheadline":{"type":"string","title":"Subheadline","x-order":8,"description":"Optional supporting line. If omitted, one is added only if it strengthens the message."},"device_frame":{"type":"boolean","title":"Show Device Frame","default":true,"x-order":9,"description":"Frame the screenshot in a phone mockup. Turn off for full-bleed (reduces UI redraw)."},"style_reference":{"type":"string","title":"Style Reference","format":"uri","x-order":10,"description":"Optional. The hero image from your FIRST run, reused as the visual anchor so the whole set stays consistent (background, palette, typography, layout). Generate screenshot #1 with no style_reference, then pass that #1 OUTPUT here for every other screenshot — always the SAME first-run anchor, never the immediately previous output (chaining drifts)."},"background_style":{"enum":["gradient_vibrant","soft_pastel","dark_premium","brand_solid","lifestyle_scene"],"type":"string","title":"Background Style","default":"gradient_vibrant","x-order":11},"application_details":{"type":"string","title":"Application Details","x-order":12,"description":"Optional app context (what it does, audience, tone). Used to infer headline/subheadline and scene relevance."}}}}}}