Speech marks

Know exactly when each word is spoken for captions and highlighting.

  • Word-level timestamps with synthesis
  • Powers synced captions (WebVTT, SRT)
  • Enables read-along word highlighting
  • Returned alongside audio

Definition

Speech marks are word-level timestamps returned with the synthesized audio. They tell you the exact moment each word is spoken. That timing is what powers synced captions and read-along word highlighting, features that would otherwise require a separate transcription and alignment pass.

Synced captions

Accessibility rules often require captions. With speech marks, you map each word’s timestamp into a caption format such as WebVTT or SRT and get accurate synced captions straight from the synthesis, no manual transcription and no drift.

Word highlighting

A read-along experience highlights each word as it is spoken. Speech marks provide the per-word timing that drives that highlight, which helps readers with dyslexia and low vision follow the text.

How to use

Request speech marks with the synthesis call and they return alongside the audio. See the speech marks guide for the response shape and mapping examples.

FAQ

Frequently asked questions

What are speech marks in text-to-speech?
Speech marks are word-level timestamps returned alongside the synthesized audio. They tell you exactly when each word is spoken, which you use to build synced captions or to highlight words in a read-along interface as they are read.
How do I make synced captions?
Request speech marks with the synthesis, then map the word timestamps to a caption format such as WebVTT or SRT. This produces accurate synced captions without a separate transcription step.
Can I highlight words as they are read?
Yes. Speech marks give the timing for each word, so a read-along interface can highlight the current word in sync with the audio, an accessibility affordance for dyslexia and low vision.

Start building

Know exactly when each word is spoken for captions and highlighting.

Privacy preferences

Choose what we may store on this device. You can change this at any time from the footer.

Strictly necessary

Sign-in, security, load balancing, and remembering your privacy choices. These cannot be switched off.

Always on

Analytics

How the site is used in aggregate - which pages get read, where people get stuck - so we can improve it.

Marketing

Measures which campaigns bring people here, and lets us show relevant ads on other platforms.