{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prompt":{"type":"string","description":"Text prompt describing the image to generate or edit"},"images":{"description":"Input images for image editing, 1-16 entries. Each entry is base64-encoded (raw string or data:image/{png|jpeg|webp};base64,... URI).","maxItems":16,"type":"array","items":{"type":"string"}},"quality":{"description":"Quality of the generated image","type":"string","enum":["low","medium","high","xhigh","max","auto"]},"size":{"description":"Size of the generated image. For gif output, the size of each frame.","type":"string","enum":["1024x1024","1024x1536","1536x1024","auto"]},"background":{"description":"Background transparency setting. Use transparent for images with no background, opaque for a solid background, or auto to let the model decide.","type":"string","enum":["transparent","opaque","auto"]},"output_format":{"description":"Output format for the generated image. Use gif for an animated GIF.","type":"string","enum":["png","webp","jpeg","gif"]},"moderation":{"description":"Content moderation level. Use low for less restrictive filtering, or auto for the default.","type":"string","enum":["auto","low"]},"output_compression":{"description":"Compression level from 0 to 100 for webp and jpeg output","type":"integer","minimum":0,"maximum":100},"complexity":{"description":"How much the model plans the image before it renders it, separately from quality","type":"string","enum":["low","medium","high"]},"frame_count":{"description":"Number of frames, from 2 to 16, for gif output","type":"integer","minimum":2,"maximum":16},"frame_duration_ms":{"description":"Delay per frame in milliseconds, at least 20, for gif output","type":"integer","minimum":20,"maximum":9007199254740991}},"required":["prompt"],"additionalProperties":{}}