HeyGen icon

HeyGen

HeyGen community node — videos, voices, avatars, video agent, lipsync, assets

Video → Create Template Video

AI-generated

Summary

Generate a HeyGen video from a template by supplying text or voice variables, then return the API response for the created video.

Inputs

  • Authentication — Choose OAuth2 (default) or API Key credentials.
  • Template Name or ID — Select a template from the loaded list or enter its ID using an expression. A template ID is required; the manual Template ID field takes precedence when set.
  • Template Variables — Add variables with a key and type. Text variables send Text Content; voice variables send a Voice ID. Entries without a key or type are skipped.
  • Caption — Whether to add captions; defaults to false. The UI notes caption support is for text input.
  • Video Dimensions — Set output width and height in pixels; defaults to 1280 × 720.
  • Additional Fields — Optional title, callback ID, callback URL, and folder ID. The Test option defaults to false; when enabled, the UI says the run does not consume credits but includes a HeyGen watermark.
  • Enable Sharing — Whether to make the video publicly shareable immediately after creation; defaults to false.

Output shape

A single item per input item, containing the HeyGen API response for that generated video.

Sends a POST request to the HeyGen template generation endpoint. The operation passes template variables as an object keyed by each variable key. If no template ID is selected or entered, it errors; with Continue On Fail enabled, the item instead contains an error field.

Links

Discussion