{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beatapi/json-schema/beatapi-video-analysis-task-create-request-schema.json",
  "title": "VideoAnalysisTaskCreateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beatapi-video-analysis-api-openapi.yml#/components/schemas/VideoAnalysisTaskCreateRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "video_url",
    "prompt"
  ],
  "properties": {
    "video_url": {
      "type": "string",
      "format": "uri",
      "description": "BeatAPI-hosted MP4 or MOV input URL returned by POST /v1/files for the current account. Maximum verified duration is 600 seconds."
    },
    "prompt": {
      "type": "string",
      "minLength": 1,
      "maxLength": 12000,
      "description": "Analysis instruction. Ask for timestamped output when temporal precision matters."
    },
    "analysis_depth": {
      "type": "string",
      "enum": [
        "standard",
        "deep"
      ],
      "default": "standard",
      "description": "Standard is the default low-cost route; deep uses the higher-reasoning route."
    },
    "max_output_tokens": {
      "type": "integer",
      "minimum": 256,
      "maximum": 8192,
      "default": 2048,
      "description": "Requested answer budget. Provider-reported output usage can include hidden reasoning tokens above this value; BeatAPI records the variance for audit and settles actual reported usage within the task reservation."
    }
  }
}