post
https://api.jasper.ai/beta/image-template/render
Render an HTML template to an image. Upload an HTML file and specify layer updates using dot notation. Layers are targeted by HTML element ID attribute. Supports text content updates (layers.{id}.content), CSS style updates (layers.{id}.{css-property}), and image updates (src, background-image). CSS property names must use kebab-case (e.g. background-color, font-size). Example: layers.header_text.content="Hello" or layers.logo.src=(file upload).
400Bad request. May be missing required file, invalid HTML, file too large, or invalid layer updates (e.g., element ID not found).
500Internal server error. Unable to render image from HTML.
