{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/slideforge-dev/json-schema/slideforge-dev-analyze-image-request-schema.json",
  "title": "AnalyzeImageRequest",
  "description": "POST /v1/analyze/image request body — vision LLM analyzes an image and\nsynthesizes a slide brief.\n\nSync. Bills against the wallet on success ($0.05 per call). Feed the\nreturned `brief` to POST /v1/render/auto (or any other endpoint that\ntakes a brief). Decoupled from rendering so agents can analyze without\ncommitting to a render — and so the from-image UX is two visible stages\n(Analyzing → Rendering) instead of one opaque \"generate\" call.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/slideforge-dev-analyze-api-openapi.yml#/components/schemas/AnalyzeImageRequest",
  "properties": {
    "image": {
      "type": "string",
      "title": "Image"
    },
    "instructions": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Instructions"
    },
    "slide_count": {
      "type": "integer",
      "title": "Slide Count",
      "default": 1
    }
  },
  "type": "object",
  "required": [
    "image"
  ]
}