What is Dynamic Text?

Dynamic text is text whose value is supplied at processing or delivery time and rendered into the generated media, rather than being baked into the source design template’s pixels in advance. Values can include names, timestamps, prices, captions, or localized wording.

How Dynamic Text works

A rendering pipeline substitutes data into positioned text layers before rasterization or vector export. Layout is governed by font metrics, shaping, line breaking, direction, and the bounds defined by the design template. This differs from an ordinary caption track because the words become part of the generated asset rather than a separately selectable stream. It belongs after data validation and localization, but before final sizing and delivery derivatives are produced.

Key facts

  1. Predictable layout requires the fonts and text-shaping behavior used by the design. Some rendering services support only a fixed list of named fonts rather than uploaded font files. A substituted font can change glyph widths, line breaks, kerning, and vertical metrics without changing the nominal font size.
  2. Untrusted values require both context-aware escaping and layout limits. Markup injection, control characters, excessive length, and bidirectional text can each disrupt a design template in different ways.
  3. Rasterizing text at the final output size generally preserves sharper edges than enlarging an earlier render, while vector-preserving outputs can defer resolution-dependent sampling.

When Dynamic Text matters

Use dynamic text to generate personalized or localized graphics from a reusable design template. Font availability, text expansion, direction, and escaping must be handled or the output may overflow, misrender, or expose unsafe input.

Turn media knowledge into a working pipeline

Connect uploads, processing, AI, storage, and delivery through one declarative API — with the encoding stack, scaling, and format churn handled for you.

Try Transloadit for free