Templates

Generate Video from Template

This API now supports New AI Studio!

post/v2/template/{template_id}/generate

Request

  • Base URL
    https://api.heygen.com
  • URL
    https://api.heygen.com/v2/template/{template_id}/generate
  • Auth
    API key in header X-API-KEY

Path parameters

template_idstring required

Request body

captionboolean
callback_idstring
titlestring
variablesobject

variables

include_gifboolean

include a GIF preview download URL in the webhook response

enable_sharingboolean

make the sharing page of this video public upon creation

folder_idstring

enable users to specify video folder destination

brand_voice_idstring

Brand Voice ID

Response

200

object required

Changes

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