{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vidwords-com/json-schema/vidwords-com-transcripts-request-schema.json",
  "title": "TranscriptsRequest",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vidwords-com-openapi.json#/components/schemas/TranscriptsRequest",
  "type": "object",
  "required": [
    "ids"
  ],
  "properties": {
    "ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 50,
      "description": "Video IDs or full YouTube URLs (max 50)",
      "minItems": 1
    },
    "lang": {
      "type": "string",
      "description": "Preferred caption language code. Omit it (or send an empty string) for the video's own language; send \"en\" for English.",
      "default": ""
    },
    "transcribeAudio": {
      "type": "boolean",
      "default": true,
      "description": "Whether a video with no captions may be transcribed from its audio (paid: 3 AI Units per minute of video plus the Cloud Request, charged only for a delivered transcript). Send false to refuse it: the item is then an error carrying `audioTranscriptionOffer` with the video's length and `estimatedAiUnits`, and nothing is charged."
    },
    "maxAiUnits": {
      "type": "integer",
      "minimum": 0,
      "description": "The most AI Units any ONE video's audio transcription may cost. A dearer video is refused before anything is downloaded, as `asr_insufficient` with its price, and is not charged."
    }
  }
}