Voice element
Synthesizes a voiceover from text (Amazon Polly). Pair it with `duration: "voice"` on the scene so the scene lasts exactly as long as the speech, and with a `subtitles` element for word-timed captions. See the [voice catalog](/docs/reference/voices) for available `voiceId` values.
Synthesizes a voiceover from text (Amazon Polly). Pair it with duration: "voice" on the scene so the scene lasts exactly as long as the speech, and with a subtitles element for word-timed captions. See the voice catalog for available voiceId values.
Properties
| Property | Type | Default | Description |
|---|---|---|---|
id * | string (non-empty) | — | Stable identifier, unique across the whole movie. Used by editor selection sync and error paths. |
start | number (≥ 0) | 0 | When the element appears, in seconds relative to its scene (or to the movie for movie-level elements). |
duration | number (> 0) | — | How long the element is active, in seconds. Defaults to the remainder of its scene. |
type * | "voice" | — | A text-to-speech voiceover. |
text * | string (non-empty) | — | Text to speak. May contain {{variable}} placeholders. |
voiceId * | string (non-empty) | — | Neural voice id, e.g. Polly "Joanna". Validated against the live voice list at prepare time. |
language * | string (matches ^[A-Za-z]\{2,3}(-[A-Za-z0-9]\{2,8})*$) | — | BCP-47 language tag of the spoken text, e.g. "en-US". |
speed | number (0.5–2) | 1 | Speech rate multiplier from 0.5 (half speed) to 2 (double speed). |
volume | number (0–1) | 1 | Playback volume from 0 (silent) to 1 (full). |
Example
Voice: a Polly voiceover driving the scene duration: