{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/neurall-io/json-schema/neurall-io-template-schema.json",
  "title": "Template",
  "description": "A published ready-made style. Pick one of its previews, resolve the preview id to a prompt via GET /v3/templates/{previewId}, and submit that prompt as `args.prompt` in POST /v3/generations.\n",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/neurall-io-openapi.json#/components/schemas/Template",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "feature": {
      "type": "string",
      "description": "Canonical feature key the template belongs to"
    },
    "previews": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Preview id: pass it to GET /v3/templates/{previewId} to get the prompt"
          },
          "gender": {
            "type": "string",
            "description": "Reference gender of the example ('any' for non-person features)"
          },
          "image": {
            "type": "string",
            "description": "Thumbnail image URL (presigned, expires after ~6 hours)"
          },
          "video": {
            "type": "string",
            "description": "Preview video URL, present for video features (presigned, expires after ~6 hours)"
          }
        }
      }
    }
  }
}