Microsoft Azure · Schema

CreateImageRequest

Request body for creating image generations.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
prompt string A text description of the desired image(s).
n integer The number of images to generate.
size string The size of the generated images.
quality string The quality of the image that will be generated.
style string The style of the generated images.
response_format string The format in which the generated images are returned.
user string A unique identifier representing your end-user.
View JSON Schema on GitHub

JSON Schema

azure-openai-service-create-image-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CreateImageRequest",
  "type": "object",
  "description": "Request body for creating image generations.",
  "properties": {
    "prompt": {
      "type": "string",
      "description": "A text description of the desired image(s)."
    },
    "n": {
      "type": "integer",
      "description": "The number of images to generate."
    },
    "size": {
      "type": "string",
      "description": "The size of the generated images."
    },
    "quality": {
      "type": "string",
      "description": "The quality of the image that will be generated."
    },
    "style": {
      "type": "string",
      "description": "The style of the generated images."
    },
    "response_format": {
      "type": "string",
      "description": "The format in which the generated images are returned."
    },
    "user": {
      "type": "string",
      "description": "A unique identifier representing your end-user."
    }
  }
}