Open History to see the last commit
Defined in: packages/ai/src/types.ts:2850
Timings for the generated audio, returned when timestamps: true was
requested and the adapter declares capabilities.timestamps.
Granularity differs per provider — ElevenLabs reports characters, BytePlus
reports words — so unit says which, and the three arrays are parallel.
All times are seconds; adapters convert.
Properties#
endSeconds#
endSeconds: number[];
Defined in: packages/ai/src/types.ts:2858
End of each entry in seconds. Same length as texts.
startSeconds#
startSeconds: number[];
Defined in: packages/ai/src/types.ts:2856
Start of each entry in seconds. Same length as texts.
texts#
texts: string[];
Defined in: packages/ai/src/types.ts:2854
Entry text, in audio order.
unit#
unit: "character" | "word";
Defined in: packages/ai/src/types.ts:2852
Granularity of each entry.