Create a new version for an existing template
Path parameters
Request body
HTML to render for the template. Use Handlebars placeholders for values that will be substituted when an image is rendered. Must be non-empty, contain at least one Handlebars placeholder, and compile as valid Handlebars.
The name of the template, used to identify it in your account. Maximum: 64 characters.
An optional description of the template for your reference. Maximum: 1024 characters.
CSS used to style images rendered from the template. Handlebars expressions are not supported in CSS; put dynamic CSS in the HTML instead.
Adjusts the pixel ratio used for the screenshot. Minimum: 0.1. Maximum: 3. HTML and template renders default to 2; URL renders default to 1.
Google fonts to load. Separate multiple fonts with a pipe, such as 'Roboto|OpenSans', and set font-family in the CSS to use them.
Sets a limit on how long to wait before taking the screenshot when the page continues loading irrelevant content. Minimum: 500. Maximum: 10000 and subject to the account plan limit.
Adds extra time in milliseconds before taking the screenshot so JavaScript can execute. Minimum: 0. Maximum: 10000.
Waits until the page signals that the screenshot is ready. The image fails if the readiness signal is never sent.
Sets the height of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
Sets the width of Chrome's viewport and disables automatic cropping. Minimum: 1. Maximum: 6000. Both viewport dimensions must be supplied together.
Disables the Twemoji fallback and renders emoji using native fonts instead.
Sets the IANA timezone used by Chrome while rendering. Must be a recognized IANA timezone identifier.
Specifies whether the page uses mobile viewport behavior, including its viewport meta tag.
Specifies whether the emulated viewport is in landscape orientation.
Specifies whether the emulated viewport supports touch events.
Specifies which configured organization proxy to use when rendering.
Specifies which configured organization storage destination receives the rendered image.
Maximum height of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_width. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
Maximum width of the rendered image in jumbo mode. Jumbo rendering consumes additional renders and requires jumbo_max_height. Supply both jumbo dimensions. Each must be greater than 0 and no more than 80000; at least one must exceed 8000; total area cannot exceed 400000000 pixels.
Specifies whether the image is rendered with a transparent background.
Response
OK