Templates

See what a template design looks like before saving it

Renders a PNG of the given layoutHtml/layoutCss/sampleData and saves nothing — try a design before creating it with POST /v1/templates. Same validation as creating a template. Optional aspectRatio (16:9, 9:16, 1:1) sizes the render; defaults to 16:9. Raw image/png bytes, not an envelope. Rate limited per workspace.

post/v1/templates/preview

Request

  • Base URL: https://infoslides.app
  • URL: https://infoslides.app/v1/templates/preview
  • Auth: none declared

Request body

layoutHtmlstring nullable
layoutCssstring nullable
sampleDataunknown
aspectRatiostring nullable

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.