Microsoft Azure · Schema

ImageGenerationsResponse

Response from the image generations API.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
created integer The Unix timestamp of when the images were created.
data array The list of generated images.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-imagegenerationsresponse-schema.json Raw ↑
{
  "$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"
  ]
}