{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/imageGenerationsRequest", "title": "imageGenerationsRequest", "type": "object", "properties": { "prompt": { "description": "A text description of the desired image(s). The maximum length is 4000 characters.", "type": "string", "format": "string", "example": "a corgi in a field", "minLength": 1 }, "n": { "description": "The number of images to generate.", "type": "integer", "minimum": 1, "maximum": 1, "default": 1 }, "size": { "$ref": "#/components/schemas/imageSize" }, "response_format": { "$ref": "#/components/schemas/imagesResponseFormat" }, "user": { "description": "A unique identifier representing your end-user, which can help to monitor and detect abuse.", "type": "string", "format": "string", "example": "user123456" }, "quality": { "$ref": "#/components/schemas/imageQuality" }, "style": { "$ref": "#/components/schemas/imageStyle" } }, "required": [ "prompt" ] }