{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":50000,"description":"Text prompt describing the image, up to 50,000 English characters. Refer to reference images as @image_1, @image_2, and so on."},"images":{"description":"Reference images for image-to-image: https URLs, data URIs or raw base64 (JPG or PNG, up to 30 MB, at least 300 px per side, aspect ratio between 2:5 and 5:2)","maxItems":10,"type":"array","items":{"type":"string","minLength":1}},"n":{"default":1,"description":"Number of images to generate","type":"integer","minimum":1,"maximum":9},"resolution":{"default":"2k","description":"Output resolution","type":"string","enum":["2k"]},"aspect_ratio":{"default":"auto","description":"Aspect ratio of the generated image; auto picks one from the input","type":"string","enum":["auto","16:9","9:16","1:1","4:3","3:4","3:2","2:3","21:9"]}},"required":["prompt","n","resolution","aspect_ratio"],"additionalProperties":false}