Compound Captions
See JSON Examples Overview for shared project fields and general parameter rules.
Compound Caption
Creates a compound caption containing multiple text items.
Complete JSON
Key Parameters
| Field path | Purpose | Type and constraints | Example value |
|---|---|---|---|
timelines[].captionTracks[].compoundCaptions[].captionItems[].color | Color | string; #AARRGGBB | #ffffffff |
timelines[].captionTracks[].compoundCaptions[].captionItems[].font | Font family | string; should match a font asset mapping | Non-empty |
timelines[].captionTracks[].compoundCaptions[].captionItems[].index | Object index | integer; unique or ordered within the containing collection | 0 to 1 |
timelines[].captionTracks[].compoundCaptions[].captionItems[].text | Caption text | string; line breaks are supported | 2 non-empty values |
timelines[].captionTracks[].compoundCaptions[].duration | Timeline position or duration | integer, microseconds; normally >= 0 | 48680000 |
timelines[].captionTracks[].compoundCaptions[].inPoint | Timeline position or duration | integer, microseconds; normally >= 0 | 520000 |
timelines[].captionTracks[].compoundCaptions[].styleId | Package, style, or animation ID | string; required when the referenced resource is used | Non-empty |
Per-item Caption Styling
Configures text, font, and color separately for compound-caption items.
Complete JSON
Key Parameters
| Field path | Purpose | Type and constraints | Example value |
|---|---|---|---|
timelines[].captionTracks[].compoundCaptions[].captionItems[].color | Color | string; #AARRGGBB | #ffd0021b |
timelines[].captionTracks[].compoundCaptions[].captionItems[].font | Font family | string; should match a font asset mapping | 2 non-empty values |
timelines[].captionTracks[].compoundCaptions[].captionItems[].index | Object index | integer; unique or ordered within the containing collection | 0 to 1 |
timelines[].captionTracks[].compoundCaptions[].captionItems[].text | Caption text | string; line breaks are supported | 2 non-empty values |
Compound Caption Rotation
Rotates a compound caption while retaining per-item styling.
Complete JSON
Key Parameters
| Field path | Purpose | Type and constraints | Example value |
|---|---|---|---|
timelines[].captionTracks[].compoundCaptions[].rotation | Rotation angle | number; direction follows the engine coordinate system | -90 |
timelines[].captionTracks[].compoundCaptions[].translationX | Position or anchor point | finite number | -0.39221668243408203 |
timelines[].captionTracks[].compoundCaptions[].translationY | Position or anchor point | finite number | 0 |
Compound Caption with Multiple Items
Creates a compound caption containing three independently styled text items.
Complete JSON
Key Parameters
| Field path | Purpose | Type and constraints | Example value |
|---|---|---|---|
timelines[].captionTracks[].compoundCaptions[].captionItems[].color | Color | string; #AARRGGBB | #ff535353, #fff0911d |
timelines[].captionTracks[].compoundCaptions[].captionItems[].font | Font family | string; should match a font asset mapping | Non-empty |
timelines[].captionTracks[].compoundCaptions[].captionItems[].index | Object index | integer; unique or ordered within the containing collection | 0 to 2 |
timelines[].captionTracks[].compoundCaptions[].captionItems[].text | Caption text | string; line breaks are supported | 3 non-empty values |
timelines[].captionTracks[].compoundCaptions[].styleId | Package, style, or animation ID | string; required when the referenced resource is used | Non-empty |