OpenAI · JSON Structure

Openai Images Create Image Request Structure

Type: object Properties: 8
AIArtificial IntelligenceLarge Language ModelsT1

CreateImageRequest is a JSON Structure definition published by OpenAI, describing 8 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

prompt model n quality response_format size style user

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "CreateImageRequest",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "n": {
      "type": "integer"
    },
    "quality": {
      "type": "string"
    },
    "response_format": {
      "type": "string"
    },
    "size": {
      "type": "string"
    },
    "style": {
      "type": "string"
    },
    "user": {
      "type": "string"
    }
  }
}