Create Template from Video
Creates a private template whose scenes, avatars, script and media are copied from one of your videos. The video must carry a draft in the current editor format, which every video generated with POST /v3/videos or saved in the HeyGen editor has; URL-to-Video and older editor videos are refused with template_source_unsupported. The video’s render status is not checked. The new template starts with no variables; declare them with PUT /v3/templates//variables or in the HeyGen editor, then generate videos from it with POST /v3/templates/. Returns the template detail.
Authorizations
HeyGen API key. Obtain from your HeyGen dashboard.
Headers
Optional client-supplied key for safely retrying mutations. Subsequent calls within 24 hours that share this key replay the original response — even if the request body differs slightly (a warning is logged). A retry that arrives while the original is still in flight gets a 409 request_in_progress. Keys must be 1–255 characters from [A-Za-z0-9_:.-]; a UUID is a safe default. Scope is per-endpoint and per-resource: the same key on a different route or path parameter is independent.
1 - 255^[A-Za-z0-9_\-:.]{1,255}$Body
Request body for POST /v3/templates.
ID of a video in your workspace to turn into a template. The video must have been generated with POST /v3/videos or saved in the HeyGen editor; its draft becomes the template's starting point.
1"7c1f0b2e3d4a4f5e8a9b0c1d2e3f4a5b"
Template name. Defaults to the source video's title.
1 - 255"Q4 outreach"
Response
Created.
Template detail including its variable schema, scenes, and bindable elements.

