STTWord
A timestamped word, returned when the provider includes word-level timestamps
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
import { STTWord } from "@openrouter/sdk/models";
let value: STTWord = {
end: 0.4,
start: 0,
word: "Hello",
};
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
end | number | :heavy_check_mark: | Word end time in seconds | 0.4 |
speaker | number | :heavy_minus_sign: | Speaker index for the word, present when the provider returns diarization data | 0 |
start | number | :heavy_check_mark: | Word start time in seconds | 0 |
word | string | :heavy_check_mark: | The transcribed word | Hello |