Complete Guide to Layer Types
Complete Guide to Layer Types
Templated supports various layer types, each with specific properties you can modify via API.
Text Layers
Display dynamic text content.
Key Properties:
text— The text contentcolor— Text color (hex, e.g., "#FF0000")font_family— Font namefont_size— Size (e.g., "24px")font_weight— Weight (normal, bold, 100-900)horizontal_align— left, center, rightvertical_align— top, center, bottomautofit— Auto-scale text ("width" or "height")
Image Layers
Display images from URLs.
Key Properties:
image_url— URL of the imageobject_fit— How image fits: cover, contain, fillfilter— CSS filters (blur, brightness, etc.)
Shape Layers
Rectangles, circles, lines.
Key Properties:
fill— Fill color (hex or gradient)stroke— Border colorborder_width— Border thicknessborder_radius— Corner roundingborder_style— solid, dashed, dotted
QR Code Layers
Generate QR codes dynamically.
Key Properties:
text— The URL or text to encodecolor— QR code colorbackground— Background color
Barcode Layers
Generate various barcode formats.
Key Properties:
text— The value to encodebarcode_format— CODE128, CODE39, EAN13, EAN8, ITF14, UPC
Rating/Stars Layers
Display star ratings.
Key Properties:
rating— Value (e.g., 4.5)- Shapes: star, heart, diamond, circle, square
Video Layers
For MP4 exports.
Key Properties:
video_url— URL of the video file
Common Properties (All Layers)
x,y— Positionwidth,height— Dimensionsrotation— Degreesopacity— 0 (transparent) to 1 (visible)hide— true/false to show/hide
For complete API reference: https://templated.io/docs/renders/create/
Updated on: 11/01/2026
Thank you!