Text Content

txt

Sets the text string to render as an overlay on the video.

txt accepts a URL-encoded string. The text is rendered using the font, size, color, and position specified by accompanying txt-* parameters.

Use txt[N] indexing (e.g. txt[1], txt[2]) to add multiple independent text layers — the bare txt parameter is layer 0. Up to 10 layers total.

https://assets.imgix.net/video.mp4?fm=mp4&txt=Hello%20World&txt-size=48&txt-color=FFFFFF

For the full list of text styling parameters, see the Text Overlays overview.

This parameter works identically to txt in the Rendering API. On video, it additionally supports video-txt-start, video-txt-end, and video-txt-transition for time-based animation.