modifications.
Anatomy
| Field | Description |
|---|---|
id | Stable identifier (tpl_<uuid>) |
name | Human-readable name |
width, height | Canvas dimensions in pixels |
current_version | Latest published version number |
is_published | Whether the template can be used by renders |
layers | Ordered list of layers (z-index = array order) |
Layer types
- Text — string content, font, weight, color, alignment, fit-to-box
- Image — bitmap layer with crop, fit, and tint
- Shape — rectangle, ellipse, line with stroke and fill
Dynamic layers
Mark any layer as dynamic to expose it as amodifications target. Reference by name:
Versioning
Every publish creates a new immutable version. Renders pin tocurrent_version at request time, so old renders remain reproducible.
See the API reference for templates.