{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aidemos-com/json-schema/aidemos-com-image-request-schema.json",
  "title": "ImageRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aidemos-com-image-api-openapi.yml#/components/schemas/ImageRequest",
  "properties": {
    "prompt": {
      "type": "string",
      "title": "Prompt",
      "description": "The full image prompt (Payload composes it from page context)."
    },
    "model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model",
      "description": "Image model (default gpt-image-1)."
    },
    "size": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Size",
      "description": "Image size (default 1536x1024)."
    }
  },
  "type": "object",
  "required": [
    "prompt"
  ]
}