{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ImageGenerationsResponse",
  "title": "ImageGenerationsResponse",
  "type": "object",
  "description": "Response from the image generations API.",
  "properties": {
    "created": {
      "type": "integer",
      "description": "The Unix timestamp of when the images were created.",
      "example": 10
    },
    "data": {
      "type": "array",
      "description": "The list of generated images.",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "The URL of the generated image."
          },
          "b64_json": {
            "type": "string",
            "description": "The base64-encoded JSON of the generated image."
          },
          "revised_prompt": {
            "type": "string",
            "description": "The revised prompt that was used to generate the image."
          }
        }
      },
      "example": []
    }
  },
  "required": [
    "created",
    "data"
  ]
}