Templated icon

Templated

Automate the generation of images, videos, and PDFs with Templated (https://templated.io)

Create a Render

AI-generated

Overview

This node operation creates a render from a specified template using the Templated service. It supports generating images, videos, and PDFs in various formats such as JPG, MP4, PDF, PNG, and WEBP. Users can customize the render by selecting the template, setting the output format, adjusting video duration and FPS for MP4, enabling PDF-specific options like flattening and CMYK color mode, and configuring PNG transparency. Layer modifications can be applied either through a simple form interface or by providing JSON data, allowing text, image, video, color, and other style adjustments. Additional options include setting render name, background color, custom dimensions, scale, asynchronous rendering with webhook callbacks, and multi-page content with different layer modifications per page. This operation is useful for automating the creation of customized visual content for marketing, presentations, reports, or any scenario requiring dynamic media generation.

Use Case Examples

  1. Generate a JPG image from a marketing template with customized text and colors.
  2. Create a 10-second MP4 video render from a video template with specific frame rate and layers.
  3. Produce a print-ready PDF with flattened layers and CMYK color mode from a document template.

Properties

Name Meaning
Template The template to use for rendering, selectable from a list or by ID.
Format The output format of the render, such as JPG, MP4, PDF, PNG, or WEBP.
Duration (Ms) Duration of the video in milliseconds, applicable only for MP4 format.
FPS Frames per second for the video, applicable only for MP4 format.
Flatten PDF Whether to flatten the PDF layers, recommended for print-ready documents, applicable only for PDF format.
CMYK Color Mode Whether to use CMYK color mode for print-ready PDFs, applicable only for PDF format.
Transparent Background Whether to make the background transparent, applicable only for PNG format.
Layers Input Mode Choose how to specify layer modifications: simple form fields or advanced JSON input.
Layers Layer modifications specified via form fields, including text, image URL, video URL, colors, visibility, and additional styling properties.
Layers (JSON) Layer modifications specified as a JSON object with layer names as keys and property objects as values.
Additional Options Additional render options such as render name, background color, custom width and height, scale factor, asynchronous rendering, webhook URL, and PDF page merging.
Multi-Page Content Different layer modifications per page, allowing multi-page renders with unique content per page.
Request Options Settings for batching requests, SSL certificate validation, proxy usage, and request timeout.

Output

JSON

  • renderId - The unique identifier of the created render.
  • status - The status of the render creation process.
  • url - The URL to access the created render.
  • webhookUrl - The webhook URL to which the render object is posted when completed (if async).

Dependencies

  • Templated API key credential

Troubleshooting

  • Ensure the template ID or selection is valid and accessible.
  • Verify that the format and related options (e.g., duration and FPS for MP4) are correctly set.
  • Check network connectivity and API credentials for authentication errors.
  • If using asynchronous rendering, ensure the webhook URL is correctly configured and reachable.

Links

Discussion