Microsoft Azure · Schema

imageResult

The image url or encoded image if successful, and an error otherwise.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
url string The image url.
b64_json string The base64 encoded image
content_filter_results object
revised_prompt string The prompt that was used to generate the image, if there was any revision to the prompt.
prompt_filter_results object
View JSON Schema on GitHub

JSON Schema

microsoft-azure-imageresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/imageResult",
  "title": "imageResult",
  "type": "object",
  "description": "The image url or encoded image if successful, and an error otherwise.",
  "properties": {
    "url": {
      "type": "string",
      "description": "The image url.",
      "example": "https://www.contoso.com"
    },
    "b64_json": {
      "type": "string",
      "description": "The base64 encoded image"
    },
    "content_filter_results": {
      "$ref": "#/components/schemas/dalleContentFilterResults"
    },
    "revised_prompt": {
      "type": "string",
      "description": "The prompt that was used to generate the image, if there was any revision to the prompt."
    },
    "prompt_filter_results": {
      "$ref": "#/components/schemas/dalleFilterResults"
    }
  }
}