{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scribetoany-com/json-schema/scribetoany-com-transcribe-options-schema.json",
  "title": "TranscribeOptions",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scribetoany-com-openapi.json#/components/schemas/TranscribeOptions",
  "type": "object",
  "properties": {
    "language": {
      "type": "string",
      "default": "auto",
      "description": "Spoken language as a Whisper language code (mostly ISO 639-1, e.g. en, es, zh, yue), or auto to detect it."
    },
    "mode": {
      "type": "string",
      "enum": [
        "fast",
        "balanced",
        "accurate"
      ],
      "default": "accurate"
    },
    "diarize": {
      "type": "boolean",
      "default": false,
      "description": "Label speakers."
    },
    "numSpeakers": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 2,
      "maximum": 8,
      "description": "Expected number of speakers, when known."
    },
    "translateToEn": {
      "type": "boolean",
      "default": false,
      "description": "Output an English translation instead of the original language."
    }
  }
}