{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kurdishtts-com/json-schema/kurdishtts-com-tts-timestamps-response-schema.json",
  "title": "TtsTimestampsResponse",
  "description": "Returned when `include_timestamps` is true.",
  "x-generated": "2026-11-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kurdishtts-com-openapi.json#/components/schemas/TtsTimestampsResponse",
  "type": "object",
  "properties": {
    "audio": {
      "type": "string",
      "description": "Base64-encoded PCM audio."
    },
    "timestamps": {
      "type": "array",
      "description": "Word-level timestamps.",
      "items": {
        "type": "object",
        "properties": {
          "word": {
            "type": "string"
          },
          "start": {
            "type": "number"
          },
          "end": {
            "type": "number"
          }
        }
      }
    },
    "sample_rate": {
      "type": "integer"
    },
    "audio_duration": {
      "type": "number"
    },
    "generation": {
      "type": "object",
      "description": "What the server actually did. Treat `collapsed: true` as a failed generation even on HTTP 200.",
      "properties": {
        "collapsed": {
          "type": "boolean"
        },
        "seed_used": {
          "type": "integer"
        },
        "temperature_used": {
          "type": "number"
        },
        "retries_used": {
          "type": "integer"
        },
        "chunk_count": {
          "type": "integer"
        }
      }
    }
  }
}