{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/captapi-com/json-schema/captapi-com-body-video-summarize-v1-video-summarize-post-schema.json",
  "title": "Body_video_summarize_v1_video_summarize_post",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/captapi-com-openapi.json#/components/schemas/Body_video_summarize_v1_video_summarize_post",
  "properties": {
    "file": {
      "type": "string",
      "format": "binary",
      "title": "File",
      "description": "Video or audio file to transcribe and summarize"
    },
    "language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Language",
      "description": "ISO-639-1 language hint, e.g. \"en\" or \"tr\". Omit to auto-detect."
    },
    "translate": {
      "type": "boolean",
      "title": "Translate",
      "description": "When true, translate speech to English before summarizing.",
      "default": false
    },
    "timestampGranularity": {
      "type": "string",
      "enum": [
        "segment",
        "word"
      ],
      "title": "Timestampgranularity",
      "description": "segment (default) or word.",
      "default": "segment"
    }
  },
  "type": "object",
  "required": [
    "file"
  ]
}