OpenAI · JSON Structure

Openai Images Create Image Edit Request Structure

Type: object Properties: 8
AIArtificial IntelligenceLarge Language ModelsT1

CreateImageEditRequest 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

image prompt mask model n size response_format user

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

JSON Structure

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