Skip to content

Captions

This content is for v0.4. Switch to the latest version for up-to-date documentation.

Generated from project.v1.schema.json at the documented engine version. The schema checks shape only; the engine’s validation also checks ranges, limits, references and keyframe order.

CaptionCue

Text shown over one timeline interval.

FieldTypeDescription
textrequiredstring

The text; \n starts a line. Non-empty, at most MAX_TEXT_CONTENT_BYTES bytes.

timeline_rangerequiredTimeRange

When the cue shows. Non-empty and not before zero.

Captions

What a caption track shows: its cues, in one style.

FieldTypeDescription
cuesrequiredCaptionCue[]

Cues in timeline order, none overlapping another: a track shows one cue at a time. Simultaneous captions take one track each.

styleTextStyle

How every cue of the track looks.

Default: {"align":"center","anchor":{"x":0.5,"y":1},"background":n…