{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/billboardbug-com/json-schema/billboardbug-com-ai-image-request-schema.json",
  "title": "AiImageRequest",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/billboardbug-com-openapi.json#/components/schemas/AiImageRequest",
  "required": [
    "prompt"
  ],
  "type": "object",
  "properties": {
    "prompt": {
      "maxLength": 2000,
      "minLength": 1,
      "type": "string"
    },
    "aiProvider": {
      "$ref": "#/$defs/AiProviderType"
    },
    "width": {
      "maximum": 8192,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "height": {
      "maximum": 8192,
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "AiProviderType": {
      "enum": [
        "OpenAi",
        "GoogleAi",
        "ClaudeAi",
        "PerplexityAi",
        "Grok"
      ],
      "type": "string"
    }
  }
}