Skip to main content
Open In Colab TextAsset creates static text for titles, labels, lower-thirds, and other overlays. It defines the text and its styling; a Clip controls how long it appears, while Track and Timeline place it in the composition. For speech-synchronized subtitles, use Caption Asset instead.

Create a text overlay

Start with the smallest useful composition: centered white text on a black canvas.

TextAsset Parameters


Font

Controls text appearance.
Supported fonts: Sans, Inter, Roboto, Open Sans, Lato, Montserrat, Oswald, Raleway, Poppins, Ubuntu, Clear Sans, Arial, Times New Roman, Courier New, Georgia, Verdana Node.js also accepts weight in new Font({ ... }). Python’s Font constructor does not take that option.

Background

Controls the background box behind text.

Border and Shadow

Use Border(color, width) and Shadow(color, x, y) in Python, or new Border({ color, width }) and new Shadow({ color, x, y }) in Node.js. Both are optional TextAsset fields. width, x, and y default to 0; the default color is "#000000".

Multiline Text

Use line_spacing in Python and lineSpacing in Node.js to control the space between lines.

Alignment

Controls where the text appears on screen.

Branded Lower-Third


Next Steps

Text Asset Titles and Overlays Notebook

Build titles, lower-thirds, multiline overlays, and text styling examples.

CaptionAsset

Auto-generated subtitles synced to speech

Timeline Architecture

Complete guide to the 4-layer editing system