A template is a Konva-based scene graph: a stack of layers (text, image, shape) on a fixed canvas. Layers marked as dynamic become placeholders that you fill at render time viaDocumentation Index
Fetch the complete documentation index at: https://acme-3f0e8fe2.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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.