Skip to content

General Captions

See JSON Examples Overview for shared project fields and general parameter rules.

General Caption

Creates a general caption with text, font, size, color, alignment, and timing.

Complete JSON

Key Parameters

Field pathPurposeType and constraintsExample value
timelines[].captionTracks[].captions[].alignText alignmentstring; for example left-vCenter, center-vCenter, or right-vCentercenter-vCenter
timelines[].captionTracks[].captions[].colorColorstring; #AARRGGBB#ffffffff
timelines[].captionTracks[].captions[].durationTimeline position or durationinteger, microseconds; normally >= 048680000
timelines[].captionTracks[].captions[].fontFont familystring; should match a font asset mappingNon-empty
timelines[].captionTracks[].captions[].fontSizeRatioFont-size ratiopositive finite number0.1
timelines[].captionTracks[].captions[].inPointTimeline position or durationinteger, microseconds; normally >= 0520000
timelines[].captionTracks[].captions[].textCaption textstring; line breaks are supportedNon-empty
timelines[].captionTracks[].captions[].typeObject or parameter typestring; allowed values depend on the containing objectgeneral

Caption Outline

Enables a caption outline and configures its color and width.

Complete JSON

Key Parameters

Field pathPurposeType and constraintsExample value
timelines[].captionTracks[].captions[].outlineFeature switchboolean; true or falsetrue
timelines[].captionTracks[].captions[].outlineColorColorstring; #AARRGGBB#ffdf1010
timelines[].captionTracks[].captions[].outlineWidthStyle parameterfinite number; limits depend on the caption renderer80

Caption Shadow

Enables a caption shadow and configures its color, feathering, and offsets.

Complete JSON

Key Parameters

Field pathPurposeType and constraintsExample value
timelines[].captionTracks[].captions[].shadowFeature switchboolean; true or falsetrue
timelines[].captionTracks[].captions[].shadowColorColorstring; #AARRGGBB#c1ca1a1a
timelines[].captionTracks[].captions[].shadowFeatherStyle parameterfinite number; limits depend on the caption renderer40
timelines[].captionTracks[].captions[].shadowOffsetXStyle parameterfinite number; limits depend on the caption renderer3
timelines[].captionTracks[].captions[].shadowOffsetYStyle parameterfinite number; limits depend on the caption renderer-1

Adaptive Caption Animation

Scales the caption animation duration to match the caption duration.

Complete JSON

Key Parameters

Field pathPurposeType and constraintsExample value
timelines[].captionTracks[].captions[].enableSpeedFeature switchboolean; true or falsetrue
timelines[].captionTracks[].captions[].fxParams[].keyEffect parameter namestring; defined by the SDK or packageStretch Time
timelines[].captionTracks[].captions[].fxParams[].typeObject or parameter typestring; allowed values depend on the containing objectbool
timelines[].captionTracks[].captions[].fxParams[].valueParameter valuestring; logical numbers and booleans remain stringstrue
timelines[].captionTracks[].captions[].typeObject or parameter typestring; allowed values depend on the containing objectgeneral

Caption Position

Moves a caption within the output frame using translation values.

Complete JSON

Key Parameters

Field pathPurposeType and constraintsExample value
timelines[].captionTracks[].captions[].anchorPointXPosition or anchor pointfinite number0
timelines[].captionTracks[].captions[].anchorPointYPosition or anchor pointfinite number0
timelines[].captionTracks[].captions[].translationXPosition or anchor pointfinite number-195.92034912109375
timelines[].captionTracks[].captions[].translationYPosition or anchor pointfinite number202.73561096191406

Multiline Caption and Line Spacing

Creates a multiline caption and adjusts its line spacing.

Complete JSON

Key Parameters

Field pathPurposeType and constraintsExample value
timelines[].captionTracks[].captions[].alignText alignmentstring; for example left-vCenter, center-vCenter, or right-vCenterleft-vCenter
timelines[].captionTracks[].captions[].lineSpacingStyle parameterfinite number; limits depend on the caption renderer-10
timelines[].captionTracks[].captions[].textCaption textstring; line breaks are supportedNon-empty

Vertical Caption

Sets the caption text direction to vertical.

Complete JSON

Key Parameters

Field pathPurposeType and constraintsExample value
timelines[].captionTracks[].captions[].alignText alignmentstring; for example left-vCenter, center-vCenter, or right-vCenterleft-vCenter
timelines[].captionTracks[].captions[].directionText directionstring; horizontal or verticalvertical
timelines[].captionTracks[].captions[].textCaption textstring; line breaks are supportedNon-empty

Caption Rotation

Rotates a caption around its anchor point.

Complete JSON

Key Parameters

Field pathPurposeType and constraintsExample value
timelines[].captionTracks[].captions[].rotationRotation anglenumber; direction follows the engine coordinate system-90
timelines[].captionTracks[].captions[].translationXPosition or anchor pointfinite number0
timelines[].captionTracks[].captions[].translationYPosition or anchor pointfinite number0.026611328125