template string
REQUIRED
The template id that you want to use.
webhook_url string
A url to POST the full Render object to upon rendering completed.
format boolean
Render format (jpg
, png
, webp
or pdf
). Default is jpg
.
transparent boolean
Make the background transparent when the render format is png
. Default is false
.
layers object
REQUIRED
An object of layers that will be updated in the template.
The object key is the layer name and the value is an object with the following properties to override the template layers:
text string
Replacement text you want to use.
image_url string
Replacement image src for an image layer.
color string
Color in hex format e.g. “#FF0000”.
background string
Background color in hex format e.g. “#FF0000”.
font_family string
Change the font.
border_width integer
Width of the object border.
border_color string
Border color in hex format e.g. “#FF0000”.
fill string
Shape fill color in hex format e.g. “#FF0000”.
stroke string
Shape stroke (border) color in hex format e.g. “#FF0000”.
hide boolean
Set to true to hide the layer.