Rendex icon

Rendex

Capture screenshots, generate PDFs, render HTML, and extract content via Rendex

Actions16

Artifact → Create

AI-generated

Summary

Create a branded artifact by rendering provided Markdown or HTML content into styled PDF and/or PNG formats with optional branding and hosting.

Inputs

  • Content (required) — The Markdown or HTML body content to be rendered into the artifact, up to approximately 4 MB.
  • Input Format (required) — Specifies whether the input Content is Markdown (converted to styled HTML) or raw HTML.
  • Output Formats (required) — Select one or both output formats to produce: PDF and/or PNG. Each format requested consumes one credit.
  • Additional Options — Optional branding and configuration settings including Accent Color, Font, Footer text, Header text, Link expiry duration for hosted URLs, Logo URL, and Template Data for Mustache placeholders within the Content.

Output shape

a single JSON object representing the created artifact, including URLs for the generated outputs and other metadata

The output includes the hosted artifact data such as URLs for the generated PDF and/or PNG files, respecting any branding and expiry options set. Each artifact creation charges credits per output format requested.

Examples

Example 1: Create a PDF and PNG artifact from Markdown content with custom branding and a 24-hour link expiry.

Content containing Markdown, Input Format set to 'markdown', Output Formats set to ['pdf','png'], with Branding options including a logo URL, accent color, and custom header/footer, plus Link Expiry set to 86400 seconds (24 hours).

Links

Discussion